2017-03-04 02:02:02 +08:00
// RUN: %clang_analyze_cc1 %s -analyzer-checker=core.NullDereference,core.DivideZero -fblocks -analyzer-output=text -analyzer-config suppress-null-return-paths=false -verify %s
// RUN: %clang_analyze_cc1 %s -analyzer-checker=core.NullDereference,core.DivideZero -fblocks -analyzer-output=plist -analyzer-config suppress-null-return-paths=false -analyzer-config path-diagnostics-alternate=false -o %t
2012-03-03 05:16:22 +08:00
// RUN: FileCheck -input-file %t %s
// <rdar://problem/10967815>
void mmm ( int y ) {
if ( y ! = 0 )
2012-09-22 09:24:46 +08:00
y + + ;
2012-03-03 05:16:22 +08:00
}
int foo ( int x , int y ) {
2012-09-22 09:24:46 +08:00
mmm ( y ) ;
if ( x ! = 0 ) {
// expected-note@-1 {{Assuming 'x' is equal to 0}}
// expected-note@-2 {{Taking false branch}}
x + + ;
}
return 5 / x ; // expected-warning{{Division by zero}} expected-note{{Division by zero}}
2012-03-03 05:16:22 +08:00
}
2012-03-13 06:10:57 +08:00
// Test a bug triggering only when inlined.
void has_bug ( int * p ) {
2012-09-22 09:24:46 +08:00
* p = 0xDEADBEEF ; // expected-warning{{Dereference of null pointer (loaded from variable 'p')}} expected-note{{Dereference of null pointer (loaded from variable 'p')}}
2012-03-13 06:10:57 +08:00
}
void test_has_bug ( ) {
has_bug ( 0 ) ;
2012-09-22 09:24:46 +08:00
// expected-note@-1 {{Passing null pointer value via 1st parameter 'p'}}
// expected-note@-2 {{Calling 'has_bug'}}
2012-03-13 06:10:57 +08:00
}
2012-05-02 08:31:29 +08:00
void triggers_bug ( int * p ) {
2012-09-22 09:24:46 +08:00
* p = 0xDEADBEEF ; // expected-warning{{Dereference of null pointer (loaded from variable 'p')}} expected-note{{Dereference of null pointer (loaded from variable 'p')}}
2012-05-02 08:31:29 +08:00
}
// This function triggers a bug by calling triggers_bug(). The diagnostics
// should show when p is assumed to be null.
void bar ( int * p ) {
2012-09-22 09:24:46 +08:00
if ( ! ! p ) {
// expected-note@-1 {{Assuming 'p' is null}}
2012-10-26 06:07:10 +08:00
// expected-note@-2 {{Taking false branch}}
2012-05-02 08:31:29 +08:00
return ;
2012-09-22 09:24:46 +08:00
}
2017-03-04 02:02:02 +08:00
2012-09-22 09:24:46 +08:00
if ( p = = 0 ) {
// expected-note@-1 {{Taking true branch}}
2012-05-02 08:31:29 +08:00
triggers_bug ( p ) ;
2012-09-22 09:24:46 +08:00
// expected-note@-1 {{Passing null pointer value via 1st parameter 'p'}}
// expected-note@-2 {{Calling 'triggers_bug'}}
}
2012-05-02 08:31:29 +08:00
}
2012-04-07 06:10:18 +08:00
2012-06-02 04:04:04 +08:00
// ========================================================================== //
// Test inlining of blocks.
// ========================================================================== //
void test_block__capture_null ( ) {
2013-02-27 03:44:38 +08:00
int * p = 0 ; // expected-note{{'p' initialized to a null pointer value}}
2012-09-22 09:24:46 +08:00
^ ( ) { // expected-note {{Calling anonymous block}}
* p = 1 ; // expected-warning{{Dereference of null pointer (loaded from variable 'p')}} expected-note{{Dereference of null pointer (loaded from variable 'p')}}
} ( ) ;
2017-03-04 02:02:02 +08:00
2012-06-02 04:04:04 +08:00
}
void test_block_ret ( ) {
2013-03-02 03:45:10 +08:00
int * p = ^ int * ( ) { // expected-note {{Calling anonymous block}} expected-note{{Returning to caller}} expected-note {{'p' initialized to a null pointer value}}
2013-02-27 03:44:38 +08:00
int * q = 0 ; // expected-note {{'q' initialized to a null pointer value}}
2012-09-22 09:24:46 +08:00
return q ; // expected-note {{Returning null pointer (loaded from 'q')}}
} ( ) ;
* p = 1 ; // expected-warning{{Dereference of null pointer (loaded from variable 'p')}} expected-note{{Dereference of null pointer (loaded from variable 'p')}}
2012-06-02 04:04:04 +08:00
}
void test_block_blockvar ( ) {
__block int * p ;
2012-09-22 09:24:46 +08:00
^ ( ) { // expected-note{{Calling anonymous block}} expected-note{{Returning to caller}}
p = 0 ; // expected-note{{Null pointer value stored to 'p'}}
} ( ) ;
* p = 1 ; // expected-warning{{Dereference of null pointer (loaded from variable 'p')}} expected-note{{Dereference of null pointer (loaded from variable 'p')}}
2012-06-02 04:04:04 +08:00
}
void test_block_arg ( ) {
int * p ;
2012-09-22 09:24:46 +08:00
^ ( int * * q ) { // expected-note{{Calling anonymous block}} expected-note{{Returning to caller}}
* q = 0 ; // expected-note{{Null pointer value stored to 'p'}}
} ( & p ) ;
* p = 1 ; // expected-warning{{Dereference of null pointer (loaded from variable 'p')}} expected-note{{Dereference of null pointer (loaded from variable 'p')}}
2012-06-02 04:04:04 +08:00
}
2012-03-03 05:16:22 +08:00
// CHECK: <key>diagnostics</key>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>path</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>12</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>12</integer>
// CHECK-NEXT: <key>col</key><integer>5</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>13</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>13</integer>
// CHECK-NEXT: <key>col</key><integer>4</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>13</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>13</integer>
// CHECK-NEXT: <key>col</key><integer>4</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>13</integer>
// CHECK-NEXT: <key>col</key><integer>7</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>13</integer>
// CHECK-NEXT: <key>col</key><integer>7</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>13</integer>
// CHECK-NEXT: <key>col</key><integer>7</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>13</integer>
// CHECK-NEXT: <key>col</key><integer>7</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>13</integer>
// CHECK-NEXT: <key>col</key><integer>12</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Assuming 'x' is equal to 0</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Assuming 'x' is equal to 0</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>13</integer>
// CHECK-NEXT: <key>col</key><integer>7</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>13</integer>
// CHECK-NEXT: <key>col</key><integer>7</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>18</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>18</integer>
// CHECK-NEXT: <key>col</key><integer>8</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>18</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>18</integer>
// CHECK-NEXT: <key>col</key><integer>8</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>18</integer>
2013-04-24 07:57:43 +08:00
// CHECK-NEXT: <key>col</key><integer>11</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>18</integer>
2013-04-24 07:57:43 +08:00
// CHECK-NEXT: <key>col</key><integer>11</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>18</integer>
2013-04-24 07:57:43 +08:00
// CHECK-NEXT: <key>col</key><integer>11</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>18</integer>
// CHECK-NEXT: <key>col</key><integer>10</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>18</integer>
// CHECK-NEXT: <key>col</key><integer>12</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Division by zero</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Division by zero</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>description</key><string>Division by zero</string>
// CHECK-NEXT: <key>category</key><string>Logic error</string>
// CHECK-NEXT: <key>type</key><string>Division by zero</string>
2015-02-10 06:52:26 +08:00
// CHECK-NEXT: <key>check_name</key><string>core.DivideZero</string>
2015-10-22 19:53:04 +08:00
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>8bca94f2f862468bb877fb70e66a3304</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
// CHECK-NEXT: <key>issue_context</key><string>foo</string>
2015-10-22 19:53:04 +08:00
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>7</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>18</integer>
2013-04-24 07:57:43 +08:00
// CHECK-NEXT: <key>col</key><integer>11</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>path</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>27</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>27</integer>
// CHECK-NEXT: <key>col</key><integer>9</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>27</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>27</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>27</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>27</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>27</integer>
// CHECK-NEXT: <key>col</key><integer>11</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Passing null pointer value via 1st parameter 'p'</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Passing null pointer value via 1st parameter 'p'</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>27</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>27</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>27</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Calling 'has_bug'</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Calling 'has_bug'</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>22</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>1</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>depth</key><integer>1</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Entered call from 'test_has_bug'</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Entered call from 'test_has_bug'</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>22</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>1</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>22</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>4</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>23</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>23</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2013-04-24 07:57:43 +08:00
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>23</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>23</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>23</integer>
// CHECK-NEXT: <key>col</key><integer>6</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>23</integer>
// CHECK-NEXT: <key>col</key><integer>6</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>23</integer>
2013-04-24 07:57:43 +08:00
// CHECK-NEXT: <key>col</key><integer>6</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>23</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>4</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>23</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>4</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>1</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'p')</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'p')</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable 'p')</string>
// CHECK-NEXT: <key>category</key><string>Logic error</string>
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
2015-02-10 06:52:26 +08:00
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
2015-10-22 19:53:04 +08:00
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>62ddaf4e66ff527b230b474b98791ced</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
// CHECK-NEXT: <key>issue_context</key><string>has_bug</string>
2015-10-22 19:53:04 +08:00
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>23</integer>
2013-04-24 07:57:43 +08:00
// CHECK-NEXT: <key>col</key><integer>6</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>path</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>39</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>39</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>4</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>39</integer>
2017-03-04 02:02:02 +08:00
// CHECK-NEXT: <key>col</key><integer>7</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>39</integer>
2017-03-04 02:02:02 +08:00
// CHECK-NEXT: <key>col</key><integer>7</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>39</integer>
2017-03-04 02:02:02 +08:00
// CHECK-NEXT: <key>col</key><integer>7</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>39</integer>
2017-03-04 02:02:02 +08:00
// CHECK-NEXT: <key>col</key><integer>7</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>39</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>9</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Assuming 'p' is null</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Assuming 'p' is null</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>39</integer>
2017-03-04 02:02:02 +08:00
// CHECK-NEXT: <key>col</key><integer>7</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>39</integer>
2017-03-04 02:02:02 +08:00
// CHECK-NEXT: <key>col</key><integer>7</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>45</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>45</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>4</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>45</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>45</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>4</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>47</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>47</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>16</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>47</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>47</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>16</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>47</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>18</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>47</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>18</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>47</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>18</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>47</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>18</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>47</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>18</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Passing null pointer value via 1st parameter 'p'</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Passing null pointer value via 1st parameter 'p'</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>47</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>47</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>47</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>19</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Calling 'triggers_bug'</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Calling 'triggers_bug'</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>32</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>1</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>depth</key><integer>1</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Entered call from 'bar'</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Entered call from 'bar'</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>32</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>1</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>32</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>4</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>33</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>33</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2013-04-24 07:57:43 +08:00
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>33</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>33</integer>
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>33</integer>
// CHECK-NEXT: <key>col</key><integer>6</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>33</integer>
// CHECK-NEXT: <key>col</key><integer>6</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>33</integer>
2013-04-24 07:57:43 +08:00
// CHECK-NEXT: <key>col</key><integer>6</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>33</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>4</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>33</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>4</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>1</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'p')</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'p')</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable 'p')</string>
// CHECK-NEXT: <key>category</key><string>Logic error</string>
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
2015-02-10 06:52:26 +08:00
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
2015-10-22 19:53:04 +08:00
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>1ee3fb0b2fbd9c66e0cc34ca1181ece3</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
// CHECK-NEXT: <key>issue_context</key><string>triggers_bug</string>
2015-10-22 19:53:04 +08:00
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>line</key><integer>33</integer>
2013-04-24 07:57:43 +08:00
// CHECK-NEXT: <key>col</key><integer>6</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>path</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>58</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>58</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>58</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>8</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
2013-02-27 03:44:38 +08:00
// CHECK-NEXT: <string>'p' initialized to a null pointer value</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>message</key>
2013-02-27 03:44:38 +08:00
// CHECK-NEXT: <string>'p' initialized to a null pointer value</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>58</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>58</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>59</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>59</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>59</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>59</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>61</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Calling anonymous block</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Calling anonymous block</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>59</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>depth</key><integer>1</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Entered call from 'test_block__capture_null'</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Entered call from 'test_block__capture_null'</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>59</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>59</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>60</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>60</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2013-04-24 07:57:43 +08:00
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>60</integer>
// CHECK-NEXT: <key>col</key><integer>5</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>60</integer>
// CHECK-NEXT: <key>col</key><integer>5</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>60</integer>
// CHECK-NEXT: <key>col</key><integer>8</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>line</key><integer>60</integer>
// CHECK-NEXT: <key>col</key><integer>8</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>60</integer>
2013-04-24 07:57:43 +08:00
// CHECK-NEXT: <key>col</key><integer>8</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>60</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>6</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>60</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>6</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>1</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'p')</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'p')</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable 'p')</string>
// CHECK-NEXT: <key>category</key><string>Logic error</string>
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
2015-02-10 06:52:26 +08:00
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
2015-10-22 19:53:04 +08:00
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>a2e7504f29818834127c44ba841f4da8</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>60</integer>
2013-04-24 07:57:43 +08:00
// CHECK-NEXT: <key>col</key><integer>8</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>path</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>66</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>66</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>66</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>66</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>66</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>66</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>69</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Calling anonymous block</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Calling anonymous block</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>66</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>depth</key><integer>1</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Entered call from 'test_block_ret'</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Entered call from 'test_block_ret'</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>66</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>66</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>67</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>67</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>7</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>67</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>67</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>67</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>10</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>1</integer>
// CHECK-NEXT: <key>extended_message</key>
2013-02-27 03:44:38 +08:00
// CHECK-NEXT: <string>'q' initialized to a null pointer value</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>message</key>
2013-02-27 03:44:38 +08:00
// CHECK-NEXT: <string>'q' initialized to a null pointer value</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>67</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>67</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>7</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>68</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>68</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>10</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>68</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>68</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>68</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>12</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>1</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Returning null pointer (loaded from 'q')</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Returning null pointer (loaded from 'q')</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>66</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>66</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>69</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
2013-04-12 08:44:17 +08:00
// CHECK-NEXT: <key>depth</key><integer>0</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Returning to caller</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Returning to caller</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>66</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>66</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>12</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>66</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>66</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>66</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>66</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>66</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>8</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
2013-02-27 03:44:38 +08:00
// CHECK-NEXT: <string>'p' initialized to a null pointer value</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>message</key>
2013-02-27 03:44:38 +08:00
// CHECK-NEXT: <string>'p' initialized to a null pointer value</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>66</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>66</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>70</integer>
2013-04-24 07:57:43 +08:00
// CHECK-NEXT: <key>col</key><integer>6</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>70</integer>
2013-04-24 07:57:43 +08:00
// CHECK-NEXT: <key>col</key><integer>6</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>70</integer>
2013-04-24 07:57:43 +08:00
// CHECK-NEXT: <key>col</key><integer>6</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>70</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>4</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>70</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>4</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'p')</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'p')</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable 'p')</string>
// CHECK-NEXT: <key>category</key><string>Logic error</string>
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
2015-02-10 06:52:26 +08:00
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
2015-10-22 19:53:04 +08:00
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>931be9c3a45b61c0a9c99b4772bd6fca</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
// CHECK-NEXT: <key>issue_context</key><string>test_block_ret</string>
2015-10-22 19:53:04 +08:00
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>70</integer>
2013-04-24 07:57:43 +08:00
// CHECK-NEXT: <key>col</key><integer>6</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>path</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>74</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>74</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>9</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>75</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>75</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>75</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>75</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>77</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Calling anonymous block</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Calling anonymous block</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>75</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>depth</key><integer>1</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Entered call from 'test_block_blockvar'</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Entered call from 'test_block_blockvar'</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>75</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>75</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>76</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>76</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>76</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>76</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>76</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>9</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>1</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Null pointer value stored to 'p'</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Null pointer value stored to 'p'</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>75</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>75</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>77</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
2013-04-12 08:44:17 +08:00
// CHECK-NEXT: <key>depth</key><integer>0</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Returning to caller</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Returning to caller</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>75</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>75</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>78</integer>
2013-04-24 07:57:43 +08:00
// CHECK-NEXT: <key>col</key><integer>6</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>78</integer>
2013-04-24 07:57:43 +08:00
// CHECK-NEXT: <key>col</key><integer>6</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>78</integer>
2013-04-24 07:57:43 +08:00
// CHECK-NEXT: <key>col</key><integer>6</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>78</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>4</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>78</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>4</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'p')</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'p')</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable 'p')</string>
// CHECK-NEXT: <key>category</key><string>Logic error</string>
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
2015-02-10 06:52:26 +08:00
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
2015-10-22 19:53:04 +08:00
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>524a8647c40f017409d858ff70900c1a</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
// CHECK-NEXT: <key>issue_context</key><string>test_block_blockvar</string>
2015-10-22 19:53:04 +08:00
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>78</integer>
2013-04-24 07:57:43 +08:00
// CHECK-NEXT: <key>col</key><integer>6</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>path</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>82</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>82</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>83</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>83</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>83</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>83</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>85</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>7</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Calling anonymous block</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Calling anonymous block</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>83</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>depth</key><integer>1</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Entered call from 'test_block_arg'</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Entered call from 'test_block_arg'</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>83</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>83</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>84</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>84</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>84</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>84</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>5</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>84</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>10</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>1</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Null pointer value stored to 'p'</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Null pointer value stored to 'p'</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>83</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>83</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>85</integer>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <key>col</key><integer>7</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
2013-04-12 08:44:17 +08:00
// CHECK-NEXT: <key>depth</key><integer>0</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Returning to caller</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Returning to caller</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>control</string>
// CHECK-NEXT: <key>edges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>start</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>83</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>83</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>3</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>end</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>86</integer>
2013-04-24 07:57:43 +08:00
// CHECK-NEXT: <key>col</key><integer>6</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>86</integer>
2013-04-24 07:57:43 +08:00
// CHECK-NEXT: <key>col</key><integer>6</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
// CHECK-NEXT: <key>kind</key><string>event</string>
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>86</integer>
2013-04-24 07:57:43 +08:00
// CHECK-NEXT: <key>col</key><integer>6</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <key>ranges</key>
// CHECK-NEXT: <array>
// CHECK-NEXT: <array>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>86</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>4</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>86</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>col</key><integer>4</integer>
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'p')</string>
// CHECK-NEXT: <key>message</key>
2012-09-22 09:24:46 +08:00
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'p')</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable 'p')</string>
// CHECK-NEXT: <key>category</key><string>Logic error</string>
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
2015-02-10 06:52:26 +08:00
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
2015-10-22 19:53:04 +08:00
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>0efdf891fbddf2932f9d434968b94164</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
// CHECK-NEXT: <key>issue_context</key><string>test_block_arg</string>
2015-10-22 19:53:04 +08:00
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>location</key>
// CHECK-NEXT: <dict>
2012-10-26 06:07:10 +08:00
// CHECK-NEXT: <key>line</key><integer>86</integer>
2013-04-24 07:57:43 +08:00
// CHECK-NEXT: <key>col</key><integer>6</integer>
2012-09-08 12:26:37 +08:00
// CHECK-NEXT: <key>file</key><integer>0</integer>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>