You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3381 lines
149 KiB
3381 lines
149 KiB
// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-output=text -analyzer-config suppress-null-return-paths=false -verify %s
|
|
// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-output=plist-multi-file -analyzer-config suppress-null-return-paths=false -analyzer-config path-diagnostics-alternate=false %s -o %t.plist
|
|
// RUN: FileCheck --input-file=%t.plist %s
|
|
|
|
void zero(int **p) {
|
|
*p = 0;
|
|
// expected-note@-1 {{Null pointer value stored to 'a'}}
|
|
}
|
|
|
|
void testZero(int *a) {
|
|
zero(&a);
|
|
// expected-note@-1 {{Calling 'zero'}}
|
|
// expected-note@-2 {{Returning from 'zero'}}
|
|
*a = 1; // expected-warning{{Dereference of null pointer}}
|
|
// expected-note@-1 {{Dereference of null pointer (loaded from variable 'a')}}
|
|
}
|
|
|
|
void testCheck(int *a) {
|
|
if (a) {
|
|
// expected-note@-1 + {{Assuming 'a' is null}}
|
|
// expected-note@-2 + {{Taking false branch}}
|
|
;
|
|
}
|
|
*a = 1; // expected-warning{{Dereference of null pointer}}
|
|
// expected-note@-1 {{Dereference of null pointer (loaded from variable 'a')}}
|
|
}
|
|
|
|
|
|
int *getPointer();
|
|
|
|
void testInitCheck() {
|
|
int *a = getPointer();
|
|
// expected-note@-1 {{'a' initialized here}}
|
|
if (a) {
|
|
// expected-note@-1 + {{Assuming 'a' is null}}
|
|
// expected-note@-2 + {{Taking false branch}}
|
|
;
|
|
}
|
|
*a = 1; // expected-warning{{Dereference of null pointer}}
|
|
// expected-note@-1 {{Dereference of null pointer (loaded from variable 'a')}}
|
|
}
|
|
|
|
void testStoreCheck(int *a) {
|
|
a = getPointer();
|
|
// expected-note@-1 {{Value assigned to 'a'}}
|
|
if (a) {
|
|
// expected-note@-1 + {{Assuming 'a' is null}}
|
|
// expected-note@-2 + {{Taking false branch}}
|
|
;
|
|
}
|
|
*a = 1; // expected-warning{{Dereference of null pointer}}
|
|
// expected-note@-1 {{Dereference of null pointer (loaded from variable 'a')}}
|
|
}
|
|
|
|
|
|
int *getZero() {
|
|
int *p = 0;
|
|
// expected-note@-1 + {{'p' initialized to a null pointer value}}
|
|
// ^ This note checks that we add a second visitor for the return value.
|
|
return p;
|
|
// expected-note@-1 + {{Returning null pointer (loaded from 'p')}}
|
|
}
|
|
|
|
void testReturnZero() {
|
|
*getZero() = 1; // expected-warning{{Dereference of null pointer}}
|
|
// expected-note@-1 {{Calling 'getZero'}}
|
|
// expected-note@-2 {{Returning from 'getZero'}}
|
|
// expected-note@-3 {{Dereference of null pointer}}
|
|
}
|
|
|
|
int testReturnZero2() {
|
|
return *getZero(); // expected-warning{{Dereference of null pointer}}
|
|
// expected-note@-1 {{Calling 'getZero'}}
|
|
// expected-note@-2 {{Returning from 'getZero'}}
|
|
// expected-note@-3 {{Dereference of null pointer}}
|
|
}
|
|
|
|
void testInitZero() {
|
|
int *a = getZero();
|
|
// expected-note@-1 {{Calling 'getZero'}}
|
|
// expected-note@-2 {{Returning from 'getZero'}}
|
|
// expected-note@-3 {{'a' initialized to a null pointer value}}
|
|
*a = 1; // expected-warning{{Dereference of null pointer}}
|
|
// expected-note@-1 {{Dereference of null pointer (loaded from variable 'a')}}
|
|
}
|
|
|
|
void testStoreZero(int *a) {
|
|
a = getZero();
|
|
// expected-note@-1 {{Calling 'getZero'}}
|
|
// expected-note@-2 {{Returning from 'getZero'}}
|
|
// expected-note@-3 {{Null pointer value stored to 'a'}}
|
|
*a = 1; // expected-warning{{Dereference of null pointer}}
|
|
// expected-note@-1 {{Dereference of null pointer (loaded from variable 'a')}}
|
|
}
|
|
|
|
void usePointer(int *p) {
|
|
*p = 1; // expected-warning{{Dereference of null pointer}}
|
|
// expected-note@-1 {{Dereference of null pointer}}
|
|
}
|
|
|
|
void testUseOfNullPointer() {
|
|
// Test the case where an argument expression is itself a call.
|
|
usePointer(getZero());
|
|
// expected-note@-1 {{Calling 'getZero'}}
|
|
// expected-note@-2 {{Returning from 'getZero'}}
|
|
// expected-note@-3 {{Passing null pointer value via 1st parameter 'p'}}
|
|
// expected-note@-4 {{Calling 'usePointer'}}
|
|
}
|
|
|
|
struct X { char *p; };
|
|
|
|
void setFieldToNull(struct X *x) {
|
|
x->p = 0; // expected-note {{Null pointer value stored to field 'p'}}
|
|
}
|
|
|
|
int testSetFieldToNull(struct X *x) {
|
|
setFieldToNull(x); // expected-note {{Calling 'setFieldToNull'}}
|
|
// expected-note@-1{{Returning from 'setFieldToNull'}}
|
|
return *x->p;
|
|
// expected-warning@-1 {{Dereference of null pointer (loaded from field 'p')}}
|
|
// expected-note@-2 {{Dereference of null pointer (loaded from field 'p')}}
|
|
}
|
|
|
|
struct Outer {
|
|
struct Inner {
|
|
int *p;
|
|
} inner;
|
|
};
|
|
|
|
void test(struct Outer *wrapperPtr) {
|
|
wrapperPtr->inner.p = 0; // expected-note {{Null pointer value stored to field 'p'}}
|
|
*wrapperPtr->inner.p = 1; //expected-warning {{Dereference of null pointer (loaded from field 'p')}}
|
|
// expected-note@-1 {{Dereference of null pointer (loaded from field 'p')}}
|
|
}
|
|
|
|
void test4(int **p) {
|
|
if (*p) return; // expected-note {{Taking false branch}}
|
|
// expected-note@-1 {{Assuming pointer value is null}}
|
|
**p = 1; // expected-warning {{Dereference of null pointer}}
|
|
// expected-note@-1 {{Dereference of null pointer}}
|
|
}
|
|
|
|
// CHECK: <key>diagnostics</key>
|
|
// CHECK-NEXT: <array>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>11</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>11</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>11</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>10</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 'zero'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Calling 'zero'</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>5</integer>
|
|
// 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 'testZero'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Entered call from 'testZero'</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>5</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>1</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>5</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>6</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>6</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: </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>
|
|
// CHECK-NEXT: <key>line</key><integer>6</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>6</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>6</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: </array>
|
|
// CHECK-NEXT: <key>depth</key><integer>1</integer>
|
|
// CHECK-NEXT: <key>extended_message</key>
|
|
// CHECK-NEXT: <string>Null pointer value stored to 'a'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Null pointer value stored to 'a'</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>11</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>11</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>11</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>10</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>Returning from 'zero'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Returning from 'zero'</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>11</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>11</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: <key>end</key>
|
|
// CHECK-NEXT: <array>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>14</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>14</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>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>14</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>6</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>
|
|
// CHECK-NEXT: <key>line</key><integer>14</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>4</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>14</integer>
|
|
// 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 'a')</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'a')</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: </array>
|
|
// CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable 'a')</string>
|
|
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
|
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
|
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
|
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
|
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>52499a849b132453be19ec9167d8c021</string>
|
|
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
|
// CHECK-NEXT: <key>issue_context</key><string>testZero</string>
|
|
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>14</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: <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>
|
|
// CHECK-NEXT: <key>line</key><integer>19</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>19</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>19</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>19</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</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>
|
|
// CHECK-NEXT: <key>line</key><integer>19</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</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>
|
|
// CHECK-NEXT: <key>line</key><integer>19</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>19</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</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 'a' is null</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Assuming 'a' is null</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>19</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>19</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</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>24</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>24</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: </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>
|
|
// CHECK-NEXT: <key>line</key><integer>24</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>24</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>24</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>24</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>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>24</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>6</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>
|
|
// CHECK-NEXT: <key>line</key><integer>24</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>4</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>24</integer>
|
|
// 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 'a')</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'a')</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: </array>
|
|
// CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable 'a')</string>
|
|
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
|
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
|
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
|
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
|
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>cb893891b6a08ee4b7dc3d0c11df856e</string>
|
|
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
|
// CHECK-NEXT: <key>issue_context</key><string>testCheck</string>
|
|
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>6</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>24</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: <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>
|
|
// CHECK-NEXT: <key>line</key><integer>32</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>32</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>32</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: </array>
|
|
// CHECK-NEXT: <key>depth</key><integer>0</integer>
|
|
// CHECK-NEXT: <key>extended_message</key>
|
|
// CHECK-NEXT: <string>'a' initialized here</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>'a' initialized here</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>32</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>32</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>34</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>34</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>34</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>34</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>34</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>34</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</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>
|
|
// CHECK-NEXT: <key>line</key><integer>34</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</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>
|
|
// CHECK-NEXT: <key>line</key><integer>34</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>34</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</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 'a' is null</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Assuming 'a' is null</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>34</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>34</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</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>39</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>39</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: </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>
|
|
// CHECK-NEXT: <key>line</key><integer>39</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>39</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>39</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>39</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>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>39</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>6</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>
|
|
// CHECK-NEXT: <key>line</key><integer>39</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>4</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>39</integer>
|
|
// 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 'a')</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'a')</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: </array>
|
|
// CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable 'a')</string>
|
|
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
|
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
|
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
|
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
|
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>ec20b5e53a72c82d442b3ca04c81e138</string>
|
|
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
|
// CHECK-NEXT: <key>issue_context</key><string>testInitCheck</string>
|
|
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>8</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>39</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: <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>
|
|
// CHECK-NEXT: <key>line</key><integer>44</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>44</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>44</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>18</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>Value assigned to 'a'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Value assigned to 'a'</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>44</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>44</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>46</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>46</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>46</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>46</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>46</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>46</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</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>
|
|
// CHECK-NEXT: <key>line</key><integer>46</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</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>
|
|
// CHECK-NEXT: <key>line</key><integer>46</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>46</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</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 'a' is null</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Assuming 'a' is null</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>46</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>46</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</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>51</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>51</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: </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>
|
|
// CHECK-NEXT: <key>line</key><integer>51</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>51</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>51</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>51</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>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>51</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>6</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>
|
|
// CHECK-NEXT: <key>line</key><integer>51</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>4</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>51</integer>
|
|
// 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 'a')</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'a')</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: </array>
|
|
// CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable 'a')</string>
|
|
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
|
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
|
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
|
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
|
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>1ae8e7c84d15f307abc1df9f5612078b</string>
|
|
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
|
// CHECK-NEXT: <key>issue_context</key><string>testStoreCheck</string>
|
|
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>8</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>51</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: <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>
|
|
// CHECK-NEXT: <key>line</key><integer>65</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>65</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>65</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>4</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>65</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>10</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>
|
|
// CHECK-NEXT: <key>line</key><integer>65</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>4</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>
|
|
// CHECK-NEXT: <key>line</key><integer>65</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>4</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>65</integer>
|
|
// 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 'getZero'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Calling 'getZero'</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>56</integer>
|
|
// 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 'testReturnZero'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Entered call from 'testReturnZero'</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>56</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>1</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>56</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>57</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>57</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: </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>
|
|
// CHECK-NEXT: <key>line</key><integer>57</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>57</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>57</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: </array>
|
|
// CHECK-NEXT: <key>depth</key><integer>1</integer>
|
|
// CHECK-NEXT: <key>extended_message</key>
|
|
// CHECK-NEXT: <string>'p' initialized to a null pointer value</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>'p' initialized to a null pointer value</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>57</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>57</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>3</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>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>60</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>60</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>60</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>10</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>Returning null pointer (loaded from 'p')</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Returning null pointer (loaded from 'p')</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>65</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>4</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>
|
|
// CHECK-NEXT: <key>line</key><integer>65</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>4</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>65</integer>
|
|
// 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>Returning from 'getZero'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Returning from 'getZero'</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>65</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>4</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>65</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>10</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>65</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>14</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>65</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>14</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>
|
|
// CHECK-NEXT: <key>line</key><integer>65</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>14</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>
|
|
// CHECK-NEXT: <key>line</key><integer>65</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>65</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>16</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</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Dereference of null pointer</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: </array>
|
|
// CHECK-NEXT: <key>description</key><string>Dereference of null pointer</string>
|
|
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
|
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
|
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
|
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
|
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>d03346854b8f45b55cbd5efe29bf2c8e</string>
|
|
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
|
// CHECK-NEXT: <key>issue_context</key><string>testReturnZero</string>
|
|
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>65</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>14</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>72</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>72</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: <key>end</key>
|
|
// CHECK-NEXT: <array>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>72</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>72</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>17</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>
|
|
// CHECK-NEXT: <key>line</key><integer>72</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>11</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>
|
|
// CHECK-NEXT: <key>line</key><integer>72</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>72</integer>
|
|
// 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 'getZero'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Calling 'getZero'</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>56</integer>
|
|
// 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 'testReturnZero2'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Entered call from 'testReturnZero2'</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>56</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>1</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>56</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>57</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>57</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: </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>
|
|
// CHECK-NEXT: <key>line</key><integer>57</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>57</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>57</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: </array>
|
|
// CHECK-NEXT: <key>depth</key><integer>1</integer>
|
|
// CHECK-NEXT: <key>extended_message</key>
|
|
// CHECK-NEXT: <string>'p' initialized to a null pointer value</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>'p' initialized to a null pointer value</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>57</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>57</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>3</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>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>60</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>60</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>60</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>10</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>Returning null pointer (loaded from 'p')</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Returning null pointer (loaded from 'p')</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>72</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>11</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>
|
|
// CHECK-NEXT: <key>line</key><integer>72</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>72</integer>
|
|
// 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>Returning from 'getZero'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Returning from 'getZero'</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>72</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>72</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>17</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>72</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>10</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>72</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>10</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>
|
|
// CHECK-NEXT: <key>line</key><integer>72</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>10</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>
|
|
// CHECK-NEXT: <key>line</key><integer>72</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>10</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>72</integer>
|
|
// 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>Dereference of null pointer</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Dereference of null pointer</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: </array>
|
|
// CHECK-NEXT: <key>description</key><string>Dereference of null pointer</string>
|
|
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
|
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
|
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
|
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
|
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>5a72f98932a4061a833287a12b28ba8b</string>
|
|
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
|
// CHECK-NEXT: <key>issue_context</key><string>testReturnZero2</string>
|
|
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>72</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>10</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>79</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>79</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>79</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>12</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>79</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>79</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>79</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>12</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>79</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>20</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 'getZero'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Calling 'getZero'</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>56</integer>
|
|
// 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 'testInitZero'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Entered call from 'testInitZero'</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>56</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>1</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>56</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>57</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>57</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: </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>
|
|
// CHECK-NEXT: <key>line</key><integer>57</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>57</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>57</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: </array>
|
|
// CHECK-NEXT: <key>depth</key><integer>1</integer>
|
|
// CHECK-NEXT: <key>extended_message</key>
|
|
// CHECK-NEXT: <string>'p' initialized to a null pointer value</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>'p' initialized to a null pointer value</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>57</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>57</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>3</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>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>60</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>60</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>60</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>10</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>Returning null pointer (loaded from 'p')</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Returning null pointer (loaded from 'p')</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>79</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>79</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>12</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>79</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>20</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>Returning from 'getZero'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Returning from 'getZero'</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>79</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>12</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>79</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>18</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>79</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>79</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: </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>
|
|
// CHECK-NEXT: <key>line</key><integer>79</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>79</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>79</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: </array>
|
|
// CHECK-NEXT: <key>depth</key><integer>0</integer>
|
|
// CHECK-NEXT: <key>extended_message</key>
|
|
// CHECK-NEXT: <string>'a' initialized to a null pointer value</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>'a' initialized to a null pointer value</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>79</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>79</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>83</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>83</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>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>83</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>6</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>
|
|
// CHECK-NEXT: <key>line</key><integer>83</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>4</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>83</integer>
|
|
// 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 'a')</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'a')</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: </array>
|
|
// CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable 'a')</string>
|
|
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
|
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
|
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
|
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
|
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>6d3745ba4b32e1858de16c61fecf8ed4</string>
|
|
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
|
// CHECK-NEXT: <key>issue_context</key><string>testInitZero</string>
|
|
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>83</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: <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>
|
|
// CHECK-NEXT: <key>line</key><integer>88</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>88</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>88</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>88</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>13</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>
|
|
// CHECK-NEXT: <key>line</key><integer>88</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</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>
|
|
// CHECK-NEXT: <key>line</key><integer>88</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>88</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>15</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 'getZero'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Calling 'getZero'</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>56</integer>
|
|
// 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 'testStoreZero'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Entered call from 'testStoreZero'</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>56</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>1</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>56</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>57</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>57</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: </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>
|
|
// CHECK-NEXT: <key>line</key><integer>57</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>57</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>57</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: </array>
|
|
// CHECK-NEXT: <key>depth</key><integer>1</integer>
|
|
// CHECK-NEXT: <key>extended_message</key>
|
|
// CHECK-NEXT: <string>'p' initialized to a null pointer value</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>'p' initialized to a null pointer value</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>57</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>57</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>3</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>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>60</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>60</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>60</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>10</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>Returning null pointer (loaded from 'p')</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Returning null pointer (loaded from 'p')</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>88</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</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>
|
|
// CHECK-NEXT: <key>line</key><integer>88</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>88</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>15</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>Returning from 'getZero'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Returning from 'getZero'</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>88</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>88</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>13</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>88</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>88</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: </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>
|
|
// CHECK-NEXT: <key>line</key><integer>88</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>88</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>88</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>15</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>Null pointer value stored to 'a'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Null pointer value stored to 'a'</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>88</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>88</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>92</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>92</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>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>92</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>6</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>
|
|
// CHECK-NEXT: <key>line</key><integer>92</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>4</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>92</integer>
|
|
// 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 'a')</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'a')</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: </array>
|
|
// CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable 'a')</string>
|
|
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
|
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
|
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
|
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
|
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>2d25b170621486480ca76aaba4c7a0c0</string>
|
|
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
|
// CHECK-NEXT: <key>issue_context</key><string>testStoreZero</string>
|
|
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>92</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: <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>
|
|
// CHECK-NEXT: <key>line</key><integer>103</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>103</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>103</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>14</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>103</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>20</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>
|
|
// CHECK-NEXT: <key>line</key><integer>103</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>14</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>
|
|
// CHECK-NEXT: <key>line</key><integer>103</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>14</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>103</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>22</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 'getZero'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Calling 'getZero'</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>56</integer>
|
|
// 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 'testUseOfNullPointer'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Entered call from 'testUseOfNullPointer'</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>56</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>1</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>56</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>57</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>57</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: </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>
|
|
// CHECK-NEXT: <key>line</key><integer>57</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>57</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>57</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: </array>
|
|
// CHECK-NEXT: <key>depth</key><integer>1</integer>
|
|
// CHECK-NEXT: <key>extended_message</key>
|
|
// CHECK-NEXT: <string>'p' initialized to a null pointer value</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>'p' initialized to a null pointer value</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>57</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>57</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>3</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>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>60</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>60</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>60</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>10</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>Returning null pointer (loaded from 'p')</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Returning null pointer (loaded from 'p')</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>103</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>14</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>
|
|
// CHECK-NEXT: <key>line</key><integer>103</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>14</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>103</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>22</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>Returning from 'getZero'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Returning from 'getZero'</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>103</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>14</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>
|
|
// CHECK-NEXT: <key>line</key><integer>103</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>14</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>103</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>22</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>Passing null pointer value via 1st parameter 'p'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Passing null pointer value via 1st parameter 'p'</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>103</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>103</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>103</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>23</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 'usePointer'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Calling 'usePointer'</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>96</integer>
|
|
// 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 'testUseOfNullPointer'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Entered call from 'testUseOfNullPointer'</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>96</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>1</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>96</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>97</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>97</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: </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>
|
|
// CHECK-NEXT: <key>line</key><integer>97</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>97</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>97</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>97</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>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>97</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>6</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>
|
|
// CHECK-NEXT: <key>line</key><integer>97</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>4</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>97</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'p')</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
|
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
|
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>567151df0ae29b0f0e1a412114d544dc</string>
|
|
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
|
// CHECK-NEXT: <key>issue_context</key><string>usePointer</string>
|
|
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>97</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: <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>
|
|
// CHECK-NEXT: <key>line</key><integer>117</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>117</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>117</integer>
|
|
// 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 'setFieldToNull'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Calling 'setFieldToNull'</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>112</integer>
|
|
// 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 'testSetFieldToNull'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Entered call from 'testSetFieldToNull'</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>112</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>1</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>112</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>113</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>2</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>113</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>2</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>
|
|
// CHECK-NEXT: <key>line</key><integer>113</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>2</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>
|
|
// CHECK-NEXT: <key>line</key><integer>113</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>2</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>113</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: </array>
|
|
// CHECK-NEXT: <key>depth</key><integer>1</integer>
|
|
// CHECK-NEXT: <key>extended_message</key>
|
|
// CHECK-NEXT: <string>Null pointer value stored to field 'p'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Null pointer value stored to field 'p'</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>kind</key><string>event</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>117</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>117</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>117</integer>
|
|
// 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>Returning from 'setFieldToNull'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Returning from 'setFieldToNull'</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>117</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>117</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>119</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>119</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>
|
|
// 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>119</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>119</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: <key>end</key>
|
|
// CHECK-NEXT: <array>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>119</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>10</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>119</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>10</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>
|
|
// CHECK-NEXT: <key>line</key><integer>119</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>10</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>
|
|
// CHECK-NEXT: <key>line</key><integer>119</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>14</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>119</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>14</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 field 'p')</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Dereference of null pointer (loaded from field 'p')</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: </array>
|
|
// CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from field 'p')</string>
|
|
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
|
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
|
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
|
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
|
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>7849ab11af99aee1e3603a24ae95cdfd</string>
|
|
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
|
// CHECK-NEXT: <key>issue_context</key><string>testSetFieldToNull</string>
|
|
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>119</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>10</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>131</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>131</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>131</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>25</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>Null pointer value stored to field 'p'</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Null pointer value stored to field 'p'</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>131</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>131</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>132</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>24</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>132</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>24</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>
|
|
// CHECK-NEXT: <key>line</key><integer>132</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>24</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>
|
|
// CHECK-NEXT: <key>line</key><integer>132</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>22</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>132</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>22</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 field 'p')</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Dereference of null pointer (loaded from field 'p')</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: </array>
|
|
// CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from field 'p')</string>
|
|
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
|
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
|
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
|
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
|
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>3ccb5e7e2cc82aba5c28a1cc873c83a1</string>
|
|
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
|
// CHECK-NEXT: <key>issue_context</key><string>test</string>
|
|
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>132</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>24</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>137</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>137</integer>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>137</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>137</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</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>
|
|
// CHECK-NEXT: <key>line</key><integer>137</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</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>
|
|
// CHECK-NEXT: <key>line</key><integer>137</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>137</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: </array>
|
|
// CHECK-NEXT: <key>depth</key><integer>0</integer>
|
|
// CHECK-NEXT: <key>extended_message</key>
|
|
// CHECK-NEXT: <string>Assuming pointer value is null</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Assuming pointer value is null</string>
|
|
// 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>
|
|
// CHECK-NEXT: <key>line</key><integer>137</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>137</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</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>139</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>139</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: </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>
|
|
// CHECK-NEXT: <key>line</key><integer>139</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>139</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>139</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>139</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</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>
|
|
// CHECK-NEXT: <key>line</key><integer>139</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</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>
|
|
// CHECK-NEXT: <key>line</key><integer>139</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>139</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: </array>
|
|
// CHECK-NEXT: <key>depth</key><integer>0</integer>
|
|
// CHECK-NEXT: <key>extended_message</key>
|
|
// CHECK-NEXT: <string>Dereference of null pointer</string>
|
|
// CHECK-NEXT: <key>message</key>
|
|
// CHECK-NEXT: <string>Dereference of null pointer</string>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: </array>
|
|
// CHECK-NEXT: <key>description</key><string>Dereference of null pointer</string>
|
|
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
|
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
|
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
|
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
|
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>19292468c6c6f83fbbdb2ff072bb2ae8</string>
|
|
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
|
// CHECK-NEXT: <key>issue_context</key><string>test4</string>
|
|
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
|
// CHECK-NEXT: <key>location</key>
|
|
// CHECK-NEXT: <dict>
|
|
// CHECK-NEXT: <key>line</key><integer>139</integer>
|
|
// CHECK-NEXT: <key>col</key><integer>7</integer>
|
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: </dict>
|
|
// CHECK-NEXT: </array>
|