789 lines
34 KiB
C
789 lines
34 KiB
C
|
// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-output=text -analyzer-config graph-trim-interval=5 -verify %s
|
||
|
// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-output=plist-multi-file -analyzer-config graph-trim-interval=5 -analyzer-config path-diagnostics-alternate=false %s -o %t.plist
|
||
|
// RUN: FileCheck --input-file=%t.plist %s
|
||
|
|
||
|
void use(int *ptr, int val) {
|
||
|
*ptr = val; // expected-warning {{Dereference of null pointer (loaded from variable 'ptr')}}
|
||
|
// expected-note@-1 {{Dereference of null pointer (loaded from variable 'ptr')}}
|
||
|
}
|
||
|
|
||
|
int compute() {
|
||
|
// Do something that will take enough processing to trigger trimming.
|
||
|
// FIXME: This is actually really sensitive. If the interval timing is just
|
||
|
// wrong, the node for the actual dereference may also be collected, and all
|
||
|
// the path notes will disappear. <rdar://problem/12511814>
|
||
|
return 2 + 3 + 4 + 5 + 6;
|
||
|
}
|
||
|
|
||
|
void testSimple() {
|
||
|
int *p = 0;
|
||
|
// expected-note@-1 {{'p' initialized to a null pointer value}}
|
||
|
use(p, compute());
|
||
|
// expected-note@-1 {{Passing null pointer value via 1st parameter 'ptr'}}
|
||
|
// expected-note@-2 {{Calling 'use'}}
|
||
|
}
|
||
|
|
||
|
|
||
|
void use2(int *ptr, int val) {
|
||
|
*ptr = val; // expected-warning {{Dereference of null pointer (loaded from variable 'ptr')}}
|
||
|
// expected-note@-1 {{Dereference of null pointer (loaded from variable 'ptr')}}
|
||
|
}
|
||
|
|
||
|
void passThrough(int *p) {
|
||
|
use2(p, compute());
|
||
|
// expected-note@-1 {{Passing null pointer value via 1st parameter 'ptr'}}
|
||
|
// expected-note@-2 {{Calling 'use2'}}
|
||
|
}
|
||
|
|
||
|
void testChainedCalls() {
|
||
|
int *ptr = 0;
|
||
|
// expected-note@-1 {{'ptr' initialized to a null pointer value}}
|
||
|
passThrough(ptr);
|
||
|
// expected-note@-1 {{Passing null pointer value via 1st parameter 'p'}}
|
||
|
// expected-note@-2 {{Calling 'passThrough'}}
|
||
|
}
|
||
|
|
||
|
// 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>19</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>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>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>'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>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>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>21</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>21</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: </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>21</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>21</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>21</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>21</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>21</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>21</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>21</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>Passing null pointer value via 1st parameter 'ptr'</string>
|
||
|
// CHECK-NEXT: <key>message</key>
|
||
|
// CHECK-NEXT: <string>Passing null pointer value via 1st parameter 'ptr'</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>21</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>21</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>21</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 'use'</string>
|
||
|
// CHECK-NEXT: <key>message</key>
|
||
|
// CHECK-NEXT: <string>Calling 'use'</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 'testSimple'</string>
|
||
|
// CHECK-NEXT: <key>message</key>
|
||
|
// CHECK-NEXT: <string>Entered call from 'testSimple'</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>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>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: <key>end</key>
|
||
|
// CHECK-NEXT: <array>
|
||
|
// 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: <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: </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>8</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>4</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>6</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 'ptr')</string>
|
||
|
// CHECK-NEXT: <key>message</key>
|
||
|
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'ptr')</string>
|
||
|
// CHECK-NEXT: </dict>
|
||
|
// CHECK-NEXT: </array>
|
||
|
// CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable 'ptr')</string>
|
||
|
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||
|
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||
|
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||
|
// CHECK-NEXT: <key>issue_context</key><string>use</string>
|
||
|
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||
|
// CHECK-NEXT: <key>location</key>
|
||
|
// 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: </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>39</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>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>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>'ptr' initialized to a null pointer value</string>
|
||
|
// CHECK-NEXT: <key>message</key>
|
||
|
// CHECK-NEXT: <string>'ptr' 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>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>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>41</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>41</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>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>41</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>41</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>41</integer>
|
||
|
// CHECK-NEXT: <key>col</key><integer>15</integer>
|
||
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||
|
// CHECK-NEXT: </dict>
|
||
|
// CHECK-NEXT: <dict>
|
||
|
// CHECK-NEXT: <key>line</key><integer>41</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>41</integer>
|
||
|
// CHECK-NEXT: <key>col</key><integer>15</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>41</integer>
|
||
|
// CHECK-NEXT: <key>col</key><integer>15</integer>
|
||
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||
|
// CHECK-NEXT: </dict>
|
||
|
// CHECK-NEXT: <dict>
|
||
|
// CHECK-NEXT: <key>line</key><integer>41</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: </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>41</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>41</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>41</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>Calling 'passThrough'</string>
|
||
|
// CHECK-NEXT: <key>message</key>
|
||
|
// CHECK-NEXT: <string>Calling 'passThrough'</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>32</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 'testChainedCalls'</string>
|
||
|
// CHECK-NEXT: <key>message</key>
|
||
|
// CHECK-NEXT: <string>Entered call from 'testChainedCalls'</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>1</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>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>33</integer>
|
||
|
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||
|
// CHECK-NEXT: </dict>
|
||
|
// CHECK-NEXT: <dict>
|
||
|
// CHECK-NEXT: <key>line</key><integer>33</integer>
|
||
|
// CHECK-NEXT: <key>col</key><integer>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>control</string>
|
||
|
// CHECK-NEXT: <key>edges</key>
|
||
|
// CHECK-NEXT: <array>
|
||
|
// CHECK-NEXT: <dict>
|
||
|
// CHECK-NEXT: <key>start</key>
|
||
|
// CHECK-NEXT: <array>
|
||
|
// CHECK-NEXT: <dict>
|
||
|
// CHECK-NEXT: <key>line</key><integer>33</integer>
|
||
|
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||
|
// CHECK-NEXT: </dict>
|
||
|
// CHECK-NEXT: <dict>
|
||
|
// CHECK-NEXT: <key>line</key><integer>33</integer>
|
||
|
// CHECK-NEXT: <key>col</key><integer>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>33</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>33</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>control</string>
|
||
|
// CHECK-NEXT: <key>edges</key>
|
||
|
// CHECK-NEXT: <array>
|
||
|
// CHECK-NEXT: <dict>
|
||
|
// CHECK-NEXT: <key>start</key>
|
||
|
// CHECK-NEXT: <array>
|
||
|
// CHECK-NEXT: <dict>
|
||
|
// CHECK-NEXT: <key>line</key><integer>33</integer>
|
||
|
// CHECK-NEXT: <key>col</key><integer>11</integer>
|
||
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||
|
// CHECK-NEXT: </dict>
|
||
|
// CHECK-NEXT: <dict>
|
||
|
// CHECK-NEXT: <key>line</key><integer>33</integer>
|
||
|
// CHECK-NEXT: <key>col</key><integer>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>33</integer>
|
||
|
// CHECK-NEXT: <key>col</key><integer>8</integer>
|
||
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||
|
// CHECK-NEXT: </dict>
|
||
|
// CHECK-NEXT: <dict>
|
||
|
// CHECK-NEXT: <key>line</key><integer>33</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>33</integer>
|
||
|
// CHECK-NEXT: <key>col</key><integer>8</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>33</integer>
|
||
|
// CHECK-NEXT: <key>col</key><integer>8</integer>
|
||
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||
|
// CHECK-NEXT: </dict>
|
||
|
// CHECK-NEXT: <dict>
|
||
|
// CHECK-NEXT: <key>line</key><integer>33</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>Passing null pointer value via 1st parameter 'ptr'</string>
|
||
|
// CHECK-NEXT: <key>message</key>
|
||
|
// CHECK-NEXT: <string>Passing null pointer value via 1st parameter 'ptr'</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>33</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>33</integer>
|
||
|
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||
|
// CHECK-NEXT: </dict>
|
||
|
// CHECK-NEXT: <dict>
|
||
|
// CHECK-NEXT: <key>line</key><integer>33</integer>
|
||
|
// CHECK-NEXT: <key>col</key><integer>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>1</integer>
|
||
|
// CHECK-NEXT: <key>extended_message</key>
|
||
|
// CHECK-NEXT: <string>Calling 'use2'</string>
|
||
|
// CHECK-NEXT: <key>message</key>
|
||
|
// CHECK-NEXT: <string>Calling 'use2'</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>27</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>2</integer>
|
||
|
// CHECK-NEXT: <key>extended_message</key>
|
||
|
// CHECK-NEXT: <string>Entered call from 'passThrough'</string>
|
||
|
// CHECK-NEXT: <key>message</key>
|
||
|
// CHECK-NEXT: <string>Entered call from 'passThrough'</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>27</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>27</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>28</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>28</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>28</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>28</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>28</integer>
|
||
|
// CHECK-NEXT: <key>col</key><integer>8</integer>
|
||
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||
|
// CHECK-NEXT: </dict>
|
||
|
// CHECK-NEXT: <dict>
|
||
|
// CHECK-NEXT: <key>line</key><integer>28</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>28</integer>
|
||
|
// CHECK-NEXT: <key>col</key><integer>8</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>28</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>28</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: </array>
|
||
|
// CHECK-NEXT: <key>depth</key><integer>2</integer>
|
||
|
// CHECK-NEXT: <key>extended_message</key>
|
||
|
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'ptr')</string>
|
||
|
// CHECK-NEXT: <key>message</key>
|
||
|
// CHECK-NEXT: <string>Dereference of null pointer (loaded from variable 'ptr')</string>
|
||
|
// CHECK-NEXT: </dict>
|
||
|
// CHECK-NEXT: </array>
|
||
|
// CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable 'ptr')</string>
|
||
|
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||
|
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||
|
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||
|
// CHECK-NEXT: <key>issue_context</key><string>use2</string>
|
||
|
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||
|
// CHECK-NEXT: <key>location</key>
|
||
|
// CHECK-NEXT: <dict>
|
||
|
// CHECK-NEXT: <key>line</key><integer>28</integer>
|
||
|
// CHECK-NEXT: <key>col</key><integer>8</integer>
|
||
|
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||
|
// CHECK-NEXT: </dict>
|
||
|
// CHECK-NEXT: </dict>
|
||
|
// CHECK-NEXT: </array>
|