• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: %clang_cc1 -analyze -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -fblocks -analyzer-output=plist -analyzer-config path-diagnostics-alternate=false -o %t %s
2// RUN: FileCheck --input-file %t %s
3
4void test_null_init(void) {
5  int *p = 0;
6  *p = 0xDEADBEEF;
7}
8
9void test_null_assign(void) {
10  int *p;
11  p = 0;
12  *p = 0xDEADBEEF;
13}
14
15void test_null_assign_transitive(void) {
16  int *p;
17  p = 0;
18  int *q = p;
19  *q = 0xDEADBEEF;
20}
21
22void test_null_cond(int *p) {
23  if (!p) {
24    *p = 0xDEADBEEF;
25  }
26}
27
28void test_null_cond_transitive(int *q) {
29  if (!q) {
30    int *p = q;
31    *p = 0xDEADBEEF;
32  }
33}
34
35void test_null_field(void) {
36  struct s { int *p; } x;
37  x.p = 0;
38  *(x.p) = 0xDEADBEEF;
39}
40
41// <rdar://problem/8331641> leak reports should not show paths that end with exit() (but ones that don't end with exit())
42void panic() __attribute__((noreturn));
43enum { kCFNumberSInt8Type = 1,     kCFNumberSInt16Type = 2,     kCFNumberSInt32Type = 3,     kCFNumberSInt64Type = 4,     kCFNumberFloat32Type = 5,     kCFNumberFloat64Type = 6,      kCFNumberCharType = 7,     kCFNumberShortType = 8,     kCFNumberIntType = 9,     kCFNumberLongType = 10,     kCFNumberLongLongType = 11,     kCFNumberFloatType = 12,     kCFNumberDoubleType = 13,      kCFNumberCFIndexType = 14,      kCFNumberNSIntegerType = 15,     kCFNumberCGFloatType = 16,     kCFNumberMaxType = 16    };
44typedef const struct __CFAllocator * CFAllocatorRef;
45extern const CFAllocatorRef kCFAllocatorDefault;
46typedef signed long CFIndex;
47typedef CFIndex CFNumberType;
48typedef const struct __CFNumber * CFNumberRef;
49
50extern CFNumberRef CFNumberCreate(CFAllocatorRef allocator, CFNumberType theType, const void *valuePtr);
51
52void rdar8331641(int x) {
53  signed z = 1;
54  CFNumberRef value = CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt32Type, &z); // expected-warning{{leak}}
55  if (x)
56    panic();
57  (void) value;
58}
59
60// CHECK:  <key>diagnostics</key>
61// CHECK-NEXT:  <array>
62// CHECK-NEXT:   <dict>
63// CHECK-NEXT:    <key>path</key>
64// CHECK-NEXT:    <array>
65// CHECK-NEXT:     <dict>
66// CHECK-NEXT:      <key>kind</key><string>event</string>
67// CHECK-NEXT:      <key>location</key>
68// CHECK-NEXT:      <dict>
69// CHECK-NEXT:       <key>line</key><integer>5</integer>
70// CHECK-NEXT:       <key>col</key><integer>3</integer>
71// CHECK-NEXT:       <key>file</key><integer>0</integer>
72// CHECK-NEXT:      </dict>
73// CHECK-NEXT:      <key>ranges</key>
74// CHECK-NEXT:      <array>
75// CHECK-NEXT:        <array>
76// CHECK-NEXT:         <dict>
77// CHECK-NEXT:          <key>line</key><integer>5</integer>
78// CHECK-NEXT:          <key>col</key><integer>3</integer>
79// CHECK-NEXT:          <key>file</key><integer>0</integer>
80// CHECK-NEXT:         </dict>
81// CHECK-NEXT:         <dict>
82// CHECK-NEXT:          <key>line</key><integer>5</integer>
83// CHECK-NEXT:          <key>col</key><integer>8</integer>
84// CHECK-NEXT:          <key>file</key><integer>0</integer>
85// CHECK-NEXT:         </dict>
86// CHECK-NEXT:        </array>
87// CHECK-NEXT:      </array>
88// CHECK-NEXT:      <key>depth</key><integer>0</integer>
89// CHECK-NEXT:      <key>extended_message</key>
90// CHECK-NEXT:      <string>&apos;p&apos; initialized to a null pointer value</string>
91// CHECK-NEXT:      <key>message</key>
92// CHECK-NEXT:      <string>&apos;p&apos; initialized to a null pointer value</string>
93// CHECK-NEXT:     </dict>
94// CHECK-NEXT:     <dict>
95// CHECK-NEXT:      <key>kind</key><string>control</string>
96// CHECK-NEXT:      <key>edges</key>
97// CHECK-NEXT:       <array>
98// CHECK-NEXT:        <dict>
99// CHECK-NEXT:         <key>start</key>
100// CHECK-NEXT:          <array>
101// CHECK-NEXT:           <dict>
102// CHECK-NEXT:            <key>line</key><integer>5</integer>
103// CHECK-NEXT:            <key>col</key><integer>3</integer>
104// CHECK-NEXT:            <key>file</key><integer>0</integer>
105// CHECK-NEXT:           </dict>
106// CHECK-NEXT:           <dict>
107// CHECK-NEXT:            <key>line</key><integer>5</integer>
108// CHECK-NEXT:            <key>col</key><integer>5</integer>
109// CHECK-NEXT:            <key>file</key><integer>0</integer>
110// CHECK-NEXT:           </dict>
111// CHECK-NEXT:          </array>
112// CHECK-NEXT:         <key>end</key>
113// CHECK-NEXT:          <array>
114// CHECK-NEXT:           <dict>
115// CHECK-NEXT:            <key>line</key><integer>6</integer>
116// CHECK-NEXT:            <key>col</key><integer>6</integer>
117// CHECK-NEXT:            <key>file</key><integer>0</integer>
118// CHECK-NEXT:           </dict>
119// CHECK-NEXT:           <dict>
120// CHECK-NEXT:            <key>line</key><integer>6</integer>
121// CHECK-NEXT:            <key>col</key><integer>6</integer>
122// CHECK-NEXT:            <key>file</key><integer>0</integer>
123// CHECK-NEXT:           </dict>
124// CHECK-NEXT:          </array>
125// CHECK-NEXT:        </dict>
126// CHECK-NEXT:       </array>
127// CHECK-NEXT:     </dict>
128// CHECK-NEXT:     <dict>
129// CHECK-NEXT:      <key>kind</key><string>event</string>
130// CHECK-NEXT:      <key>location</key>
131// CHECK-NEXT:      <dict>
132// CHECK-NEXT:       <key>line</key><integer>6</integer>
133// CHECK-NEXT:       <key>col</key><integer>6</integer>
134// CHECK-NEXT:       <key>file</key><integer>0</integer>
135// CHECK-NEXT:      </dict>
136// CHECK-NEXT:      <key>ranges</key>
137// CHECK-NEXT:      <array>
138// CHECK-NEXT:        <array>
139// CHECK-NEXT:         <dict>
140// CHECK-NEXT:          <key>line</key><integer>6</integer>
141// CHECK-NEXT:          <key>col</key><integer>4</integer>
142// CHECK-NEXT:          <key>file</key><integer>0</integer>
143// CHECK-NEXT:         </dict>
144// CHECK-NEXT:         <dict>
145// CHECK-NEXT:          <key>line</key><integer>6</integer>
146// CHECK-NEXT:          <key>col</key><integer>4</integer>
147// CHECK-NEXT:          <key>file</key><integer>0</integer>
148// CHECK-NEXT:         </dict>
149// CHECK-NEXT:        </array>
150// CHECK-NEXT:      </array>
151// CHECK-NEXT:      <key>depth</key><integer>0</integer>
152// CHECK-NEXT:      <key>extended_message</key>
153// CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
154// CHECK-NEXT:      <key>message</key>
155// CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
156// CHECK-NEXT:     </dict>
157// CHECK-NEXT:    </array>
158// CHECK-NEXT:    <key>description</key><string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
159// CHECK-NEXT:    <key>category</key><string>Logic error</string>
160// CHECK-NEXT:    <key>type</key><string>Dereference of null pointer</string>
161// CHECK-NEXT:    <key>check_name</key><string>core.NullDereference</string>
162// CHECK-NEXT:    <!-- This hash is experimental and going to change! -->
163// CHECK-NEXT:    <key>issue_hash_content_of_line_in_context</key><string>dc9c2a657ca759f9744cde2e093cfd59</string>
164// CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
165// CHECK-NEXT:   <key>issue_context</key><string>test_null_init</string>
166// CHECK-NEXT:   <key>issue_hash_function_offset</key><string>2</string>
167// CHECK-NEXT:   <key>location</key>
168// CHECK-NEXT:   <dict>
169// CHECK-NEXT:    <key>line</key><integer>6</integer>
170// CHECK-NEXT:    <key>col</key><integer>6</integer>
171// CHECK-NEXT:    <key>file</key><integer>0</integer>
172// CHECK-NEXT:   </dict>
173// CHECK-NEXT:   </dict>
174// CHECK-NEXT:   <dict>
175// CHECK-NEXT:    <key>path</key>
176// CHECK-NEXT:    <array>
177// CHECK-NEXT:     <dict>
178// CHECK-NEXT:      <key>kind</key><string>control</string>
179// CHECK-NEXT:      <key>edges</key>
180// CHECK-NEXT:       <array>
181// CHECK-NEXT:        <dict>
182// CHECK-NEXT:         <key>start</key>
183// CHECK-NEXT:          <array>
184// CHECK-NEXT:           <dict>
185// CHECK-NEXT:            <key>line</key><integer>10</integer>
186// CHECK-NEXT:            <key>col</key><integer>3</integer>
187// CHECK-NEXT:            <key>file</key><integer>0</integer>
188// CHECK-NEXT:           </dict>
189// CHECK-NEXT:           <dict>
190// CHECK-NEXT:            <key>line</key><integer>10</integer>
191// CHECK-NEXT:            <key>col</key><integer>5</integer>
192// CHECK-NEXT:            <key>file</key><integer>0</integer>
193// CHECK-NEXT:           </dict>
194// CHECK-NEXT:          </array>
195// CHECK-NEXT:         <key>end</key>
196// CHECK-NEXT:          <array>
197// CHECK-NEXT:           <dict>
198// CHECK-NEXT:            <key>line</key><integer>11</integer>
199// CHECK-NEXT:            <key>col</key><integer>3</integer>
200// CHECK-NEXT:            <key>file</key><integer>0</integer>
201// CHECK-NEXT:           </dict>
202// CHECK-NEXT:           <dict>
203// CHECK-NEXT:            <key>line</key><integer>11</integer>
204// CHECK-NEXT:            <key>col</key><integer>3</integer>
205// CHECK-NEXT:            <key>file</key><integer>0</integer>
206// CHECK-NEXT:           </dict>
207// CHECK-NEXT:          </array>
208// CHECK-NEXT:        </dict>
209// CHECK-NEXT:       </array>
210// CHECK-NEXT:     </dict>
211// CHECK-NEXT:     <dict>
212// CHECK-NEXT:      <key>kind</key><string>event</string>
213// CHECK-NEXT:      <key>location</key>
214// CHECK-NEXT:      <dict>
215// CHECK-NEXT:       <key>line</key><integer>11</integer>
216// CHECK-NEXT:       <key>col</key><integer>3</integer>
217// CHECK-NEXT:       <key>file</key><integer>0</integer>
218// CHECK-NEXT:      </dict>
219// CHECK-NEXT:      <key>ranges</key>
220// CHECK-NEXT:      <array>
221// CHECK-NEXT:        <array>
222// CHECK-NEXT:         <dict>
223// CHECK-NEXT:          <key>line</key><integer>11</integer>
224// CHECK-NEXT:          <key>col</key><integer>3</integer>
225// CHECK-NEXT:          <key>file</key><integer>0</integer>
226// CHECK-NEXT:         </dict>
227// CHECK-NEXT:         <dict>
228// CHECK-NEXT:          <key>line</key><integer>11</integer>
229// CHECK-NEXT:          <key>col</key><integer>7</integer>
230// CHECK-NEXT:          <key>file</key><integer>0</integer>
231// CHECK-NEXT:         </dict>
232// CHECK-NEXT:        </array>
233// CHECK-NEXT:      </array>
234// CHECK-NEXT:      <key>depth</key><integer>0</integer>
235// CHECK-NEXT:      <key>extended_message</key>
236// CHECK-NEXT:      <string>Null pointer value stored to &apos;p&apos;</string>
237// CHECK-NEXT:      <key>message</key>
238// CHECK-NEXT:      <string>Null pointer value stored to &apos;p&apos;</string>
239// CHECK-NEXT:     </dict>
240// CHECK-NEXT:     <dict>
241// CHECK-NEXT:      <key>kind</key><string>control</string>
242// CHECK-NEXT:      <key>edges</key>
243// CHECK-NEXT:       <array>
244// CHECK-NEXT:        <dict>
245// CHECK-NEXT:         <key>start</key>
246// CHECK-NEXT:          <array>
247// CHECK-NEXT:           <dict>
248// CHECK-NEXT:            <key>line</key><integer>11</integer>
249// CHECK-NEXT:            <key>col</key><integer>3</integer>
250// CHECK-NEXT:            <key>file</key><integer>0</integer>
251// CHECK-NEXT:           </dict>
252// CHECK-NEXT:           <dict>
253// CHECK-NEXT:            <key>line</key><integer>11</integer>
254// CHECK-NEXT:            <key>col</key><integer>3</integer>
255// CHECK-NEXT:            <key>file</key><integer>0</integer>
256// CHECK-NEXT:           </dict>
257// CHECK-NEXT:          </array>
258// CHECK-NEXT:         <key>end</key>
259// CHECK-NEXT:          <array>
260// CHECK-NEXT:           <dict>
261// CHECK-NEXT:            <key>line</key><integer>12</integer>
262// CHECK-NEXT:            <key>col</key><integer>6</integer>
263// CHECK-NEXT:            <key>file</key><integer>0</integer>
264// CHECK-NEXT:           </dict>
265// CHECK-NEXT:           <dict>
266// CHECK-NEXT:            <key>line</key><integer>12</integer>
267// CHECK-NEXT:            <key>col</key><integer>6</integer>
268// CHECK-NEXT:            <key>file</key><integer>0</integer>
269// CHECK-NEXT:           </dict>
270// CHECK-NEXT:          </array>
271// CHECK-NEXT:        </dict>
272// CHECK-NEXT:       </array>
273// CHECK-NEXT:     </dict>
274// CHECK-NEXT:     <dict>
275// CHECK-NEXT:      <key>kind</key><string>event</string>
276// CHECK-NEXT:      <key>location</key>
277// CHECK-NEXT:      <dict>
278// CHECK-NEXT:       <key>line</key><integer>12</integer>
279// CHECK-NEXT:       <key>col</key><integer>6</integer>
280// CHECK-NEXT:       <key>file</key><integer>0</integer>
281// CHECK-NEXT:      </dict>
282// CHECK-NEXT:      <key>ranges</key>
283// CHECK-NEXT:      <array>
284// CHECK-NEXT:        <array>
285// CHECK-NEXT:         <dict>
286// CHECK-NEXT:          <key>line</key><integer>12</integer>
287// CHECK-NEXT:          <key>col</key><integer>4</integer>
288// CHECK-NEXT:          <key>file</key><integer>0</integer>
289// CHECK-NEXT:         </dict>
290// CHECK-NEXT:         <dict>
291// CHECK-NEXT:          <key>line</key><integer>12</integer>
292// CHECK-NEXT:          <key>col</key><integer>4</integer>
293// CHECK-NEXT:          <key>file</key><integer>0</integer>
294// CHECK-NEXT:         </dict>
295// CHECK-NEXT:        </array>
296// CHECK-NEXT:      </array>
297// CHECK-NEXT:      <key>depth</key><integer>0</integer>
298// CHECK-NEXT:      <key>extended_message</key>
299// CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
300// CHECK-NEXT:      <key>message</key>
301// CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
302// CHECK-NEXT:     </dict>
303// CHECK-NEXT:    </array>
304// CHECK-NEXT:    <key>description</key><string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
305// CHECK-NEXT:    <key>category</key><string>Logic error</string>
306// CHECK-NEXT:    <key>type</key><string>Dereference of null pointer</string>
307// CHECK-NEXT:    <key>check_name</key><string>core.NullDereference</string>
308// CHECK-NEXT:    <!-- This hash is experimental and going to change! -->
309// CHECK-NEXT:    <key>issue_hash_content_of_line_in_context</key><string>8f95d9681490a4e52c167969d0957b39</string>
310// CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
311// CHECK-NEXT:   <key>issue_context</key><string>test_null_assign</string>
312// CHECK-NEXT:   <key>issue_hash_function_offset</key><string>3</string>
313// CHECK-NEXT:   <key>location</key>
314// CHECK-NEXT:   <dict>
315// CHECK-NEXT:    <key>line</key><integer>12</integer>
316// CHECK-NEXT:    <key>col</key><integer>6</integer>
317// CHECK-NEXT:    <key>file</key><integer>0</integer>
318// CHECK-NEXT:   </dict>
319// CHECK-NEXT:   </dict>
320// CHECK-NEXT:   <dict>
321// CHECK-NEXT:    <key>path</key>
322// CHECK-NEXT:    <array>
323// CHECK-NEXT:     <dict>
324// CHECK-NEXT:      <key>kind</key><string>control</string>
325// CHECK-NEXT:      <key>edges</key>
326// CHECK-NEXT:       <array>
327// CHECK-NEXT:        <dict>
328// CHECK-NEXT:         <key>start</key>
329// CHECK-NEXT:          <array>
330// CHECK-NEXT:           <dict>
331// CHECK-NEXT:            <key>line</key><integer>16</integer>
332// CHECK-NEXT:            <key>col</key><integer>3</integer>
333// CHECK-NEXT:            <key>file</key><integer>0</integer>
334// CHECK-NEXT:           </dict>
335// CHECK-NEXT:           <dict>
336// CHECK-NEXT:            <key>line</key><integer>16</integer>
337// CHECK-NEXT:            <key>col</key><integer>5</integer>
338// CHECK-NEXT:            <key>file</key><integer>0</integer>
339// CHECK-NEXT:           </dict>
340// CHECK-NEXT:          </array>
341// CHECK-NEXT:         <key>end</key>
342// CHECK-NEXT:          <array>
343// CHECK-NEXT:           <dict>
344// CHECK-NEXT:            <key>line</key><integer>17</integer>
345// CHECK-NEXT:            <key>col</key><integer>3</integer>
346// CHECK-NEXT:            <key>file</key><integer>0</integer>
347// CHECK-NEXT:           </dict>
348// CHECK-NEXT:           <dict>
349// CHECK-NEXT:            <key>line</key><integer>17</integer>
350// CHECK-NEXT:            <key>col</key><integer>3</integer>
351// CHECK-NEXT:            <key>file</key><integer>0</integer>
352// CHECK-NEXT:           </dict>
353// CHECK-NEXT:          </array>
354// CHECK-NEXT:        </dict>
355// CHECK-NEXT:       </array>
356// CHECK-NEXT:     </dict>
357// CHECK-NEXT:     <dict>
358// CHECK-NEXT:      <key>kind</key><string>event</string>
359// CHECK-NEXT:      <key>location</key>
360// CHECK-NEXT:      <dict>
361// CHECK-NEXT:       <key>line</key><integer>17</integer>
362// CHECK-NEXT:       <key>col</key><integer>3</integer>
363// CHECK-NEXT:       <key>file</key><integer>0</integer>
364// CHECK-NEXT:      </dict>
365// CHECK-NEXT:      <key>ranges</key>
366// CHECK-NEXT:      <array>
367// CHECK-NEXT:        <array>
368// CHECK-NEXT:         <dict>
369// CHECK-NEXT:          <key>line</key><integer>17</integer>
370// CHECK-NEXT:          <key>col</key><integer>3</integer>
371// CHECK-NEXT:          <key>file</key><integer>0</integer>
372// CHECK-NEXT:         </dict>
373// CHECK-NEXT:         <dict>
374// CHECK-NEXT:          <key>line</key><integer>17</integer>
375// CHECK-NEXT:          <key>col</key><integer>7</integer>
376// CHECK-NEXT:          <key>file</key><integer>0</integer>
377// CHECK-NEXT:         </dict>
378// CHECK-NEXT:        </array>
379// CHECK-NEXT:      </array>
380// CHECK-NEXT:      <key>depth</key><integer>0</integer>
381// CHECK-NEXT:      <key>extended_message</key>
382// CHECK-NEXT:      <string>Null pointer value stored to &apos;p&apos;</string>
383// CHECK-NEXT:      <key>message</key>
384// CHECK-NEXT:      <string>Null pointer value stored to &apos;p&apos;</string>
385// CHECK-NEXT:     </dict>
386// CHECK-NEXT:     <dict>
387// CHECK-NEXT:      <key>kind</key><string>control</string>
388// CHECK-NEXT:      <key>edges</key>
389// CHECK-NEXT:       <array>
390// CHECK-NEXT:        <dict>
391// CHECK-NEXT:         <key>start</key>
392// CHECK-NEXT:          <array>
393// CHECK-NEXT:           <dict>
394// CHECK-NEXT:            <key>line</key><integer>17</integer>
395// CHECK-NEXT:            <key>col</key><integer>3</integer>
396// CHECK-NEXT:            <key>file</key><integer>0</integer>
397// CHECK-NEXT:           </dict>
398// CHECK-NEXT:           <dict>
399// CHECK-NEXT:            <key>line</key><integer>17</integer>
400// CHECK-NEXT:            <key>col</key><integer>3</integer>
401// CHECK-NEXT:            <key>file</key><integer>0</integer>
402// CHECK-NEXT:           </dict>
403// CHECK-NEXT:          </array>
404// CHECK-NEXT:         <key>end</key>
405// CHECK-NEXT:          <array>
406// CHECK-NEXT:           <dict>
407// CHECK-NEXT:            <key>line</key><integer>18</integer>
408// CHECK-NEXT:            <key>col</key><integer>3</integer>
409// CHECK-NEXT:            <key>file</key><integer>0</integer>
410// CHECK-NEXT:           </dict>
411// CHECK-NEXT:           <dict>
412// CHECK-NEXT:            <key>line</key><integer>18</integer>
413// CHECK-NEXT:            <key>col</key><integer>5</integer>
414// CHECK-NEXT:            <key>file</key><integer>0</integer>
415// CHECK-NEXT:           </dict>
416// CHECK-NEXT:          </array>
417// CHECK-NEXT:        </dict>
418// CHECK-NEXT:       </array>
419// CHECK-NEXT:     </dict>
420// CHECK-NEXT:     <dict>
421// CHECK-NEXT:      <key>kind</key><string>event</string>
422// CHECK-NEXT:      <key>location</key>
423// CHECK-NEXT:      <dict>
424// CHECK-NEXT:       <key>line</key><integer>18</integer>
425// CHECK-NEXT:       <key>col</key><integer>3</integer>
426// CHECK-NEXT:       <key>file</key><integer>0</integer>
427// CHECK-NEXT:      </dict>
428// CHECK-NEXT:      <key>ranges</key>
429// CHECK-NEXT:      <array>
430// CHECK-NEXT:        <array>
431// CHECK-NEXT:         <dict>
432// CHECK-NEXT:          <key>line</key><integer>18</integer>
433// CHECK-NEXT:          <key>col</key><integer>3</integer>
434// CHECK-NEXT:          <key>file</key><integer>0</integer>
435// CHECK-NEXT:         </dict>
436// CHECK-NEXT:         <dict>
437// CHECK-NEXT:          <key>line</key><integer>18</integer>
438// CHECK-NEXT:          <key>col</key><integer>8</integer>
439// CHECK-NEXT:          <key>file</key><integer>0</integer>
440// CHECK-NEXT:         </dict>
441// CHECK-NEXT:        </array>
442// CHECK-NEXT:      </array>
443// CHECK-NEXT:      <key>depth</key><integer>0</integer>
444// CHECK-NEXT:      <key>extended_message</key>
445// CHECK-NEXT:      <string>&apos;q&apos; initialized to a null pointer value</string>
446// CHECK-NEXT:      <key>message</key>
447// CHECK-NEXT:      <string>&apos;q&apos; initialized to a null pointer value</string>
448// CHECK-NEXT:     </dict>
449// CHECK-NEXT:     <dict>
450// CHECK-NEXT:      <key>kind</key><string>control</string>
451// CHECK-NEXT:      <key>edges</key>
452// CHECK-NEXT:       <array>
453// CHECK-NEXT:        <dict>
454// CHECK-NEXT:         <key>start</key>
455// CHECK-NEXT:          <array>
456// CHECK-NEXT:           <dict>
457// CHECK-NEXT:            <key>line</key><integer>18</integer>
458// CHECK-NEXT:            <key>col</key><integer>3</integer>
459// CHECK-NEXT:            <key>file</key><integer>0</integer>
460// CHECK-NEXT:           </dict>
461// CHECK-NEXT:           <dict>
462// CHECK-NEXT:            <key>line</key><integer>18</integer>
463// CHECK-NEXT:            <key>col</key><integer>5</integer>
464// CHECK-NEXT:            <key>file</key><integer>0</integer>
465// CHECK-NEXT:           </dict>
466// CHECK-NEXT:          </array>
467// CHECK-NEXT:         <key>end</key>
468// CHECK-NEXT:          <array>
469// CHECK-NEXT:           <dict>
470// CHECK-NEXT:            <key>line</key><integer>19</integer>
471// CHECK-NEXT:            <key>col</key><integer>6</integer>
472// CHECK-NEXT:            <key>file</key><integer>0</integer>
473// CHECK-NEXT:           </dict>
474// CHECK-NEXT:           <dict>
475// CHECK-NEXT:            <key>line</key><integer>19</integer>
476// CHECK-NEXT:            <key>col</key><integer>6</integer>
477// CHECK-NEXT:            <key>file</key><integer>0</integer>
478// CHECK-NEXT:           </dict>
479// CHECK-NEXT:          </array>
480// CHECK-NEXT:        </dict>
481// CHECK-NEXT:       </array>
482// CHECK-NEXT:     </dict>
483// CHECK-NEXT:     <dict>
484// CHECK-NEXT:      <key>kind</key><string>event</string>
485// CHECK-NEXT:      <key>location</key>
486// CHECK-NEXT:      <dict>
487// CHECK-NEXT:       <key>line</key><integer>19</integer>
488// CHECK-NEXT:       <key>col</key><integer>6</integer>
489// CHECK-NEXT:       <key>file</key><integer>0</integer>
490// CHECK-NEXT:      </dict>
491// CHECK-NEXT:      <key>ranges</key>
492// CHECK-NEXT:      <array>
493// CHECK-NEXT:        <array>
494// CHECK-NEXT:         <dict>
495// CHECK-NEXT:          <key>line</key><integer>19</integer>
496// CHECK-NEXT:          <key>col</key><integer>4</integer>
497// CHECK-NEXT:          <key>file</key><integer>0</integer>
498// CHECK-NEXT:         </dict>
499// CHECK-NEXT:         <dict>
500// CHECK-NEXT:          <key>line</key><integer>19</integer>
501// CHECK-NEXT:          <key>col</key><integer>4</integer>
502// CHECK-NEXT:          <key>file</key><integer>0</integer>
503// CHECK-NEXT:         </dict>
504// CHECK-NEXT:        </array>
505// CHECK-NEXT:      </array>
506// CHECK-NEXT:      <key>depth</key><integer>0</integer>
507// CHECK-NEXT:      <key>extended_message</key>
508// CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;q&apos;)</string>
509// CHECK-NEXT:      <key>message</key>
510// CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;q&apos;)</string>
511// CHECK-NEXT:     </dict>
512// CHECK-NEXT:    </array>
513// CHECK-NEXT:    <key>description</key><string>Dereference of null pointer (loaded from variable &apos;q&apos;)</string>
514// CHECK-NEXT:    <key>category</key><string>Logic error</string>
515// CHECK-NEXT:    <key>type</key><string>Dereference of null pointer</string>
516// CHECK-NEXT:    <key>check_name</key><string>core.NullDereference</string>
517// CHECK-NEXT:    <!-- This hash is experimental and going to change! -->
518// CHECK-NEXT:    <key>issue_hash_content_of_line_in_context</key><string>94c43fbcad6aaff4ee7433f2d2db0bbe</string>
519// CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
520// CHECK-NEXT:   <key>issue_context</key><string>test_null_assign_transitive</string>
521// CHECK-NEXT:   <key>issue_hash_function_offset</key><string>4</string>
522// CHECK-NEXT:   <key>location</key>
523// CHECK-NEXT:   <dict>
524// CHECK-NEXT:    <key>line</key><integer>19</integer>
525// CHECK-NEXT:    <key>col</key><integer>6</integer>
526// CHECK-NEXT:    <key>file</key><integer>0</integer>
527// CHECK-NEXT:   </dict>
528// CHECK-NEXT:   </dict>
529// CHECK-NEXT:   <dict>
530// CHECK-NEXT:    <key>path</key>
531// CHECK-NEXT:    <array>
532// CHECK-NEXT:     <dict>
533// CHECK-NEXT:      <key>kind</key><string>control</string>
534// CHECK-NEXT:      <key>edges</key>
535// CHECK-NEXT:       <array>
536// CHECK-NEXT:        <dict>
537// CHECK-NEXT:         <key>start</key>
538// CHECK-NEXT:          <array>
539// CHECK-NEXT:           <dict>
540// CHECK-NEXT:            <key>line</key><integer>23</integer>
541// CHECK-NEXT:            <key>col</key><integer>3</integer>
542// CHECK-NEXT:            <key>file</key><integer>0</integer>
543// CHECK-NEXT:           </dict>
544// CHECK-NEXT:           <dict>
545// CHECK-NEXT:            <key>line</key><integer>23</integer>
546// CHECK-NEXT:            <key>col</key><integer>4</integer>
547// CHECK-NEXT:            <key>file</key><integer>0</integer>
548// CHECK-NEXT:           </dict>
549// CHECK-NEXT:          </array>
550// CHECK-NEXT:         <key>end</key>
551// CHECK-NEXT:          <array>
552// CHECK-NEXT:           <dict>
553// CHECK-NEXT:            <key>line</key><integer>23</integer>
554// CHECK-NEXT:            <key>col</key><integer>7</integer>
555// CHECK-NEXT:            <key>file</key><integer>0</integer>
556// CHECK-NEXT:           </dict>
557// CHECK-NEXT:           <dict>
558// CHECK-NEXT:            <key>line</key><integer>23</integer>
559// CHECK-NEXT:            <key>col</key><integer>7</integer>
560// CHECK-NEXT:            <key>file</key><integer>0</integer>
561// CHECK-NEXT:           </dict>
562// CHECK-NEXT:          </array>
563// CHECK-NEXT:        </dict>
564// CHECK-NEXT:       </array>
565// CHECK-NEXT:     </dict>
566// CHECK-NEXT:     <dict>
567// CHECK-NEXT:      <key>kind</key><string>event</string>
568// CHECK-NEXT:      <key>location</key>
569// CHECK-NEXT:      <dict>
570// CHECK-NEXT:       <key>line</key><integer>23</integer>
571// CHECK-NEXT:       <key>col</key><integer>7</integer>
572// CHECK-NEXT:       <key>file</key><integer>0</integer>
573// CHECK-NEXT:      </dict>
574// CHECK-NEXT:      <key>ranges</key>
575// CHECK-NEXT:      <array>
576// CHECK-NEXT:        <array>
577// CHECK-NEXT:         <dict>
578// CHECK-NEXT:          <key>line</key><integer>23</integer>
579// CHECK-NEXT:          <key>col</key><integer>7</integer>
580// CHECK-NEXT:          <key>file</key><integer>0</integer>
581// CHECK-NEXT:         </dict>
582// CHECK-NEXT:         <dict>
583// CHECK-NEXT:          <key>line</key><integer>23</integer>
584// CHECK-NEXT:          <key>col</key><integer>8</integer>
585// CHECK-NEXT:          <key>file</key><integer>0</integer>
586// CHECK-NEXT:         </dict>
587// CHECK-NEXT:        </array>
588// CHECK-NEXT:      </array>
589// CHECK-NEXT:      <key>depth</key><integer>0</integer>
590// CHECK-NEXT:      <key>extended_message</key>
591// CHECK-NEXT:      <string>Assuming &apos;p&apos; is null</string>
592// CHECK-NEXT:      <key>message</key>
593// CHECK-NEXT:      <string>Assuming &apos;p&apos; is null</string>
594// CHECK-NEXT:     </dict>
595// CHECK-NEXT:     <dict>
596// CHECK-NEXT:      <key>kind</key><string>control</string>
597// CHECK-NEXT:      <key>edges</key>
598// CHECK-NEXT:       <array>
599// CHECK-NEXT:        <dict>
600// CHECK-NEXT:         <key>start</key>
601// CHECK-NEXT:          <array>
602// CHECK-NEXT:           <dict>
603// CHECK-NEXT:            <key>line</key><integer>23</integer>
604// CHECK-NEXT:            <key>col</key><integer>7</integer>
605// CHECK-NEXT:            <key>file</key><integer>0</integer>
606// CHECK-NEXT:           </dict>
607// CHECK-NEXT:           <dict>
608// CHECK-NEXT:            <key>line</key><integer>23</integer>
609// CHECK-NEXT:            <key>col</key><integer>7</integer>
610// CHECK-NEXT:            <key>file</key><integer>0</integer>
611// CHECK-NEXT:           </dict>
612// CHECK-NEXT:          </array>
613// CHECK-NEXT:         <key>end</key>
614// CHECK-NEXT:          <array>
615// CHECK-NEXT:           <dict>
616// CHECK-NEXT:            <key>line</key><integer>24</integer>
617// CHECK-NEXT:            <key>col</key><integer>5</integer>
618// CHECK-NEXT:            <key>file</key><integer>0</integer>
619// CHECK-NEXT:           </dict>
620// CHECK-NEXT:           <dict>
621// CHECK-NEXT:            <key>line</key><integer>24</integer>
622// CHECK-NEXT:            <key>col</key><integer>5</integer>
623// CHECK-NEXT:            <key>file</key><integer>0</integer>
624// CHECK-NEXT:           </dict>
625// CHECK-NEXT:          </array>
626// CHECK-NEXT:        </dict>
627// CHECK-NEXT:       </array>
628// CHECK-NEXT:     </dict>
629// CHECK-NEXT:     <dict>
630// CHECK-NEXT:      <key>kind</key><string>control</string>
631// CHECK-NEXT:      <key>edges</key>
632// CHECK-NEXT:       <array>
633// CHECK-NEXT:        <dict>
634// CHECK-NEXT:         <key>start</key>
635// CHECK-NEXT:          <array>
636// CHECK-NEXT:           <dict>
637// CHECK-NEXT:            <key>line</key><integer>24</integer>
638// CHECK-NEXT:            <key>col</key><integer>5</integer>
639// CHECK-NEXT:            <key>file</key><integer>0</integer>
640// CHECK-NEXT:           </dict>
641// CHECK-NEXT:           <dict>
642// CHECK-NEXT:            <key>line</key><integer>24</integer>
643// CHECK-NEXT:            <key>col</key><integer>5</integer>
644// CHECK-NEXT:            <key>file</key><integer>0</integer>
645// CHECK-NEXT:           </dict>
646// CHECK-NEXT:          </array>
647// CHECK-NEXT:         <key>end</key>
648// CHECK-NEXT:          <array>
649// CHECK-NEXT:           <dict>
650// CHECK-NEXT:            <key>line</key><integer>24</integer>
651// CHECK-NEXT:            <key>col</key><integer>8</integer>
652// CHECK-NEXT:            <key>file</key><integer>0</integer>
653// CHECK-NEXT:           </dict>
654// CHECK-NEXT:           <dict>
655// CHECK-NEXT:            <key>line</key><integer>24</integer>
656// CHECK-NEXT:            <key>col</key><integer>8</integer>
657// CHECK-NEXT:            <key>file</key><integer>0</integer>
658// CHECK-NEXT:           </dict>
659// CHECK-NEXT:          </array>
660// CHECK-NEXT:        </dict>
661// CHECK-NEXT:       </array>
662// CHECK-NEXT:     </dict>
663// CHECK-NEXT:     <dict>
664// CHECK-NEXT:      <key>kind</key><string>event</string>
665// CHECK-NEXT:      <key>location</key>
666// CHECK-NEXT:      <dict>
667// CHECK-NEXT:       <key>line</key><integer>24</integer>
668// CHECK-NEXT:       <key>col</key><integer>8</integer>
669// CHECK-NEXT:       <key>file</key><integer>0</integer>
670// CHECK-NEXT:      </dict>
671// CHECK-NEXT:      <key>ranges</key>
672// CHECK-NEXT:      <array>
673// CHECK-NEXT:        <array>
674// CHECK-NEXT:         <dict>
675// CHECK-NEXT:          <key>line</key><integer>24</integer>
676// CHECK-NEXT:          <key>col</key><integer>6</integer>
677// CHECK-NEXT:          <key>file</key><integer>0</integer>
678// CHECK-NEXT:         </dict>
679// CHECK-NEXT:         <dict>
680// CHECK-NEXT:          <key>line</key><integer>24</integer>
681// CHECK-NEXT:          <key>col</key><integer>6</integer>
682// CHECK-NEXT:          <key>file</key><integer>0</integer>
683// CHECK-NEXT:         </dict>
684// CHECK-NEXT:        </array>
685// CHECK-NEXT:      </array>
686// CHECK-NEXT:      <key>depth</key><integer>0</integer>
687// CHECK-NEXT:      <key>extended_message</key>
688// CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
689// CHECK-NEXT:      <key>message</key>
690// CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
691// CHECK-NEXT:     </dict>
692// CHECK-NEXT:    </array>
693// CHECK-NEXT:    <key>description</key><string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
694// CHECK-NEXT:    <key>category</key><string>Logic error</string>
695// CHECK-NEXT:    <key>type</key><string>Dereference of null pointer</string>
696// CHECK-NEXT:    <key>check_name</key><string>core.NullDereference</string>
697// CHECK-NEXT:    <!-- This hash is experimental and going to change! -->
698// CHECK-NEXT:    <key>issue_hash_content_of_line_in_context</key><string>659f01507ffd7efd3ca3eab7179fd7d2</string>
699// CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
700// CHECK-NEXT:   <key>issue_context</key><string>test_null_cond</string>
701// CHECK-NEXT:   <key>issue_hash_function_offset</key><string>2</string>
702// CHECK-NEXT:   <key>location</key>
703// CHECK-NEXT:   <dict>
704// CHECK-NEXT:    <key>line</key><integer>24</integer>
705// CHECK-NEXT:    <key>col</key><integer>8</integer>
706// CHECK-NEXT:    <key>file</key><integer>0</integer>
707// CHECK-NEXT:   </dict>
708// CHECK-NEXT:   </dict>
709// CHECK-NEXT:   <dict>
710// CHECK-NEXT:    <key>path</key>
711// CHECK-NEXT:    <array>
712// CHECK-NEXT:     <dict>
713// CHECK-NEXT:      <key>kind</key><string>control</string>
714// CHECK-NEXT:      <key>edges</key>
715// CHECK-NEXT:       <array>
716// CHECK-NEXT:        <dict>
717// CHECK-NEXT:         <key>start</key>
718// CHECK-NEXT:          <array>
719// CHECK-NEXT:           <dict>
720// CHECK-NEXT:            <key>line</key><integer>29</integer>
721// CHECK-NEXT:            <key>col</key><integer>3</integer>
722// CHECK-NEXT:            <key>file</key><integer>0</integer>
723// CHECK-NEXT:           </dict>
724// CHECK-NEXT:           <dict>
725// CHECK-NEXT:            <key>line</key><integer>29</integer>
726// CHECK-NEXT:            <key>col</key><integer>4</integer>
727// CHECK-NEXT:            <key>file</key><integer>0</integer>
728// CHECK-NEXT:           </dict>
729// CHECK-NEXT:          </array>
730// CHECK-NEXT:         <key>end</key>
731// CHECK-NEXT:          <array>
732// CHECK-NEXT:           <dict>
733// CHECK-NEXT:            <key>line</key><integer>29</integer>
734// CHECK-NEXT:            <key>col</key><integer>7</integer>
735// CHECK-NEXT:            <key>file</key><integer>0</integer>
736// CHECK-NEXT:           </dict>
737// CHECK-NEXT:           <dict>
738// CHECK-NEXT:            <key>line</key><integer>29</integer>
739// CHECK-NEXT:            <key>col</key><integer>7</integer>
740// CHECK-NEXT:            <key>file</key><integer>0</integer>
741// CHECK-NEXT:           </dict>
742// CHECK-NEXT:          </array>
743// CHECK-NEXT:        </dict>
744// CHECK-NEXT:       </array>
745// CHECK-NEXT:     </dict>
746// CHECK-NEXT:     <dict>
747// CHECK-NEXT:      <key>kind</key><string>event</string>
748// CHECK-NEXT:      <key>location</key>
749// CHECK-NEXT:      <dict>
750// CHECK-NEXT:       <key>line</key><integer>29</integer>
751// CHECK-NEXT:       <key>col</key><integer>7</integer>
752// CHECK-NEXT:       <key>file</key><integer>0</integer>
753// CHECK-NEXT:      </dict>
754// CHECK-NEXT:      <key>ranges</key>
755// CHECK-NEXT:      <array>
756// CHECK-NEXT:        <array>
757// CHECK-NEXT:         <dict>
758// CHECK-NEXT:          <key>line</key><integer>29</integer>
759// CHECK-NEXT:          <key>col</key><integer>7</integer>
760// CHECK-NEXT:          <key>file</key><integer>0</integer>
761// CHECK-NEXT:         </dict>
762// CHECK-NEXT:         <dict>
763// CHECK-NEXT:          <key>line</key><integer>29</integer>
764// CHECK-NEXT:          <key>col</key><integer>8</integer>
765// CHECK-NEXT:          <key>file</key><integer>0</integer>
766// CHECK-NEXT:         </dict>
767// CHECK-NEXT:        </array>
768// CHECK-NEXT:      </array>
769// CHECK-NEXT:      <key>depth</key><integer>0</integer>
770// CHECK-NEXT:      <key>extended_message</key>
771// CHECK-NEXT:      <string>Assuming &apos;q&apos; is null</string>
772// CHECK-NEXT:      <key>message</key>
773// CHECK-NEXT:      <string>Assuming &apos;q&apos; is null</string>
774// CHECK-NEXT:     </dict>
775// CHECK-NEXT:     <dict>
776// CHECK-NEXT:      <key>kind</key><string>control</string>
777// CHECK-NEXT:      <key>edges</key>
778// CHECK-NEXT:       <array>
779// CHECK-NEXT:        <dict>
780// CHECK-NEXT:         <key>start</key>
781// CHECK-NEXT:          <array>
782// CHECK-NEXT:           <dict>
783// CHECK-NEXT:            <key>line</key><integer>29</integer>
784// CHECK-NEXT:            <key>col</key><integer>7</integer>
785// CHECK-NEXT:            <key>file</key><integer>0</integer>
786// CHECK-NEXT:           </dict>
787// CHECK-NEXT:           <dict>
788// CHECK-NEXT:            <key>line</key><integer>29</integer>
789// CHECK-NEXT:            <key>col</key><integer>7</integer>
790// CHECK-NEXT:            <key>file</key><integer>0</integer>
791// CHECK-NEXT:           </dict>
792// CHECK-NEXT:          </array>
793// CHECK-NEXT:         <key>end</key>
794// CHECK-NEXT:          <array>
795// CHECK-NEXT:           <dict>
796// CHECK-NEXT:            <key>line</key><integer>30</integer>
797// CHECK-NEXT:            <key>col</key><integer>5</integer>
798// CHECK-NEXT:            <key>file</key><integer>0</integer>
799// CHECK-NEXT:           </dict>
800// CHECK-NEXT:           <dict>
801// CHECK-NEXT:            <key>line</key><integer>30</integer>
802// CHECK-NEXT:            <key>col</key><integer>7</integer>
803// CHECK-NEXT:            <key>file</key><integer>0</integer>
804// CHECK-NEXT:           </dict>
805// CHECK-NEXT:          </array>
806// CHECK-NEXT:        </dict>
807// CHECK-NEXT:       </array>
808// CHECK-NEXT:     </dict>
809// CHECK-NEXT:     <dict>
810// CHECK-NEXT:      <key>kind</key><string>event</string>
811// CHECK-NEXT:      <key>location</key>
812// CHECK-NEXT:      <dict>
813// CHECK-NEXT:       <key>line</key><integer>30</integer>
814// CHECK-NEXT:       <key>col</key><integer>5</integer>
815// CHECK-NEXT:       <key>file</key><integer>0</integer>
816// CHECK-NEXT:      </dict>
817// CHECK-NEXT:      <key>ranges</key>
818// CHECK-NEXT:      <array>
819// CHECK-NEXT:        <array>
820// CHECK-NEXT:         <dict>
821// CHECK-NEXT:          <key>line</key><integer>30</integer>
822// CHECK-NEXT:          <key>col</key><integer>5</integer>
823// CHECK-NEXT:          <key>file</key><integer>0</integer>
824// CHECK-NEXT:         </dict>
825// CHECK-NEXT:         <dict>
826// CHECK-NEXT:          <key>line</key><integer>30</integer>
827// CHECK-NEXT:          <key>col</key><integer>10</integer>
828// CHECK-NEXT:          <key>file</key><integer>0</integer>
829// CHECK-NEXT:         </dict>
830// CHECK-NEXT:        </array>
831// CHECK-NEXT:      </array>
832// CHECK-NEXT:      <key>depth</key><integer>0</integer>
833// CHECK-NEXT:      <key>extended_message</key>
834// CHECK-NEXT:      <string>&apos;p&apos; initialized to a null pointer value</string>
835// CHECK-NEXT:      <key>message</key>
836// CHECK-NEXT:      <string>&apos;p&apos; initialized to a null pointer value</string>
837// CHECK-NEXT:     </dict>
838// CHECK-NEXT:     <dict>
839// CHECK-NEXT:      <key>kind</key><string>control</string>
840// CHECK-NEXT:      <key>edges</key>
841// CHECK-NEXT:       <array>
842// CHECK-NEXT:        <dict>
843// CHECK-NEXT:         <key>start</key>
844// CHECK-NEXT:          <array>
845// CHECK-NEXT:           <dict>
846// CHECK-NEXT:            <key>line</key><integer>30</integer>
847// CHECK-NEXT:            <key>col</key><integer>5</integer>
848// CHECK-NEXT:            <key>file</key><integer>0</integer>
849// CHECK-NEXT:           </dict>
850// CHECK-NEXT:           <dict>
851// CHECK-NEXT:            <key>line</key><integer>30</integer>
852// CHECK-NEXT:            <key>col</key><integer>7</integer>
853// CHECK-NEXT:            <key>file</key><integer>0</integer>
854// CHECK-NEXT:           </dict>
855// CHECK-NEXT:          </array>
856// CHECK-NEXT:         <key>end</key>
857// CHECK-NEXT:          <array>
858// CHECK-NEXT:           <dict>
859// CHECK-NEXT:            <key>line</key><integer>31</integer>
860// CHECK-NEXT:            <key>col</key><integer>8</integer>
861// CHECK-NEXT:            <key>file</key><integer>0</integer>
862// CHECK-NEXT:           </dict>
863// CHECK-NEXT:           <dict>
864// CHECK-NEXT:            <key>line</key><integer>31</integer>
865// CHECK-NEXT:            <key>col</key><integer>8</integer>
866// CHECK-NEXT:            <key>file</key><integer>0</integer>
867// CHECK-NEXT:           </dict>
868// CHECK-NEXT:          </array>
869// CHECK-NEXT:        </dict>
870// CHECK-NEXT:       </array>
871// CHECK-NEXT:     </dict>
872// CHECK-NEXT:     <dict>
873// CHECK-NEXT:      <key>kind</key><string>event</string>
874// CHECK-NEXT:      <key>location</key>
875// CHECK-NEXT:      <dict>
876// CHECK-NEXT:       <key>line</key><integer>31</integer>
877// CHECK-NEXT:       <key>col</key><integer>8</integer>
878// CHECK-NEXT:       <key>file</key><integer>0</integer>
879// CHECK-NEXT:      </dict>
880// CHECK-NEXT:      <key>ranges</key>
881// CHECK-NEXT:      <array>
882// CHECK-NEXT:        <array>
883// CHECK-NEXT:         <dict>
884// CHECK-NEXT:          <key>line</key><integer>31</integer>
885// CHECK-NEXT:          <key>col</key><integer>6</integer>
886// CHECK-NEXT:          <key>file</key><integer>0</integer>
887// CHECK-NEXT:         </dict>
888// CHECK-NEXT:         <dict>
889// CHECK-NEXT:          <key>line</key><integer>31</integer>
890// CHECK-NEXT:          <key>col</key><integer>6</integer>
891// CHECK-NEXT:          <key>file</key><integer>0</integer>
892// CHECK-NEXT:         </dict>
893// CHECK-NEXT:        </array>
894// CHECK-NEXT:      </array>
895// CHECK-NEXT:      <key>depth</key><integer>0</integer>
896// CHECK-NEXT:      <key>extended_message</key>
897// CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
898// CHECK-NEXT:      <key>message</key>
899// CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
900// CHECK-NEXT:     </dict>
901// CHECK-NEXT:    </array>
902// CHECK-NEXT:    <key>description</key><string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
903// CHECK-NEXT:    <key>category</key><string>Logic error</string>
904// CHECK-NEXT:    <key>type</key><string>Dereference of null pointer</string>
905// CHECK-NEXT:    <key>check_name</key><string>core.NullDereference</string>
906// CHECK-NEXT:    <!-- This hash is experimental and going to change! -->
907// CHECK-NEXT:    <key>issue_hash_content_of_line_in_context</key><string>c90d51e62139e614b57aff7021240a82</string>
908// CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
909// CHECK-NEXT:   <key>issue_context</key><string>test_null_cond_transitive</string>
910// CHECK-NEXT:   <key>issue_hash_function_offset</key><string>3</string>
911// CHECK-NEXT:   <key>location</key>
912// CHECK-NEXT:   <dict>
913// CHECK-NEXT:    <key>line</key><integer>31</integer>
914// CHECK-NEXT:    <key>col</key><integer>8</integer>
915// CHECK-NEXT:    <key>file</key><integer>0</integer>
916// CHECK-NEXT:   </dict>
917// CHECK-NEXT:   </dict>
918// CHECK-NEXT:   <dict>
919// CHECK-NEXT:    <key>path</key>
920// CHECK-NEXT:    <array>
921// CHECK-NEXT:     <dict>
922// CHECK-NEXT:      <key>kind</key><string>control</string>
923// CHECK-NEXT:      <key>edges</key>
924// CHECK-NEXT:       <array>
925// CHECK-NEXT:        <dict>
926// CHECK-NEXT:         <key>start</key>
927// CHECK-NEXT:          <array>
928// CHECK-NEXT:           <dict>
929// CHECK-NEXT:            <key>line</key><integer>36</integer>
930// CHECK-NEXT:            <key>col</key><integer>3</integer>
931// CHECK-NEXT:            <key>file</key><integer>0</integer>
932// CHECK-NEXT:           </dict>
933// CHECK-NEXT:           <dict>
934// CHECK-NEXT:            <key>line</key><integer>36</integer>
935// CHECK-NEXT:            <key>col</key><integer>8</integer>
936// CHECK-NEXT:            <key>file</key><integer>0</integer>
937// CHECK-NEXT:           </dict>
938// CHECK-NEXT:          </array>
939// CHECK-NEXT:         <key>end</key>
940// CHECK-NEXT:          <array>
941// CHECK-NEXT:           <dict>
942// CHECK-NEXT:            <key>line</key><integer>36</integer>
943// CHECK-NEXT:            <key>col</key><integer>24</integer>
944// CHECK-NEXT:            <key>file</key><integer>0</integer>
945// CHECK-NEXT:           </dict>
946// CHECK-NEXT:           <dict>
947// CHECK-NEXT:            <key>line</key><integer>36</integer>
948// CHECK-NEXT:            <key>col</key><integer>24</integer>
949// CHECK-NEXT:            <key>file</key><integer>0</integer>
950// CHECK-NEXT:           </dict>
951// CHECK-NEXT:          </array>
952// CHECK-NEXT:        </dict>
953// CHECK-NEXT:       </array>
954// CHECK-NEXT:     </dict>
955// CHECK-NEXT:     <dict>
956// CHECK-NEXT:      <key>kind</key><string>control</string>
957// CHECK-NEXT:      <key>edges</key>
958// CHECK-NEXT:       <array>
959// CHECK-NEXT:        <dict>
960// CHECK-NEXT:         <key>start</key>
961// CHECK-NEXT:          <array>
962// CHECK-NEXT:           <dict>
963// CHECK-NEXT:            <key>line</key><integer>36</integer>
964// CHECK-NEXT:            <key>col</key><integer>24</integer>
965// CHECK-NEXT:            <key>file</key><integer>0</integer>
966// CHECK-NEXT:           </dict>
967// CHECK-NEXT:           <dict>
968// CHECK-NEXT:            <key>line</key><integer>36</integer>
969// CHECK-NEXT:            <key>col</key><integer>24</integer>
970// CHECK-NEXT:            <key>file</key><integer>0</integer>
971// CHECK-NEXT:           </dict>
972// CHECK-NEXT:          </array>
973// CHECK-NEXT:         <key>end</key>
974// CHECK-NEXT:          <array>
975// CHECK-NEXT:           <dict>
976// CHECK-NEXT:            <key>line</key><integer>37</integer>
977// CHECK-NEXT:            <key>col</key><integer>3</integer>
978// CHECK-NEXT:            <key>file</key><integer>0</integer>
979// CHECK-NEXT:           </dict>
980// CHECK-NEXT:           <dict>
981// CHECK-NEXT:            <key>line</key><integer>37</integer>
982// CHECK-NEXT:            <key>col</key><integer>3</integer>
983// CHECK-NEXT:            <key>file</key><integer>0</integer>
984// CHECK-NEXT:           </dict>
985// CHECK-NEXT:          </array>
986// CHECK-NEXT:        </dict>
987// CHECK-NEXT:       </array>
988// CHECK-NEXT:     </dict>
989// CHECK-NEXT:     <dict>
990// CHECK-NEXT:      <key>kind</key><string>event</string>
991// CHECK-NEXT:      <key>location</key>
992// CHECK-NEXT:      <dict>
993// CHECK-NEXT:       <key>line</key><integer>37</integer>
994// CHECK-NEXT:       <key>col</key><integer>3</integer>
995// CHECK-NEXT:       <key>file</key><integer>0</integer>
996// CHECK-NEXT:      </dict>
997// CHECK-NEXT:      <key>ranges</key>
998// CHECK-NEXT:      <array>
999// CHECK-NEXT:        <array>
1000// CHECK-NEXT:         <dict>
1001// CHECK-NEXT:          <key>line</key><integer>37</integer>
1002// CHECK-NEXT:          <key>col</key><integer>3</integer>
1003// CHECK-NEXT:          <key>file</key><integer>0</integer>
1004// CHECK-NEXT:         </dict>
1005// CHECK-NEXT:         <dict>
1006// CHECK-NEXT:          <key>line</key><integer>37</integer>
1007// CHECK-NEXT:          <key>col</key><integer>9</integer>
1008// CHECK-NEXT:          <key>file</key><integer>0</integer>
1009// CHECK-NEXT:         </dict>
1010// CHECK-NEXT:        </array>
1011// CHECK-NEXT:      </array>
1012// CHECK-NEXT:      <key>depth</key><integer>0</integer>
1013// CHECK-NEXT:      <key>extended_message</key>
1014// CHECK-NEXT:      <string>Null pointer value stored to &apos;x.p&apos;</string>
1015// CHECK-NEXT:      <key>message</key>
1016// CHECK-NEXT:      <string>Null pointer value stored to &apos;x.p&apos;</string>
1017// CHECK-NEXT:     </dict>
1018// CHECK-NEXT:     <dict>
1019// CHECK-NEXT:      <key>kind</key><string>control</string>
1020// CHECK-NEXT:      <key>edges</key>
1021// CHECK-NEXT:       <array>
1022// CHECK-NEXT:        <dict>
1023// CHECK-NEXT:         <key>start</key>
1024// CHECK-NEXT:          <array>
1025// CHECK-NEXT:           <dict>
1026// CHECK-NEXT:            <key>line</key><integer>37</integer>
1027// CHECK-NEXT:            <key>col</key><integer>3</integer>
1028// CHECK-NEXT:            <key>file</key><integer>0</integer>
1029// CHECK-NEXT:           </dict>
1030// CHECK-NEXT:           <dict>
1031// CHECK-NEXT:            <key>line</key><integer>37</integer>
1032// CHECK-NEXT:            <key>col</key><integer>3</integer>
1033// CHECK-NEXT:            <key>file</key><integer>0</integer>
1034// CHECK-NEXT:           </dict>
1035// CHECK-NEXT:          </array>
1036// CHECK-NEXT:         <key>end</key>
1037// CHECK-NEXT:          <array>
1038// CHECK-NEXT:           <dict>
1039// CHECK-NEXT:            <key>line</key><integer>38</integer>
1040// CHECK-NEXT:            <key>col</key><integer>10</integer>
1041// CHECK-NEXT:            <key>file</key><integer>0</integer>
1042// CHECK-NEXT:           </dict>
1043// CHECK-NEXT:           <dict>
1044// CHECK-NEXT:            <key>line</key><integer>38</integer>
1045// CHECK-NEXT:            <key>col</key><integer>10</integer>
1046// CHECK-NEXT:            <key>file</key><integer>0</integer>
1047// CHECK-NEXT:           </dict>
1048// CHECK-NEXT:          </array>
1049// CHECK-NEXT:        </dict>
1050// CHECK-NEXT:       </array>
1051// CHECK-NEXT:     </dict>
1052// CHECK-NEXT:     <dict>
1053// CHECK-NEXT:      <key>kind</key><string>event</string>
1054// CHECK-NEXT:      <key>location</key>
1055// CHECK-NEXT:      <dict>
1056// CHECK-NEXT:       <key>line</key><integer>38</integer>
1057// CHECK-NEXT:       <key>col</key><integer>10</integer>
1058// CHECK-NEXT:       <key>file</key><integer>0</integer>
1059// CHECK-NEXT:      </dict>
1060// CHECK-NEXT:      <key>ranges</key>
1061// CHECK-NEXT:      <array>
1062// CHECK-NEXT:        <array>
1063// CHECK-NEXT:         <dict>
1064// CHECK-NEXT:          <key>line</key><integer>38</integer>
1065// CHECK-NEXT:          <key>col</key><integer>7</integer>
1066// CHECK-NEXT:          <key>file</key><integer>0</integer>
1067// CHECK-NEXT:         </dict>
1068// CHECK-NEXT:         <dict>
1069// CHECK-NEXT:          <key>line</key><integer>38</integer>
1070// CHECK-NEXT:          <key>col</key><integer>7</integer>
1071// CHECK-NEXT:          <key>file</key><integer>0</integer>
1072// CHECK-NEXT:         </dict>
1073// CHECK-NEXT:        </array>
1074// CHECK-NEXT:      </array>
1075// CHECK-NEXT:      <key>depth</key><integer>0</integer>
1076// CHECK-NEXT:      <key>extended_message</key>
1077// CHECK-NEXT:      <string>Dereference of null pointer (loaded from field &apos;p&apos;)</string>
1078// CHECK-NEXT:      <key>message</key>
1079// CHECK-NEXT:      <string>Dereference of null pointer (loaded from field &apos;p&apos;)</string>
1080// CHECK-NEXT:     </dict>
1081// CHECK-NEXT:    </array>
1082// CHECK-NEXT:    <key>description</key><string>Dereference of null pointer (loaded from field &apos;p&apos;)</string>
1083// CHECK-NEXT:    <key>category</key><string>Logic error</string>
1084// CHECK-NEXT:    <key>type</key><string>Dereference of null pointer</string>
1085// CHECK-NEXT:    <key>check_name</key><string>core.NullDereference</string>
1086// CHECK-NEXT:    <!-- This hash is experimental and going to change! -->
1087// CHECK-NEXT:    <key>issue_hash_content_of_line_in_context</key><string>245408d2bc416e324064d990e6dd82a8</string>
1088// CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
1089// CHECK-NEXT:   <key>issue_context</key><string>test_null_field</string>
1090// CHECK-NEXT:   <key>issue_hash_function_offset</key><string>3</string>
1091// CHECK-NEXT:   <key>location</key>
1092// CHECK-NEXT:   <dict>
1093// CHECK-NEXT:    <key>line</key><integer>38</integer>
1094// CHECK-NEXT:    <key>col</key><integer>10</integer>
1095// CHECK-NEXT:    <key>file</key><integer>0</integer>
1096// CHECK-NEXT:   </dict>
1097// CHECK-NEXT:   </dict>
1098// CHECK-NEXT:   <dict>
1099// CHECK-NEXT:    <key>path</key>
1100// CHECK-NEXT:    <array>
1101// CHECK-NEXT:     <dict>
1102// CHECK-NEXT:      <key>kind</key><string>control</string>
1103// CHECK-NEXT:      <key>edges</key>
1104// CHECK-NEXT:       <array>
1105// CHECK-NEXT:        <dict>
1106// CHECK-NEXT:         <key>start</key>
1107// CHECK-NEXT:          <array>
1108// CHECK-NEXT:           <dict>
1109// CHECK-NEXT:            <key>line</key><integer>53</integer>
1110// CHECK-NEXT:            <key>col</key><integer>3</integer>
1111// CHECK-NEXT:            <key>file</key><integer>0</integer>
1112// CHECK-NEXT:           </dict>
1113// CHECK-NEXT:           <dict>
1114// CHECK-NEXT:            <key>line</key><integer>53</integer>
1115// CHECK-NEXT:            <key>col</key><integer>8</integer>
1116// CHECK-NEXT:            <key>file</key><integer>0</integer>
1117// CHECK-NEXT:           </dict>
1118// CHECK-NEXT:          </array>
1119// CHECK-NEXT:         <key>end</key>
1120// CHECK-NEXT:          <array>
1121// CHECK-NEXT:           <dict>
1122// CHECK-NEXT:            <key>line</key><integer>54</integer>
1123// CHECK-NEXT:            <key>col</key><integer>3</integer>
1124// CHECK-NEXT:            <key>file</key><integer>0</integer>
1125// CHECK-NEXT:           </dict>
1126// CHECK-NEXT:           <dict>
1127// CHECK-NEXT:            <key>line</key><integer>54</integer>
1128// CHECK-NEXT:            <key>col</key><integer>13</integer>
1129// CHECK-NEXT:            <key>file</key><integer>0</integer>
1130// CHECK-NEXT:           </dict>
1131// CHECK-NEXT:          </array>
1132// CHECK-NEXT:        </dict>
1133// CHECK-NEXT:       </array>
1134// CHECK-NEXT:     </dict>
1135// CHECK-NEXT:     <dict>
1136// CHECK-NEXT:      <key>kind</key><string>control</string>
1137// CHECK-NEXT:      <key>edges</key>
1138// CHECK-NEXT:       <array>
1139// CHECK-NEXT:        <dict>
1140// CHECK-NEXT:         <key>start</key>
1141// CHECK-NEXT:          <array>
1142// CHECK-NEXT:           <dict>
1143// CHECK-NEXT:            <key>line</key><integer>54</integer>
1144// CHECK-NEXT:            <key>col</key><integer>3</integer>
1145// CHECK-NEXT:            <key>file</key><integer>0</integer>
1146// CHECK-NEXT:           </dict>
1147// CHECK-NEXT:           <dict>
1148// CHECK-NEXT:            <key>line</key><integer>54</integer>
1149// CHECK-NEXT:            <key>col</key><integer>13</integer>
1150// CHECK-NEXT:            <key>file</key><integer>0</integer>
1151// CHECK-NEXT:           </dict>
1152// CHECK-NEXT:          </array>
1153// CHECK-NEXT:         <key>end</key>
1154// CHECK-NEXT:          <array>
1155// CHECK-NEXT:           <dict>
1156// CHECK-NEXT:            <key>line</key><integer>54</integer>
1157// CHECK-NEXT:            <key>col</key><integer>23</integer>
1158// CHECK-NEXT:            <key>file</key><integer>0</integer>
1159// CHECK-NEXT:           </dict>
1160// CHECK-NEXT:           <dict>
1161// CHECK-NEXT:            <key>line</key><integer>54</integer>
1162// CHECK-NEXT:            <key>col</key><integer>36</integer>
1163// CHECK-NEXT:            <key>file</key><integer>0</integer>
1164// CHECK-NEXT:           </dict>
1165// CHECK-NEXT:          </array>
1166// CHECK-NEXT:        </dict>
1167// CHECK-NEXT:       </array>
1168// CHECK-NEXT:     </dict>
1169// CHECK-NEXT:     <dict>
1170// CHECK-NEXT:      <key>kind</key><string>event</string>
1171// CHECK-NEXT:      <key>location</key>
1172// CHECK-NEXT:      <dict>
1173// CHECK-NEXT:       <key>line</key><integer>54</integer>
1174// CHECK-NEXT:       <key>col</key><integer>23</integer>
1175// CHECK-NEXT:       <key>file</key><integer>0</integer>
1176// CHECK-NEXT:      </dict>
1177// CHECK-NEXT:      <key>ranges</key>
1178// CHECK-NEXT:      <array>
1179// CHECK-NEXT:        <array>
1180// CHECK-NEXT:         <dict>
1181// CHECK-NEXT:          <key>line</key><integer>54</integer>
1182// CHECK-NEXT:          <key>col</key><integer>23</integer>
1183// CHECK-NEXT:          <key>file</key><integer>0</integer>
1184// CHECK-NEXT:         </dict>
1185// CHECK-NEXT:         <dict>
1186// CHECK-NEXT:          <key>line</key><integer>54</integer>
1187// CHECK-NEXT:          <key>col</key><integer>82</integer>
1188// CHECK-NEXT:          <key>file</key><integer>0</integer>
1189// CHECK-NEXT:         </dict>
1190// CHECK-NEXT:        </array>
1191// CHECK-NEXT:      </array>
1192// CHECK-NEXT:      <key>depth</key><integer>0</integer>
1193// CHECK-NEXT:      <key>extended_message</key>
1194// CHECK-NEXT:      <string>Call to function &apos;CFNumberCreate&apos; returns a Core Foundation object with a +1 retain count</string>
1195// CHECK-NEXT:      <key>message</key>
1196// CHECK-NEXT:      <string>Call to function &apos;CFNumberCreate&apos; returns a Core Foundation object with a +1 retain count</string>
1197// CHECK-NEXT:     </dict>
1198// CHECK-NEXT:     <dict>
1199// CHECK-NEXT:      <key>kind</key><string>control</string>
1200// CHECK-NEXT:      <key>edges</key>
1201// CHECK-NEXT:       <array>
1202// CHECK-NEXT:        <dict>
1203// CHECK-NEXT:         <key>start</key>
1204// CHECK-NEXT:          <array>
1205// CHECK-NEXT:           <dict>
1206// CHECK-NEXT:            <key>line</key><integer>54</integer>
1207// CHECK-NEXT:            <key>col</key><integer>23</integer>
1208// CHECK-NEXT:            <key>file</key><integer>0</integer>
1209// CHECK-NEXT:           </dict>
1210// CHECK-NEXT:           <dict>
1211// CHECK-NEXT:            <key>line</key><integer>54</integer>
1212// CHECK-NEXT:            <key>col</key><integer>36</integer>
1213// CHECK-NEXT:            <key>file</key><integer>0</integer>
1214// CHECK-NEXT:           </dict>
1215// CHECK-NEXT:          </array>
1216// CHECK-NEXT:         <key>end</key>
1217// CHECK-NEXT:          <array>
1218// CHECK-NEXT:           <dict>
1219// CHECK-NEXT:            <key>line</key><integer>55</integer>
1220// CHECK-NEXT:            <key>col</key><integer>3</integer>
1221// CHECK-NEXT:            <key>file</key><integer>0</integer>
1222// CHECK-NEXT:           </dict>
1223// CHECK-NEXT:           <dict>
1224// CHECK-NEXT:            <key>line</key><integer>55</integer>
1225// CHECK-NEXT:            <key>col</key><integer>4</integer>
1226// CHECK-NEXT:            <key>file</key><integer>0</integer>
1227// CHECK-NEXT:           </dict>
1228// CHECK-NEXT:          </array>
1229// CHECK-NEXT:        </dict>
1230// CHECK-NEXT:       </array>
1231// CHECK-NEXT:     </dict>
1232// CHECK-NEXT:     <dict>
1233// CHECK-NEXT:      <key>kind</key><string>control</string>
1234// CHECK-NEXT:      <key>edges</key>
1235// CHECK-NEXT:       <array>
1236// CHECK-NEXT:        <dict>
1237// CHECK-NEXT:         <key>start</key>
1238// CHECK-NEXT:          <array>
1239// CHECK-NEXT:           <dict>
1240// CHECK-NEXT:            <key>line</key><integer>55</integer>
1241// CHECK-NEXT:            <key>col</key><integer>3</integer>
1242// CHECK-NEXT:            <key>file</key><integer>0</integer>
1243// CHECK-NEXT:           </dict>
1244// CHECK-NEXT:           <dict>
1245// CHECK-NEXT:            <key>line</key><integer>55</integer>
1246// CHECK-NEXT:            <key>col</key><integer>4</integer>
1247// CHECK-NEXT:            <key>file</key><integer>0</integer>
1248// CHECK-NEXT:           </dict>
1249// CHECK-NEXT:          </array>
1250// CHECK-NEXT:         <key>end</key>
1251// CHECK-NEXT:          <array>
1252// CHECK-NEXT:           <dict>
1253// CHECK-NEXT:            <key>line</key><integer>55</integer>
1254// CHECK-NEXT:            <key>col</key><integer>7</integer>
1255// CHECK-NEXT:            <key>file</key><integer>0</integer>
1256// CHECK-NEXT:           </dict>
1257// CHECK-NEXT:           <dict>
1258// CHECK-NEXT:            <key>line</key><integer>55</integer>
1259// CHECK-NEXT:            <key>col</key><integer>7</integer>
1260// CHECK-NEXT:            <key>file</key><integer>0</integer>
1261// CHECK-NEXT:           </dict>
1262// CHECK-NEXT:          </array>
1263// CHECK-NEXT:        </dict>
1264// CHECK-NEXT:       </array>
1265// CHECK-NEXT:     </dict>
1266// CHECK-NEXT:     <dict>
1267// CHECK-NEXT:      <key>kind</key><string>event</string>
1268// CHECK-NEXT:      <key>location</key>
1269// CHECK-NEXT:      <dict>
1270// CHECK-NEXT:       <key>line</key><integer>55</integer>
1271// CHECK-NEXT:       <key>col</key><integer>7</integer>
1272// CHECK-NEXT:       <key>file</key><integer>0</integer>
1273// CHECK-NEXT:      </dict>
1274// CHECK-NEXT:      <key>ranges</key>
1275// CHECK-NEXT:      <array>
1276// CHECK-NEXT:        <array>
1277// CHECK-NEXT:         <dict>
1278// CHECK-NEXT:          <key>line</key><integer>55</integer>
1279// CHECK-NEXT:          <key>col</key><integer>7</integer>
1280// CHECK-NEXT:          <key>file</key><integer>0</integer>
1281// CHECK-NEXT:         </dict>
1282// CHECK-NEXT:         <dict>
1283// CHECK-NEXT:          <key>line</key><integer>55</integer>
1284// CHECK-NEXT:          <key>col</key><integer>7</integer>
1285// CHECK-NEXT:          <key>file</key><integer>0</integer>
1286// CHECK-NEXT:         </dict>
1287// CHECK-NEXT:        </array>
1288// CHECK-NEXT:      </array>
1289// CHECK-NEXT:      <key>depth</key><integer>0</integer>
1290// CHECK-NEXT:      <key>extended_message</key>
1291// CHECK-NEXT:      <string>Assuming &apos;x&apos; is 0</string>
1292// CHECK-NEXT:      <key>message</key>
1293// CHECK-NEXT:      <string>Assuming &apos;x&apos; is 0</string>
1294// CHECK-NEXT:     </dict>
1295// CHECK-NEXT:     <dict>
1296// CHECK-NEXT:      <key>kind</key><string>control</string>
1297// CHECK-NEXT:      <key>edges</key>
1298// CHECK-NEXT:       <array>
1299// CHECK-NEXT:        <dict>
1300// CHECK-NEXT:         <key>start</key>
1301// CHECK-NEXT:          <array>
1302// CHECK-NEXT:           <dict>
1303// CHECK-NEXT:            <key>line</key><integer>55</integer>
1304// CHECK-NEXT:            <key>col</key><integer>7</integer>
1305// CHECK-NEXT:            <key>file</key><integer>0</integer>
1306// CHECK-NEXT:           </dict>
1307// CHECK-NEXT:           <dict>
1308// CHECK-NEXT:            <key>line</key><integer>55</integer>
1309// CHECK-NEXT:            <key>col</key><integer>7</integer>
1310// CHECK-NEXT:            <key>file</key><integer>0</integer>
1311// CHECK-NEXT:           </dict>
1312// CHECK-NEXT:          </array>
1313// CHECK-NEXT:         <key>end</key>
1314// CHECK-NEXT:          <array>
1315// CHECK-NEXT:           <dict>
1316// CHECK-NEXT:            <key>line</key><integer>57</integer>
1317// CHECK-NEXT:            <key>col</key><integer>10</integer>
1318// CHECK-NEXT:            <key>file</key><integer>0</integer>
1319// CHECK-NEXT:           </dict>
1320// CHECK-NEXT:           <dict>
1321// CHECK-NEXT:            <key>line</key><integer>57</integer>
1322// CHECK-NEXT:            <key>col</key><integer>14</integer>
1323// CHECK-NEXT:            <key>file</key><integer>0</integer>
1324// CHECK-NEXT:           </dict>
1325// CHECK-NEXT:          </array>
1326// CHECK-NEXT:        </dict>
1327// CHECK-NEXT:       </array>
1328// CHECK-NEXT:     </dict>
1329// CHECK-NEXT:     <dict>
1330// CHECK-NEXT:      <key>kind</key><string>control</string>
1331// CHECK-NEXT:      <key>edges</key>
1332// CHECK-NEXT:       <array>
1333// CHECK-NEXT:        <dict>
1334// CHECK-NEXT:         <key>start</key>
1335// CHECK-NEXT:          <array>
1336// CHECK-NEXT:           <dict>
1337// CHECK-NEXT:            <key>line</key><integer>57</integer>
1338// CHECK-NEXT:            <key>col</key><integer>10</integer>
1339// CHECK-NEXT:            <key>file</key><integer>0</integer>
1340// CHECK-NEXT:           </dict>
1341// CHECK-NEXT:           <dict>
1342// CHECK-NEXT:            <key>line</key><integer>57</integer>
1343// CHECK-NEXT:            <key>col</key><integer>14</integer>
1344// CHECK-NEXT:            <key>file</key><integer>0</integer>
1345// CHECK-NEXT:           </dict>
1346// CHECK-NEXT:          </array>
1347// CHECK-NEXT:         <key>end</key>
1348// CHECK-NEXT:          <array>
1349// CHECK-NEXT:           <dict>
1350// CHECK-NEXT:            <key>line</key><integer>58</integer>
1351// CHECK-NEXT:            <key>col</key><integer>1</integer>
1352// CHECK-NEXT:            <key>file</key><integer>0</integer>
1353// CHECK-NEXT:           </dict>
1354// CHECK-NEXT:           <dict>
1355// CHECK-NEXT:            <key>line</key><integer>58</integer>
1356// CHECK-NEXT:            <key>col</key><integer>1</integer>
1357// CHECK-NEXT:            <key>file</key><integer>0</integer>
1358// CHECK-NEXT:           </dict>
1359// CHECK-NEXT:          </array>
1360// CHECK-NEXT:        </dict>
1361// CHECK-NEXT:       </array>
1362// CHECK-NEXT:     </dict>
1363// CHECK-NEXT:     <dict>
1364// CHECK-NEXT:      <key>kind</key><string>event</string>
1365// CHECK-NEXT:      <key>location</key>
1366// CHECK-NEXT:      <dict>
1367// CHECK-NEXT:       <key>line</key><integer>58</integer>
1368// CHECK-NEXT:       <key>col</key><integer>1</integer>
1369// CHECK-NEXT:       <key>file</key><integer>0</integer>
1370// CHECK-NEXT:      </dict>
1371// CHECK-NEXT:      <key>depth</key><integer>0</integer>
1372// CHECK-NEXT:      <key>extended_message</key>
1373// CHECK-NEXT:      <string>Object leaked: object allocated and stored into &apos;value&apos; is not referenced later in this execution path and has a retain count of +1</string>
1374// CHECK-NEXT:      <key>message</key>
1375// CHECK-NEXT:      <string>Object leaked: object allocated and stored into &apos;value&apos; is not referenced later in this execution path and has a retain count of +1</string>
1376// CHECK-NEXT:     </dict>
1377// CHECK-NEXT:    </array>
1378// CHECK-NEXT:    <key>description</key><string>Potential leak of an object stored into &apos;value&apos;</string>
1379// CHECK-NEXT:    <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
1380// CHECK-NEXT:    <key>type</key><string>Leak</string>
1381// CHECK-NEXT:    <key>check_name</key><string>osx.cocoa.RetainCount</string>
1382// CHECK-NEXT:    <!-- This hash is experimental and going to change! -->
1383// CHECK-NEXT:    <key>issue_hash_content_of_line_in_context</key><string>29a10ca4af622b6146ca082e49d919d6</string>
1384// CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
1385// CHECK-NEXT:   <key>issue_context</key><string>rdar8331641</string>
1386// CHECK-NEXT:   <key>issue_hash_function_offset</key><string>2</string>
1387// CHECK-NEXT:   <key>location</key>
1388// CHECK-NEXT:   <dict>
1389// CHECK-NEXT:    <key>line</key><integer>58</integer>
1390// CHECK-NEXT:    <key>col</key><integer>1</integer>
1391// CHECK-NEXT:    <key>file</key><integer>0</integer>
1392// CHECK-NEXT:   </dict>
1393// CHECK-NEXT:   </dict>
1394// CHECK-NEXT:  </array>
1395