• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,unix -analyzer-eagerly-assume -verify %s
2 // RUN: %clang_cc1 -analyze -analyzer-checker=core,unix -analyzer-eagerly-assume -analyzer-output=plist-multi-file -analyzer-config path-diagnostics-alternate=ture %s -o %t.plist
3 // RUN: FileCheck --input-file=%t.plist %s
4 
5 
6 typedef __typeof(sizeof(int)) size_t;
7 void *malloc(size_t);
8 
9 #define mallocmemory int *x = (int*)malloc(12);
noteOnMacro(int y)10 void noteOnMacro(int y) {
11   y++;
12   y--;
13   mallocmemory
14   y++;
15   y++;
16   delete x; // expected-warning {{Memory allocated by malloc() should be deallocated by free(), not 'delete'}}
17 }
18 
macroIsFirstInFunction(int y)19 void macroIsFirstInFunction(int y) {
20   mallocmemory
21   y++; // expected-warning {{Potential leak of memory pointed to by 'x'}}
22 }
23 
24 #define checkmacro p==0
25 void macroInExpressionAux(bool b);
macroInExpression(int * p,int y)26 int macroInExpression(int *p, int y) {;
27   y++;
28   macroInExpressionAux(checkmacro);
29 
30   return *p; // expected-warning {{Dereference of null pointer}}
31 }
32 
33 #define noPathNoteMacro y+y
macroInExpressionNoNote(int * p,int y)34 int macroInExpressionNoNote(int *p, int y) {;
35   y++;
36   if (5 + noPathNoteMacro)
37     if (p)
38       ;
39   return *p; // expected-warning {{Dereference of null pointer}}
40 }
41 
42 #define macroWithArg(mp) mp==0
macroWithArgInExpression(int * p,int y)43 int macroWithArgInExpression(int *p, int y) {;
44   y++;
45   if (macroWithArg(p))
46     ;
47   return *p; // expected-warning {{Dereference of null pointer}}
48 }
49 
50 #define multiNoteMacroWithError \
51   if (p) \
52     ;\
53   *p = 5;
useMultiNoteMacroWithError(int * p,int y)54 int useMultiNoteMacroWithError(int *p, int y) {;
55   y++;
56   multiNoteMacroWithError  // expected-warning {{Dereference of null pointer}}
57 
58   return *p;
59 }
60 
61 #define multiNoteMacro \
62 if (p) \
63   ;\
64 if (y) \
65   ;
useMultiNote(int * p,int y)66 int useMultiNote(int *p, int y) {;
67   y++;
68   multiNoteMacro
69 
70   return *p; // expected-warning {{Dereference of null pointer}}
71 }
72 
73 #define CALL_FN(a) null_deref(a)
74 
null_deref(int * a)75 void null_deref(int *a) {
76   if (a)
77     return;
78   *a = 1; // expected-warning {{Dereference of null pointer}}
79 }
80 
test1()81 void test1() {
82   CALL_FN(0);
83 }
84 
test2(int * p)85 void test2(int *p) {
86   CALL_FN(p);
87 }
88 // CHECK:  <key>diagnostics</key>
89 // CHECK-NEXT:  <array>
90 // CHECK-NEXT:   <dict>
91 // CHECK-NEXT:    <key>path</key>
92 // CHECK-NEXT:    <array>
93 // CHECK-NEXT:     <dict>
94 // CHECK-NEXT:      <key>kind</key><string>control</string>
95 // CHECK-NEXT:      <key>edges</key>
96 // CHECK-NEXT:       <array>
97 // CHECK-NEXT:        <dict>
98 // CHECK-NEXT:         <key>start</key>
99 // CHECK-NEXT:          <array>
100 // CHECK-NEXT:           <dict>
101 // CHECK-NEXT:            <key>line</key><integer>11</integer>
102 // CHECK-NEXT:            <key>col</key><integer>3</integer>
103 // CHECK-NEXT:            <key>file</key><integer>0</integer>
104 // CHECK-NEXT:           </dict>
105 // CHECK-NEXT:           <dict>
106 // CHECK-NEXT:            <key>line</key><integer>11</integer>
107 // CHECK-NEXT:            <key>col</key><integer>3</integer>
108 // CHECK-NEXT:            <key>file</key><integer>0</integer>
109 // CHECK-NEXT:           </dict>
110 // CHECK-NEXT:          </array>
111 // CHECK-NEXT:         <key>end</key>
112 // CHECK-NEXT:          <array>
113 // CHECK-NEXT:           <dict>
114 // CHECK-NEXT:            <key>line</key><integer>13</integer>
115 // CHECK-NEXT:            <key>col</key><integer>3</integer>
116 // CHECK-NEXT:            <key>file</key><integer>0</integer>
117 // CHECK-NEXT:           </dict>
118 // CHECK-NEXT:           <dict>
119 // CHECK-NEXT:            <key>line</key><integer>13</integer>
120 // CHECK-NEXT:            <key>col</key><integer>14</integer>
121 // CHECK-NEXT:            <key>file</key><integer>0</integer>
122 // CHECK-NEXT:           </dict>
123 // CHECK-NEXT:          </array>
124 // CHECK-NEXT:        </dict>
125 // CHECK-NEXT:       </array>
126 // CHECK-NEXT:     </dict>
127 // CHECK-NEXT:     <dict>
128 // CHECK-NEXT:      <key>kind</key><string>event</string>
129 // CHECK-NEXT:      <key>location</key>
130 // CHECK-NEXT:      <dict>
131 // CHECK-NEXT:       <key>line</key><integer>13</integer>
132 // CHECK-NEXT:       <key>col</key><integer>3</integer>
133 // CHECK-NEXT:       <key>file</key><integer>0</integer>
134 // CHECK-NEXT:      </dict>
135 // CHECK-NEXT:      <key>ranges</key>
136 // CHECK-NEXT:      <array>
137 // CHECK-NEXT:        <array>
138 // CHECK-NEXT:         <dict>
139 // CHECK-NEXT:          <key>line</key><integer>13</integer>
140 // CHECK-NEXT:          <key>col</key><integer>3</integer>
141 // CHECK-NEXT:          <key>file</key><integer>0</integer>
142 // CHECK-NEXT:         </dict>
143 // CHECK-NEXT:         <dict>
144 // CHECK-NEXT:          <key>line</key><integer>13</integer>
145 // CHECK-NEXT:          <key>col</key><integer>14</integer>
146 // CHECK-NEXT:          <key>file</key><integer>0</integer>
147 // CHECK-NEXT:         </dict>
148 // CHECK-NEXT:        </array>
149 // CHECK-NEXT:      </array>
150 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
151 // CHECK-NEXT:      <key>extended_message</key>
152 // CHECK-NEXT:      <string>Memory is allocated</string>
153 // CHECK-NEXT:      <key>message</key>
154 // CHECK-NEXT:      <string>Memory is allocated</string>
155 // CHECK-NEXT:     </dict>
156 // CHECK-NEXT:     <dict>
157 // CHECK-NEXT:      <key>kind</key><string>control</string>
158 // CHECK-NEXT:      <key>edges</key>
159 // CHECK-NEXT:       <array>
160 // CHECK-NEXT:        <dict>
161 // CHECK-NEXT:         <key>start</key>
162 // CHECK-NEXT:          <array>
163 // CHECK-NEXT:           <dict>
164 // CHECK-NEXT:            <key>line</key><integer>13</integer>
165 // CHECK-NEXT:            <key>col</key><integer>3</integer>
166 // CHECK-NEXT:            <key>file</key><integer>0</integer>
167 // CHECK-NEXT:           </dict>
168 // CHECK-NEXT:           <dict>
169 // CHECK-NEXT:            <key>line</key><integer>13</integer>
170 // CHECK-NEXT:            <key>col</key><integer>14</integer>
171 // CHECK-NEXT:            <key>file</key><integer>0</integer>
172 // CHECK-NEXT:           </dict>
173 // CHECK-NEXT:          </array>
174 // CHECK-NEXT:         <key>end</key>
175 // CHECK-NEXT:          <array>
176 // CHECK-NEXT:           <dict>
177 // CHECK-NEXT:            <key>line</key><integer>16</integer>
178 // CHECK-NEXT:            <key>col</key><integer>3</integer>
179 // CHECK-NEXT:            <key>file</key><integer>0</integer>
180 // CHECK-NEXT:           </dict>
181 // CHECK-NEXT:           <dict>
182 // CHECK-NEXT:            <key>line</key><integer>16</integer>
183 // CHECK-NEXT:            <key>col</key><integer>8</integer>
184 // CHECK-NEXT:            <key>file</key><integer>0</integer>
185 // CHECK-NEXT:           </dict>
186 // CHECK-NEXT:          </array>
187 // CHECK-NEXT:        </dict>
188 // CHECK-NEXT:       </array>
189 // CHECK-NEXT:     </dict>
190 // CHECK-NEXT:     <dict>
191 // CHECK-NEXT:      <key>kind</key><string>event</string>
192 // CHECK-NEXT:      <key>location</key>
193 // CHECK-NEXT:      <dict>
194 // CHECK-NEXT:       <key>line</key><integer>16</integer>
195 // CHECK-NEXT:       <key>col</key><integer>3</integer>
196 // CHECK-NEXT:       <key>file</key><integer>0</integer>
197 // CHECK-NEXT:      </dict>
198 // CHECK-NEXT:      <key>ranges</key>
199 // CHECK-NEXT:      <array>
200 // CHECK-NEXT:        <array>
201 // CHECK-NEXT:         <dict>
202 // CHECK-NEXT:          <key>line</key><integer>16</integer>
203 // CHECK-NEXT:          <key>col</key><integer>10</integer>
204 // CHECK-NEXT:          <key>file</key><integer>0</integer>
205 // CHECK-NEXT:         </dict>
206 // CHECK-NEXT:         <dict>
207 // CHECK-NEXT:          <key>line</key><integer>16</integer>
208 // CHECK-NEXT:          <key>col</key><integer>10</integer>
209 // CHECK-NEXT:          <key>file</key><integer>0</integer>
210 // CHECK-NEXT:         </dict>
211 // CHECK-NEXT:        </array>
212 // CHECK-NEXT:      </array>
213 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
214 // CHECK-NEXT:      <key>extended_message</key>
215 // CHECK-NEXT:      <string>Memory allocated by malloc() should be deallocated by free(), not &apos;delete&apos;</string>
216 // CHECK-NEXT:      <key>message</key>
217 // CHECK-NEXT:      <string>Memory allocated by malloc() should be deallocated by free(), not &apos;delete&apos;</string>
218 // CHECK-NEXT:     </dict>
219 // CHECK-NEXT:    </array>
220 // CHECK-NEXT:    <key>description</key><string>Memory allocated by malloc() should be deallocated by free(), not &apos;delete&apos;</string>
221 // CHECK-NEXT:    <key>category</key><string>Memory Error</string>
222 // CHECK-NEXT:    <key>type</key><string>Bad deallocator</string>
223 // CHECK-NEXT:    <key>check_name</key><string>unix.MismatchedDeallocator</string>
224 // CHECK-NEXT:    <!-- This hash is experimental and going to change! -->
225 // CHECK-NEXT:    <key>issue_hash_content_of_line_in_context</key><string>81d63a132b4ef0cc96734c17440a1c26</string>
226 // CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
227 // CHECK-NEXT:   <key>issue_context</key><string>noteOnMacro</string>
228 // CHECK-NEXT:   <key>issue_hash_function_offset</key><string>6</string>
229 // CHECK-NEXT:   <key>location</key>
230 // CHECK-NEXT:   <dict>
231 // CHECK-NEXT:    <key>line</key><integer>16</integer>
232 // CHECK-NEXT:    <key>col</key><integer>3</integer>
233 // CHECK-NEXT:    <key>file</key><integer>0</integer>
234 // CHECK-NEXT:   </dict>
235 // CHECK-NEXT:   </dict>
236 // CHECK-NEXT:   <dict>
237 // CHECK-NEXT:    <key>path</key>
238 // CHECK-NEXT:    <array>
239 // CHECK-NEXT:     <dict>
240 // CHECK-NEXT:      <key>kind</key><string>event</string>
241 // CHECK-NEXT:      <key>location</key>
242 // CHECK-NEXT:      <dict>
243 // CHECK-NEXT:       <key>line</key><integer>20</integer>
244 // CHECK-NEXT:       <key>col</key><integer>3</integer>
245 // CHECK-NEXT:       <key>file</key><integer>0</integer>
246 // CHECK-NEXT:      </dict>
247 // CHECK-NEXT:      <key>ranges</key>
248 // CHECK-NEXT:      <array>
249 // CHECK-NEXT:        <array>
250 // CHECK-NEXT:         <dict>
251 // CHECK-NEXT:          <key>line</key><integer>20</integer>
252 // CHECK-NEXT:          <key>col</key><integer>3</integer>
253 // CHECK-NEXT:          <key>file</key><integer>0</integer>
254 // CHECK-NEXT:         </dict>
255 // CHECK-NEXT:         <dict>
256 // CHECK-NEXT:          <key>line</key><integer>20</integer>
257 // CHECK-NEXT:          <key>col</key><integer>14</integer>
258 // CHECK-NEXT:          <key>file</key><integer>0</integer>
259 // CHECK-NEXT:         </dict>
260 // CHECK-NEXT:        </array>
261 // CHECK-NEXT:      </array>
262 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
263 // CHECK-NEXT:      <key>extended_message</key>
264 // CHECK-NEXT:      <string>Memory is allocated</string>
265 // CHECK-NEXT:      <key>message</key>
266 // CHECK-NEXT:      <string>Memory is allocated</string>
267 // CHECK-NEXT:     </dict>
268 // CHECK-NEXT:     <dict>
269 // CHECK-NEXT:      <key>kind</key><string>control</string>
270 // CHECK-NEXT:      <key>edges</key>
271 // CHECK-NEXT:       <array>
272 // CHECK-NEXT:        <dict>
273 // CHECK-NEXT:         <key>start</key>
274 // CHECK-NEXT:          <array>
275 // CHECK-NEXT:           <dict>
276 // CHECK-NEXT:            <key>line</key><integer>20</integer>
277 // CHECK-NEXT:            <key>col</key><integer>3</integer>
278 // CHECK-NEXT:            <key>file</key><integer>0</integer>
279 // CHECK-NEXT:           </dict>
280 // CHECK-NEXT:           <dict>
281 // CHECK-NEXT:            <key>line</key><integer>20</integer>
282 // CHECK-NEXT:            <key>col</key><integer>14</integer>
283 // CHECK-NEXT:            <key>file</key><integer>0</integer>
284 // CHECK-NEXT:           </dict>
285 // CHECK-NEXT:          </array>
286 // CHECK-NEXT:         <key>end</key>
287 // CHECK-NEXT:          <array>
288 // CHECK-NEXT:           <dict>
289 // CHECK-NEXT:            <key>line</key><integer>21</integer>
290 // CHECK-NEXT:            <key>col</key><integer>3</integer>
291 // CHECK-NEXT:            <key>file</key><integer>0</integer>
292 // CHECK-NEXT:           </dict>
293 // CHECK-NEXT:           <dict>
294 // CHECK-NEXT:            <key>line</key><integer>21</integer>
295 // CHECK-NEXT:            <key>col</key><integer>3</integer>
296 // CHECK-NEXT:            <key>file</key><integer>0</integer>
297 // CHECK-NEXT:           </dict>
298 // CHECK-NEXT:          </array>
299 // CHECK-NEXT:        </dict>
300 // CHECK-NEXT:       </array>
301 // CHECK-NEXT:     </dict>
302 // CHECK-NEXT:     <dict>
303 // CHECK-NEXT:      <key>kind</key><string>event</string>
304 // CHECK-NEXT:      <key>location</key>
305 // CHECK-NEXT:      <dict>
306 // CHECK-NEXT:       <key>line</key><integer>21</integer>
307 // CHECK-NEXT:       <key>col</key><integer>3</integer>
308 // CHECK-NEXT:       <key>file</key><integer>0</integer>
309 // CHECK-NEXT:      </dict>
310 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
311 // CHECK-NEXT:      <key>extended_message</key>
312 // CHECK-NEXT:      <string>Potential leak of memory pointed to by &apos;x&apos;</string>
313 // CHECK-NEXT:      <key>message</key>
314 // CHECK-NEXT:      <string>Potential leak of memory pointed to by &apos;x&apos;</string>
315 // CHECK-NEXT:     </dict>
316 // CHECK-NEXT:    </array>
317 // CHECK-NEXT:    <key>description</key><string>Potential leak of memory pointed to by &apos;x&apos;</string>
318 // CHECK-NEXT:    <key>category</key><string>Memory Error</string>
319 // CHECK-NEXT:    <key>type</key><string>Memory leak</string>
320 // CHECK-NEXT:    <key>check_name</key><string>unix.Malloc</string>
321 // CHECK-NEXT:    <!-- This hash is experimental and going to change! -->
322 // CHECK-NEXT:    <key>issue_hash_content_of_line_in_context</key><string>2d723d9fb4e5f10dd54a7396866dfce4</string>
323 // CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
324 // CHECK-NEXT:   <key>issue_context</key><string>macroIsFirstInFunction</string>
325 // CHECK-NEXT:   <key>issue_hash_function_offset</key><string>1</string>
326 // CHECK-NEXT:   <key>location</key>
327 // CHECK-NEXT:   <dict>
328 // CHECK-NEXT:    <key>line</key><integer>21</integer>
329 // CHECK-NEXT:    <key>col</key><integer>3</integer>
330 // CHECK-NEXT:    <key>file</key><integer>0</integer>
331 // CHECK-NEXT:   </dict>
332 // CHECK-NEXT:   </dict>
333 // CHECK-NEXT:   <dict>
334 // CHECK-NEXT:    <key>path</key>
335 // CHECK-NEXT:    <array>
336 // CHECK-NEXT:     <dict>
337 // CHECK-NEXT:      <key>kind</key><string>control</string>
338 // CHECK-NEXT:      <key>edges</key>
339 // CHECK-NEXT:       <array>
340 // CHECK-NEXT:        <dict>
341 // CHECK-NEXT:         <key>start</key>
342 // CHECK-NEXT:          <array>
343 // CHECK-NEXT:           <dict>
344 // CHECK-NEXT:            <key>line</key><integer>27</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>27</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:         <key>end</key>
355 // CHECK-NEXT:          <array>
356 // CHECK-NEXT:           <dict>
357 // CHECK-NEXT:            <key>line</key><integer>28</integer>
358 // CHECK-NEXT:            <key>col</key><integer>3</integer>
359 // CHECK-NEXT:            <key>file</key><integer>0</integer>
360 // CHECK-NEXT:           </dict>
361 // CHECK-NEXT:           <dict>
362 // CHECK-NEXT:            <key>line</key><integer>28</integer>
363 // CHECK-NEXT:            <key>col</key><integer>22</integer>
364 // CHECK-NEXT:            <key>file</key><integer>0</integer>
365 // CHECK-NEXT:           </dict>
366 // CHECK-NEXT:          </array>
367 // CHECK-NEXT:        </dict>
368 // CHECK-NEXT:       </array>
369 // CHECK-NEXT:     </dict>
370 // CHECK-NEXT:     <dict>
371 // CHECK-NEXT:      <key>kind</key><string>control</string>
372 // CHECK-NEXT:      <key>edges</key>
373 // CHECK-NEXT:       <array>
374 // CHECK-NEXT:        <dict>
375 // CHECK-NEXT:         <key>start</key>
376 // CHECK-NEXT:          <array>
377 // CHECK-NEXT:           <dict>
378 // CHECK-NEXT:            <key>line</key><integer>28</integer>
379 // CHECK-NEXT:            <key>col</key><integer>3</integer>
380 // CHECK-NEXT:            <key>file</key><integer>0</integer>
381 // CHECK-NEXT:           </dict>
382 // CHECK-NEXT:           <dict>
383 // CHECK-NEXT:            <key>line</key><integer>28</integer>
384 // CHECK-NEXT:            <key>col</key><integer>22</integer>
385 // CHECK-NEXT:            <key>file</key><integer>0</integer>
386 // CHECK-NEXT:           </dict>
387 // CHECK-NEXT:          </array>
388 // CHECK-NEXT:         <key>end</key>
389 // CHECK-NEXT:          <array>
390 // CHECK-NEXT:           <dict>
391 // CHECK-NEXT:            <key>line</key><integer>28</integer>
392 // CHECK-NEXT:            <key>col</key><integer>24</integer>
393 // CHECK-NEXT:            <key>file</key><integer>0</integer>
394 // CHECK-NEXT:           </dict>
395 // CHECK-NEXT:           <dict>
396 // CHECK-NEXT:            <key>line</key><integer>28</integer>
397 // CHECK-NEXT:            <key>col</key><integer>33</integer>
398 // CHECK-NEXT:            <key>file</key><integer>0</integer>
399 // CHECK-NEXT:           </dict>
400 // CHECK-NEXT:          </array>
401 // CHECK-NEXT:        </dict>
402 // CHECK-NEXT:       </array>
403 // CHECK-NEXT:     </dict>
404 // CHECK-NEXT:     <dict>
405 // CHECK-NEXT:      <key>kind</key><string>event</string>
406 // CHECK-NEXT:      <key>location</key>
407 // CHECK-NEXT:      <dict>
408 // CHECK-NEXT:       <key>line</key><integer>28</integer>
409 // CHECK-NEXT:       <key>col</key><integer>24</integer>
410 // CHECK-NEXT:       <key>file</key><integer>0</integer>
411 // CHECK-NEXT:      </dict>
412 // CHECK-NEXT:      <key>ranges</key>
413 // CHECK-NEXT:      <array>
414 // CHECK-NEXT:        <array>
415 // CHECK-NEXT:         <dict>
416 // CHECK-NEXT:          <key>line</key><integer>28</integer>
417 // CHECK-NEXT:          <key>col</key><integer>24</integer>
418 // CHECK-NEXT:          <key>file</key><integer>0</integer>
419 // CHECK-NEXT:         </dict>
420 // CHECK-NEXT:         <dict>
421 // CHECK-NEXT:          <key>line</key><integer>28</integer>
422 // CHECK-NEXT:          <key>col</key><integer>33</integer>
423 // CHECK-NEXT:          <key>file</key><integer>0</integer>
424 // CHECK-NEXT:         </dict>
425 // CHECK-NEXT:        </array>
426 // CHECK-NEXT:      </array>
427 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
428 // CHECK-NEXT:      <key>extended_message</key>
429 // CHECK-NEXT:      <string>Assuming &apos;p&apos; is equal to null</string>
430 // CHECK-NEXT:      <key>message</key>
431 // CHECK-NEXT:      <string>Assuming &apos;p&apos; is equal to null</string>
432 // CHECK-NEXT:     </dict>
433 // CHECK-NEXT:     <dict>
434 // CHECK-NEXT:      <key>kind</key><string>control</string>
435 // CHECK-NEXT:      <key>edges</key>
436 // CHECK-NEXT:       <array>
437 // CHECK-NEXT:        <dict>
438 // CHECK-NEXT:         <key>start</key>
439 // CHECK-NEXT:          <array>
440 // CHECK-NEXT:           <dict>
441 // CHECK-NEXT:            <key>line</key><integer>28</integer>
442 // CHECK-NEXT:            <key>col</key><integer>24</integer>
443 // CHECK-NEXT:            <key>file</key><integer>0</integer>
444 // CHECK-NEXT:           </dict>
445 // CHECK-NEXT:           <dict>
446 // CHECK-NEXT:            <key>line</key><integer>28</integer>
447 // CHECK-NEXT:            <key>col</key><integer>33</integer>
448 // CHECK-NEXT:            <key>file</key><integer>0</integer>
449 // CHECK-NEXT:           </dict>
450 // CHECK-NEXT:          </array>
451 // CHECK-NEXT:         <key>end</key>
452 // CHECK-NEXT:          <array>
453 // CHECK-NEXT:           <dict>
454 // CHECK-NEXT:            <key>line</key><integer>28</integer>
455 // CHECK-NEXT:            <key>col</key><integer>3</integer>
456 // CHECK-NEXT:            <key>file</key><integer>0</integer>
457 // CHECK-NEXT:           </dict>
458 // CHECK-NEXT:           <dict>
459 // CHECK-NEXT:            <key>line</key><integer>28</integer>
460 // CHECK-NEXT:            <key>col</key><integer>22</integer>
461 // CHECK-NEXT:            <key>file</key><integer>0</integer>
462 // CHECK-NEXT:           </dict>
463 // CHECK-NEXT:          </array>
464 // CHECK-NEXT:        </dict>
465 // CHECK-NEXT:       </array>
466 // CHECK-NEXT:     </dict>
467 // CHECK-NEXT:     <dict>
468 // CHECK-NEXT:      <key>kind</key><string>control</string>
469 // CHECK-NEXT:      <key>edges</key>
470 // CHECK-NEXT:       <array>
471 // CHECK-NEXT:        <dict>
472 // CHECK-NEXT:         <key>start</key>
473 // CHECK-NEXT:          <array>
474 // CHECK-NEXT:           <dict>
475 // CHECK-NEXT:            <key>line</key><integer>28</integer>
476 // CHECK-NEXT:            <key>col</key><integer>3</integer>
477 // CHECK-NEXT:            <key>file</key><integer>0</integer>
478 // CHECK-NEXT:           </dict>
479 // CHECK-NEXT:           <dict>
480 // CHECK-NEXT:            <key>line</key><integer>28</integer>
481 // CHECK-NEXT:            <key>col</key><integer>22</integer>
482 // CHECK-NEXT:            <key>file</key><integer>0</integer>
483 // CHECK-NEXT:           </dict>
484 // CHECK-NEXT:          </array>
485 // CHECK-NEXT:         <key>end</key>
486 // CHECK-NEXT:          <array>
487 // CHECK-NEXT:           <dict>
488 // CHECK-NEXT:            <key>line</key><integer>30</integer>
489 // CHECK-NEXT:            <key>col</key><integer>3</integer>
490 // CHECK-NEXT:            <key>file</key><integer>0</integer>
491 // CHECK-NEXT:           </dict>
492 // CHECK-NEXT:           <dict>
493 // CHECK-NEXT:            <key>line</key><integer>30</integer>
494 // CHECK-NEXT:            <key>col</key><integer>8</integer>
495 // CHECK-NEXT:            <key>file</key><integer>0</integer>
496 // CHECK-NEXT:           </dict>
497 // CHECK-NEXT:          </array>
498 // CHECK-NEXT:        </dict>
499 // CHECK-NEXT:       </array>
500 // CHECK-NEXT:     </dict>
501 // CHECK-NEXT:     <dict>
502 // CHECK-NEXT:      <key>kind</key><string>control</string>
503 // CHECK-NEXT:      <key>edges</key>
504 // CHECK-NEXT:       <array>
505 // CHECK-NEXT:        <dict>
506 // CHECK-NEXT:         <key>start</key>
507 // CHECK-NEXT:          <array>
508 // CHECK-NEXT:           <dict>
509 // CHECK-NEXT:            <key>line</key><integer>30</integer>
510 // CHECK-NEXT:            <key>col</key><integer>3</integer>
511 // CHECK-NEXT:            <key>file</key><integer>0</integer>
512 // CHECK-NEXT:           </dict>
513 // CHECK-NEXT:           <dict>
514 // CHECK-NEXT:            <key>line</key><integer>30</integer>
515 // CHECK-NEXT:            <key>col</key><integer>8</integer>
516 // CHECK-NEXT:            <key>file</key><integer>0</integer>
517 // CHECK-NEXT:           </dict>
518 // CHECK-NEXT:          </array>
519 // CHECK-NEXT:         <key>end</key>
520 // CHECK-NEXT:          <array>
521 // CHECK-NEXT:           <dict>
522 // CHECK-NEXT:            <key>line</key><integer>30</integer>
523 // CHECK-NEXT:            <key>col</key><integer>10</integer>
524 // CHECK-NEXT:            <key>file</key><integer>0</integer>
525 // CHECK-NEXT:           </dict>
526 // CHECK-NEXT:           <dict>
527 // CHECK-NEXT:            <key>line</key><integer>30</integer>
528 // CHECK-NEXT:            <key>col</key><integer>10</integer>
529 // CHECK-NEXT:            <key>file</key><integer>0</integer>
530 // CHECK-NEXT:           </dict>
531 // CHECK-NEXT:          </array>
532 // CHECK-NEXT:        </dict>
533 // CHECK-NEXT:       </array>
534 // CHECK-NEXT:     </dict>
535 // CHECK-NEXT:     <dict>
536 // CHECK-NEXT:      <key>kind</key><string>event</string>
537 // CHECK-NEXT:      <key>location</key>
538 // CHECK-NEXT:      <dict>
539 // CHECK-NEXT:       <key>line</key><integer>30</integer>
540 // CHECK-NEXT:       <key>col</key><integer>10</integer>
541 // CHECK-NEXT:       <key>file</key><integer>0</integer>
542 // CHECK-NEXT:      </dict>
543 // CHECK-NEXT:      <key>ranges</key>
544 // CHECK-NEXT:      <array>
545 // CHECK-NEXT:        <array>
546 // CHECK-NEXT:         <dict>
547 // CHECK-NEXT:          <key>line</key><integer>30</integer>
548 // CHECK-NEXT:          <key>col</key><integer>11</integer>
549 // CHECK-NEXT:          <key>file</key><integer>0</integer>
550 // CHECK-NEXT:         </dict>
551 // CHECK-NEXT:         <dict>
552 // CHECK-NEXT:          <key>line</key><integer>30</integer>
553 // CHECK-NEXT:          <key>col</key><integer>11</integer>
554 // CHECK-NEXT:          <key>file</key><integer>0</integer>
555 // CHECK-NEXT:         </dict>
556 // CHECK-NEXT:        </array>
557 // CHECK-NEXT:      </array>
558 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
559 // CHECK-NEXT:      <key>extended_message</key>
560 // CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
561 // CHECK-NEXT:      <key>message</key>
562 // CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
563 // CHECK-NEXT:     </dict>
564 // CHECK-NEXT:    </array>
565 // CHECK-NEXT:    <key>description</key><string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
566 // CHECK-NEXT:    <key>category</key><string>Logic error</string>
567 // CHECK-NEXT:    <key>type</key><string>Dereference of null pointer</string>
568 // CHECK-NEXT:    <key>check_name</key><string>core.NullDereference</string>
569 // CHECK-NEXT:    <!-- This hash is experimental and going to change! -->
570 // CHECK-NEXT:    <key>issue_hash_content_of_line_in_context</key><string>3570104919aab3f953357f8c87b68bd7</string>
571 // CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
572 // CHECK-NEXT:   <key>issue_context</key><string>macroInExpression</string>
573 // CHECK-NEXT:   <key>issue_hash_function_offset</key><string>4</string>
574 // CHECK-NEXT:   <key>location</key>
575 // CHECK-NEXT:   <dict>
576 // CHECK-NEXT:    <key>line</key><integer>30</integer>
577 // CHECK-NEXT:    <key>col</key><integer>10</integer>
578 // CHECK-NEXT:    <key>file</key><integer>0</integer>
579 // CHECK-NEXT:   </dict>
580 // CHECK-NEXT:   </dict>
581 // CHECK-NEXT:   <dict>
582 // CHECK-NEXT:    <key>path</key>
583 // CHECK-NEXT:    <array>
584 // CHECK-NEXT:     <dict>
585 // CHECK-NEXT:      <key>kind</key><string>control</string>
586 // CHECK-NEXT:      <key>edges</key>
587 // CHECK-NEXT:       <array>
588 // CHECK-NEXT:        <dict>
589 // CHECK-NEXT:         <key>start</key>
590 // CHECK-NEXT:          <array>
591 // CHECK-NEXT:           <dict>
592 // CHECK-NEXT:            <key>line</key><integer>35</integer>
593 // CHECK-NEXT:            <key>col</key><integer>3</integer>
594 // CHECK-NEXT:            <key>file</key><integer>0</integer>
595 // CHECK-NEXT:           </dict>
596 // CHECK-NEXT:           <dict>
597 // CHECK-NEXT:            <key>line</key><integer>35</integer>
598 // CHECK-NEXT:            <key>col</key><integer>3</integer>
599 // CHECK-NEXT:            <key>file</key><integer>0</integer>
600 // CHECK-NEXT:           </dict>
601 // CHECK-NEXT:          </array>
602 // CHECK-NEXT:         <key>end</key>
603 // CHECK-NEXT:          <array>
604 // CHECK-NEXT:           <dict>
605 // CHECK-NEXT:            <key>line</key><integer>36</integer>
606 // CHECK-NEXT:            <key>col</key><integer>3</integer>
607 // CHECK-NEXT:            <key>file</key><integer>0</integer>
608 // CHECK-NEXT:           </dict>
609 // CHECK-NEXT:           <dict>
610 // CHECK-NEXT:            <key>line</key><integer>36</integer>
611 // CHECK-NEXT:            <key>col</key><integer>4</integer>
612 // CHECK-NEXT:            <key>file</key><integer>0</integer>
613 // CHECK-NEXT:           </dict>
614 // CHECK-NEXT:          </array>
615 // CHECK-NEXT:        </dict>
616 // CHECK-NEXT:       </array>
617 // CHECK-NEXT:     </dict>
618 // CHECK-NEXT:     <dict>
619 // CHECK-NEXT:      <key>kind</key><string>control</string>
620 // CHECK-NEXT:      <key>edges</key>
621 // CHECK-NEXT:       <array>
622 // CHECK-NEXT:        <dict>
623 // CHECK-NEXT:         <key>start</key>
624 // CHECK-NEXT:          <array>
625 // CHECK-NEXT:           <dict>
626 // CHECK-NEXT:            <key>line</key><integer>36</integer>
627 // CHECK-NEXT:            <key>col</key><integer>3</integer>
628 // CHECK-NEXT:            <key>file</key><integer>0</integer>
629 // CHECK-NEXT:           </dict>
630 // CHECK-NEXT:           <dict>
631 // CHECK-NEXT:            <key>line</key><integer>36</integer>
632 // CHECK-NEXT:            <key>col</key><integer>4</integer>
633 // CHECK-NEXT:            <key>file</key><integer>0</integer>
634 // CHECK-NEXT:           </dict>
635 // CHECK-NEXT:          </array>
636 // CHECK-NEXT:         <key>end</key>
637 // CHECK-NEXT:          <array>
638 // CHECK-NEXT:           <dict>
639 // CHECK-NEXT:            <key>line</key><integer>37</integer>
640 // CHECK-NEXT:            <key>col</key><integer>5</integer>
641 // CHECK-NEXT:            <key>file</key><integer>0</integer>
642 // CHECK-NEXT:           </dict>
643 // CHECK-NEXT:           <dict>
644 // CHECK-NEXT:            <key>line</key><integer>37</integer>
645 // CHECK-NEXT:            <key>col</key><integer>6</integer>
646 // CHECK-NEXT:            <key>file</key><integer>0</integer>
647 // CHECK-NEXT:           </dict>
648 // CHECK-NEXT:          </array>
649 // CHECK-NEXT:        </dict>
650 // CHECK-NEXT:       </array>
651 // CHECK-NEXT:     </dict>
652 // CHECK-NEXT:     <dict>
653 // CHECK-NEXT:      <key>kind</key><string>control</string>
654 // CHECK-NEXT:      <key>edges</key>
655 // CHECK-NEXT:       <array>
656 // CHECK-NEXT:        <dict>
657 // CHECK-NEXT:         <key>start</key>
658 // CHECK-NEXT:          <array>
659 // CHECK-NEXT:           <dict>
660 // CHECK-NEXT:            <key>line</key><integer>37</integer>
661 // CHECK-NEXT:            <key>col</key><integer>5</integer>
662 // CHECK-NEXT:            <key>file</key><integer>0</integer>
663 // CHECK-NEXT:           </dict>
664 // CHECK-NEXT:           <dict>
665 // CHECK-NEXT:            <key>line</key><integer>37</integer>
666 // CHECK-NEXT:            <key>col</key><integer>6</integer>
667 // CHECK-NEXT:            <key>file</key><integer>0</integer>
668 // CHECK-NEXT:           </dict>
669 // CHECK-NEXT:          </array>
670 // CHECK-NEXT:         <key>end</key>
671 // CHECK-NEXT:          <array>
672 // CHECK-NEXT:           <dict>
673 // CHECK-NEXT:            <key>line</key><integer>37</integer>
674 // CHECK-NEXT:            <key>col</key><integer>9</integer>
675 // CHECK-NEXT:            <key>file</key><integer>0</integer>
676 // CHECK-NEXT:           </dict>
677 // CHECK-NEXT:           <dict>
678 // CHECK-NEXT:            <key>line</key><integer>37</integer>
679 // CHECK-NEXT:            <key>col</key><integer>9</integer>
680 // CHECK-NEXT:            <key>file</key><integer>0</integer>
681 // CHECK-NEXT:           </dict>
682 // CHECK-NEXT:          </array>
683 // CHECK-NEXT:        </dict>
684 // CHECK-NEXT:       </array>
685 // CHECK-NEXT:     </dict>
686 // CHECK-NEXT:     <dict>
687 // CHECK-NEXT:      <key>kind</key><string>event</string>
688 // CHECK-NEXT:      <key>location</key>
689 // CHECK-NEXT:      <dict>
690 // CHECK-NEXT:       <key>line</key><integer>37</integer>
691 // CHECK-NEXT:       <key>col</key><integer>9</integer>
692 // CHECK-NEXT:       <key>file</key><integer>0</integer>
693 // CHECK-NEXT:      </dict>
694 // CHECK-NEXT:      <key>ranges</key>
695 // CHECK-NEXT:      <array>
696 // CHECK-NEXT:        <array>
697 // CHECK-NEXT:         <dict>
698 // CHECK-NEXT:          <key>line</key><integer>37</integer>
699 // CHECK-NEXT:          <key>col</key><integer>9</integer>
700 // CHECK-NEXT:          <key>file</key><integer>0</integer>
701 // CHECK-NEXT:         </dict>
702 // CHECK-NEXT:         <dict>
703 // CHECK-NEXT:          <key>line</key><integer>37</integer>
704 // CHECK-NEXT:          <key>col</key><integer>9</integer>
705 // CHECK-NEXT:          <key>file</key><integer>0</integer>
706 // CHECK-NEXT:         </dict>
707 // CHECK-NEXT:        </array>
708 // CHECK-NEXT:      </array>
709 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
710 // CHECK-NEXT:      <key>extended_message</key>
711 // CHECK-NEXT:      <string>Assuming &apos;p&apos; is null</string>
712 // CHECK-NEXT:      <key>message</key>
713 // CHECK-NEXT:      <string>Assuming &apos;p&apos; is null</string>
714 // CHECK-NEXT:     </dict>
715 // CHECK-NEXT:     <dict>
716 // CHECK-NEXT:      <key>kind</key><string>control</string>
717 // CHECK-NEXT:      <key>edges</key>
718 // CHECK-NEXT:       <array>
719 // CHECK-NEXT:        <dict>
720 // CHECK-NEXT:         <key>start</key>
721 // CHECK-NEXT:          <array>
722 // CHECK-NEXT:           <dict>
723 // CHECK-NEXT:            <key>line</key><integer>37</integer>
724 // CHECK-NEXT:            <key>col</key><integer>9</integer>
725 // CHECK-NEXT:            <key>file</key><integer>0</integer>
726 // CHECK-NEXT:           </dict>
727 // CHECK-NEXT:           <dict>
728 // CHECK-NEXT:            <key>line</key><integer>37</integer>
729 // CHECK-NEXT:            <key>col</key><integer>9</integer>
730 // CHECK-NEXT:            <key>file</key><integer>0</integer>
731 // CHECK-NEXT:           </dict>
732 // CHECK-NEXT:          </array>
733 // CHECK-NEXT:         <key>end</key>
734 // CHECK-NEXT:          <array>
735 // CHECK-NEXT:           <dict>
736 // CHECK-NEXT:            <key>line</key><integer>39</integer>
737 // CHECK-NEXT:            <key>col</key><integer>3</integer>
738 // CHECK-NEXT:            <key>file</key><integer>0</integer>
739 // CHECK-NEXT:           </dict>
740 // CHECK-NEXT:           <dict>
741 // CHECK-NEXT:            <key>line</key><integer>39</integer>
742 // CHECK-NEXT:            <key>col</key><integer>8</integer>
743 // CHECK-NEXT:            <key>file</key><integer>0</integer>
744 // CHECK-NEXT:           </dict>
745 // CHECK-NEXT:          </array>
746 // CHECK-NEXT:        </dict>
747 // CHECK-NEXT:       </array>
748 // CHECK-NEXT:     </dict>
749 // CHECK-NEXT:     <dict>
750 // CHECK-NEXT:      <key>kind</key><string>control</string>
751 // CHECK-NEXT:      <key>edges</key>
752 // CHECK-NEXT:       <array>
753 // CHECK-NEXT:        <dict>
754 // CHECK-NEXT:         <key>start</key>
755 // CHECK-NEXT:          <array>
756 // CHECK-NEXT:           <dict>
757 // CHECK-NEXT:            <key>line</key><integer>39</integer>
758 // CHECK-NEXT:            <key>col</key><integer>3</integer>
759 // CHECK-NEXT:            <key>file</key><integer>0</integer>
760 // CHECK-NEXT:           </dict>
761 // CHECK-NEXT:           <dict>
762 // CHECK-NEXT:            <key>line</key><integer>39</integer>
763 // CHECK-NEXT:            <key>col</key><integer>8</integer>
764 // CHECK-NEXT:            <key>file</key><integer>0</integer>
765 // CHECK-NEXT:           </dict>
766 // CHECK-NEXT:          </array>
767 // CHECK-NEXT:         <key>end</key>
768 // CHECK-NEXT:          <array>
769 // CHECK-NEXT:           <dict>
770 // CHECK-NEXT:            <key>line</key><integer>39</integer>
771 // CHECK-NEXT:            <key>col</key><integer>10</integer>
772 // CHECK-NEXT:            <key>file</key><integer>0</integer>
773 // CHECK-NEXT:           </dict>
774 // CHECK-NEXT:           <dict>
775 // CHECK-NEXT:            <key>line</key><integer>39</integer>
776 // CHECK-NEXT:            <key>col</key><integer>10</integer>
777 // CHECK-NEXT:            <key>file</key><integer>0</integer>
778 // CHECK-NEXT:           </dict>
779 // CHECK-NEXT:          </array>
780 // CHECK-NEXT:        </dict>
781 // CHECK-NEXT:       </array>
782 // CHECK-NEXT:     </dict>
783 // CHECK-NEXT:     <dict>
784 // CHECK-NEXT:      <key>kind</key><string>event</string>
785 // CHECK-NEXT:      <key>location</key>
786 // CHECK-NEXT:      <dict>
787 // CHECK-NEXT:       <key>line</key><integer>39</integer>
788 // CHECK-NEXT:       <key>col</key><integer>10</integer>
789 // CHECK-NEXT:       <key>file</key><integer>0</integer>
790 // CHECK-NEXT:      </dict>
791 // CHECK-NEXT:      <key>ranges</key>
792 // CHECK-NEXT:      <array>
793 // CHECK-NEXT:        <array>
794 // CHECK-NEXT:         <dict>
795 // CHECK-NEXT:          <key>line</key><integer>39</integer>
796 // CHECK-NEXT:          <key>col</key><integer>11</integer>
797 // CHECK-NEXT:          <key>file</key><integer>0</integer>
798 // CHECK-NEXT:         </dict>
799 // CHECK-NEXT:         <dict>
800 // CHECK-NEXT:          <key>line</key><integer>39</integer>
801 // CHECK-NEXT:          <key>col</key><integer>11</integer>
802 // CHECK-NEXT:          <key>file</key><integer>0</integer>
803 // CHECK-NEXT:         </dict>
804 // CHECK-NEXT:        </array>
805 // CHECK-NEXT:      </array>
806 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
807 // CHECK-NEXT:      <key>extended_message</key>
808 // CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
809 // CHECK-NEXT:      <key>message</key>
810 // CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
811 // CHECK-NEXT:     </dict>
812 // CHECK-NEXT:    </array>
813 // CHECK-NEXT:    <key>description</key><string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
814 // CHECK-NEXT:    <key>category</key><string>Logic error</string>
815 // CHECK-NEXT:    <key>type</key><string>Dereference of null pointer</string>
816 // CHECK-NEXT:    <key>check_name</key><string>core.NullDereference</string>
817 // CHECK-NEXT:    <!-- This hash is experimental and going to change! -->
818 // CHECK-NEXT:    <key>issue_hash_content_of_line_in_context</key><string>deff163b13f3fd860bc332498b0dbc59</string>
819 // CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
820 // CHECK-NEXT:   <key>issue_context</key><string>macroInExpressionNoNote</string>
821 // CHECK-NEXT:   <key>issue_hash_function_offset</key><string>5</string>
822 // CHECK-NEXT:   <key>location</key>
823 // CHECK-NEXT:   <dict>
824 // CHECK-NEXT:    <key>line</key><integer>39</integer>
825 // CHECK-NEXT:    <key>col</key><integer>10</integer>
826 // CHECK-NEXT:    <key>file</key><integer>0</integer>
827 // CHECK-NEXT:   </dict>
828 // CHECK-NEXT:   </dict>
829 // CHECK-NEXT:   <dict>
830 // CHECK-NEXT:    <key>path</key>
831 // CHECK-NEXT:    <array>
832 // CHECK-NEXT:     <dict>
833 // CHECK-NEXT:      <key>kind</key><string>control</string>
834 // CHECK-NEXT:      <key>edges</key>
835 // CHECK-NEXT:       <array>
836 // CHECK-NEXT:        <dict>
837 // CHECK-NEXT:         <key>start</key>
838 // CHECK-NEXT:          <array>
839 // CHECK-NEXT:           <dict>
840 // CHECK-NEXT:            <key>line</key><integer>44</integer>
841 // CHECK-NEXT:            <key>col</key><integer>3</integer>
842 // CHECK-NEXT:            <key>file</key><integer>0</integer>
843 // CHECK-NEXT:           </dict>
844 // CHECK-NEXT:           <dict>
845 // CHECK-NEXT:            <key>line</key><integer>44</integer>
846 // CHECK-NEXT:            <key>col</key><integer>3</integer>
847 // CHECK-NEXT:            <key>file</key><integer>0</integer>
848 // CHECK-NEXT:           </dict>
849 // CHECK-NEXT:          </array>
850 // CHECK-NEXT:         <key>end</key>
851 // CHECK-NEXT:          <array>
852 // CHECK-NEXT:           <dict>
853 // CHECK-NEXT:            <key>line</key><integer>45</integer>
854 // CHECK-NEXT:            <key>col</key><integer>3</integer>
855 // CHECK-NEXT:            <key>file</key><integer>0</integer>
856 // CHECK-NEXT:           </dict>
857 // CHECK-NEXT:           <dict>
858 // CHECK-NEXT:            <key>line</key><integer>45</integer>
859 // CHECK-NEXT:            <key>col</key><integer>4</integer>
860 // CHECK-NEXT:            <key>file</key><integer>0</integer>
861 // CHECK-NEXT:           </dict>
862 // CHECK-NEXT:          </array>
863 // CHECK-NEXT:        </dict>
864 // CHECK-NEXT:       </array>
865 // CHECK-NEXT:     </dict>
866 // CHECK-NEXT:     <dict>
867 // CHECK-NEXT:      <key>kind</key><string>control</string>
868 // CHECK-NEXT:      <key>edges</key>
869 // CHECK-NEXT:       <array>
870 // CHECK-NEXT:        <dict>
871 // CHECK-NEXT:         <key>start</key>
872 // CHECK-NEXT:          <array>
873 // CHECK-NEXT:           <dict>
874 // CHECK-NEXT:            <key>line</key><integer>45</integer>
875 // CHECK-NEXT:            <key>col</key><integer>3</integer>
876 // CHECK-NEXT:            <key>file</key><integer>0</integer>
877 // CHECK-NEXT:           </dict>
878 // CHECK-NEXT:           <dict>
879 // CHECK-NEXT:            <key>line</key><integer>45</integer>
880 // CHECK-NEXT:            <key>col</key><integer>4</integer>
881 // CHECK-NEXT:            <key>file</key><integer>0</integer>
882 // CHECK-NEXT:           </dict>
883 // CHECK-NEXT:          </array>
884 // CHECK-NEXT:         <key>end</key>
885 // CHECK-NEXT:          <array>
886 // CHECK-NEXT:           <dict>
887 // CHECK-NEXT:            <key>line</key><integer>45</integer>
888 // CHECK-NEXT:            <key>col</key><integer>7</integer>
889 // CHECK-NEXT:            <key>file</key><integer>0</integer>
890 // CHECK-NEXT:           </dict>
891 // CHECK-NEXT:           <dict>
892 // CHECK-NEXT:            <key>line</key><integer>45</integer>
893 // CHECK-NEXT:            <key>col</key><integer>18</integer>
894 // CHECK-NEXT:            <key>file</key><integer>0</integer>
895 // CHECK-NEXT:           </dict>
896 // CHECK-NEXT:          </array>
897 // CHECK-NEXT:        </dict>
898 // CHECK-NEXT:       </array>
899 // CHECK-NEXT:     </dict>
900 // CHECK-NEXT:     <dict>
901 // CHECK-NEXT:      <key>kind</key><string>event</string>
902 // CHECK-NEXT:      <key>location</key>
903 // CHECK-NEXT:      <dict>
904 // CHECK-NEXT:       <key>line</key><integer>45</integer>
905 // CHECK-NEXT:       <key>col</key><integer>7</integer>
906 // CHECK-NEXT:       <key>file</key><integer>0</integer>
907 // CHECK-NEXT:      </dict>
908 // CHECK-NEXT:      <key>ranges</key>
909 // CHECK-NEXT:      <array>
910 // CHECK-NEXT:        <array>
911 // CHECK-NEXT:         <dict>
912 // CHECK-NEXT:          <key>line</key><integer>45</integer>
913 // CHECK-NEXT:          <key>col</key><integer>7</integer>
914 // CHECK-NEXT:          <key>file</key><integer>0</integer>
915 // CHECK-NEXT:         </dict>
916 // CHECK-NEXT:         <dict>
917 // CHECK-NEXT:          <key>line</key><integer>45</integer>
918 // CHECK-NEXT:          <key>col</key><integer>21</integer>
919 // CHECK-NEXT:          <key>file</key><integer>0</integer>
920 // CHECK-NEXT:         </dict>
921 // CHECK-NEXT:        </array>
922 // CHECK-NEXT:      </array>
923 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
924 // CHECK-NEXT:      <key>extended_message</key>
925 // CHECK-NEXT:      <string>Assuming &apos;p&apos; is equal to null</string>
926 // CHECK-NEXT:      <key>message</key>
927 // CHECK-NEXT:      <string>Assuming &apos;p&apos; is equal to null</string>
928 // CHECK-NEXT:     </dict>
929 // CHECK-NEXT:     <dict>
930 // CHECK-NEXT:      <key>kind</key><string>control</string>
931 // CHECK-NEXT:      <key>edges</key>
932 // CHECK-NEXT:       <array>
933 // CHECK-NEXT:        <dict>
934 // CHECK-NEXT:         <key>start</key>
935 // CHECK-NEXT:          <array>
936 // CHECK-NEXT:           <dict>
937 // CHECK-NEXT:            <key>line</key><integer>45</integer>
938 // CHECK-NEXT:            <key>col</key><integer>7</integer>
939 // CHECK-NEXT:            <key>file</key><integer>0</integer>
940 // CHECK-NEXT:           </dict>
941 // CHECK-NEXT:           <dict>
942 // CHECK-NEXT:            <key>line</key><integer>45</integer>
943 // CHECK-NEXT:            <key>col</key><integer>18</integer>
944 // CHECK-NEXT:            <key>file</key><integer>0</integer>
945 // CHECK-NEXT:           </dict>
946 // CHECK-NEXT:          </array>
947 // CHECK-NEXT:         <key>end</key>
948 // CHECK-NEXT:          <array>
949 // CHECK-NEXT:           <dict>
950 // CHECK-NEXT:            <key>line</key><integer>47</integer>
951 // CHECK-NEXT:            <key>col</key><integer>3</integer>
952 // CHECK-NEXT:            <key>file</key><integer>0</integer>
953 // CHECK-NEXT:           </dict>
954 // CHECK-NEXT:           <dict>
955 // CHECK-NEXT:            <key>line</key><integer>47</integer>
956 // CHECK-NEXT:            <key>col</key><integer>8</integer>
957 // CHECK-NEXT:            <key>file</key><integer>0</integer>
958 // CHECK-NEXT:           </dict>
959 // CHECK-NEXT:          </array>
960 // CHECK-NEXT:        </dict>
961 // CHECK-NEXT:       </array>
962 // CHECK-NEXT:     </dict>
963 // CHECK-NEXT:     <dict>
964 // CHECK-NEXT:      <key>kind</key><string>control</string>
965 // CHECK-NEXT:      <key>edges</key>
966 // CHECK-NEXT:       <array>
967 // CHECK-NEXT:        <dict>
968 // CHECK-NEXT:         <key>start</key>
969 // CHECK-NEXT:          <array>
970 // CHECK-NEXT:           <dict>
971 // CHECK-NEXT:            <key>line</key><integer>47</integer>
972 // CHECK-NEXT:            <key>col</key><integer>3</integer>
973 // CHECK-NEXT:            <key>file</key><integer>0</integer>
974 // CHECK-NEXT:           </dict>
975 // CHECK-NEXT:           <dict>
976 // CHECK-NEXT:            <key>line</key><integer>47</integer>
977 // CHECK-NEXT:            <key>col</key><integer>8</integer>
978 // CHECK-NEXT:            <key>file</key><integer>0</integer>
979 // CHECK-NEXT:           </dict>
980 // CHECK-NEXT:          </array>
981 // CHECK-NEXT:         <key>end</key>
982 // CHECK-NEXT:          <array>
983 // CHECK-NEXT:           <dict>
984 // CHECK-NEXT:            <key>line</key><integer>47</integer>
985 // CHECK-NEXT:            <key>col</key><integer>10</integer>
986 // CHECK-NEXT:            <key>file</key><integer>0</integer>
987 // CHECK-NEXT:           </dict>
988 // CHECK-NEXT:           <dict>
989 // CHECK-NEXT:            <key>line</key><integer>47</integer>
990 // CHECK-NEXT:            <key>col</key><integer>10</integer>
991 // CHECK-NEXT:            <key>file</key><integer>0</integer>
992 // CHECK-NEXT:           </dict>
993 // CHECK-NEXT:          </array>
994 // CHECK-NEXT:        </dict>
995 // CHECK-NEXT:       </array>
996 // CHECK-NEXT:     </dict>
997 // CHECK-NEXT:     <dict>
998 // CHECK-NEXT:      <key>kind</key><string>event</string>
999 // CHECK-NEXT:      <key>location</key>
1000 // CHECK-NEXT:      <dict>
1001 // CHECK-NEXT:       <key>line</key><integer>47</integer>
1002 // CHECK-NEXT:       <key>col</key><integer>10</integer>
1003 // CHECK-NEXT:       <key>file</key><integer>0</integer>
1004 // CHECK-NEXT:      </dict>
1005 // CHECK-NEXT:      <key>ranges</key>
1006 // CHECK-NEXT:      <array>
1007 // CHECK-NEXT:        <array>
1008 // CHECK-NEXT:         <dict>
1009 // CHECK-NEXT:          <key>line</key><integer>47</integer>
1010 // CHECK-NEXT:          <key>col</key><integer>11</integer>
1011 // CHECK-NEXT:          <key>file</key><integer>0</integer>
1012 // CHECK-NEXT:         </dict>
1013 // CHECK-NEXT:         <dict>
1014 // CHECK-NEXT:          <key>line</key><integer>47</integer>
1015 // CHECK-NEXT:          <key>col</key><integer>11</integer>
1016 // CHECK-NEXT:          <key>file</key><integer>0</integer>
1017 // CHECK-NEXT:         </dict>
1018 // CHECK-NEXT:        </array>
1019 // CHECK-NEXT:      </array>
1020 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
1021 // CHECK-NEXT:      <key>extended_message</key>
1022 // CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
1023 // CHECK-NEXT:      <key>message</key>
1024 // CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
1025 // CHECK-NEXT:     </dict>
1026 // CHECK-NEXT:    </array>
1027 // CHECK-NEXT:    <key>description</key><string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
1028 // CHECK-NEXT:    <key>category</key><string>Logic error</string>
1029 // CHECK-NEXT:    <key>type</key><string>Dereference of null pointer</string>
1030 // CHECK-NEXT:    <key>check_name</key><string>core.NullDereference</string>
1031 // CHECK-NEXT:    <!-- This hash is experimental and going to change! -->
1032 // CHECK-NEXT:    <key>issue_hash_content_of_line_in_context</key><string>b67b58d85375752578e947b77c6aa70c</string>
1033 // CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
1034 // CHECK-NEXT:   <key>issue_context</key><string>macroWithArgInExpression</string>
1035 // CHECK-NEXT:   <key>issue_hash_function_offset</key><string>4</string>
1036 // CHECK-NEXT:   <key>location</key>
1037 // CHECK-NEXT:   <dict>
1038 // CHECK-NEXT:    <key>line</key><integer>47</integer>
1039 // CHECK-NEXT:    <key>col</key><integer>10</integer>
1040 // CHECK-NEXT:    <key>file</key><integer>0</integer>
1041 // CHECK-NEXT:   </dict>
1042 // CHECK-NEXT:   </dict>
1043 // CHECK-NEXT:   <dict>
1044 // CHECK-NEXT:    <key>path</key>
1045 // CHECK-NEXT:    <array>
1046 // CHECK-NEXT:     <dict>
1047 // CHECK-NEXT:      <key>kind</key><string>control</string>
1048 // CHECK-NEXT:      <key>edges</key>
1049 // CHECK-NEXT:       <array>
1050 // CHECK-NEXT:        <dict>
1051 // CHECK-NEXT:         <key>start</key>
1052 // CHECK-NEXT:          <array>
1053 // CHECK-NEXT:           <dict>
1054 // CHECK-NEXT:            <key>line</key><integer>55</integer>
1055 // CHECK-NEXT:            <key>col</key><integer>3</integer>
1056 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1057 // CHECK-NEXT:           </dict>
1058 // CHECK-NEXT:           <dict>
1059 // CHECK-NEXT:            <key>line</key><integer>55</integer>
1060 // CHECK-NEXT:            <key>col</key><integer>3</integer>
1061 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1062 // CHECK-NEXT:           </dict>
1063 // CHECK-NEXT:          </array>
1064 // CHECK-NEXT:         <key>end</key>
1065 // CHECK-NEXT:          <array>
1066 // CHECK-NEXT:           <dict>
1067 // CHECK-NEXT:            <key>line</key><integer>56</integer>
1068 // CHECK-NEXT:            <key>col</key><integer>3</integer>
1069 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1070 // CHECK-NEXT:           </dict>
1071 // CHECK-NEXT:           <dict>
1072 // CHECK-NEXT:            <key>line</key><integer>56</integer>
1073 // CHECK-NEXT:            <key>col</key><integer>25</integer>
1074 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1075 // CHECK-NEXT:           </dict>
1076 // CHECK-NEXT:          </array>
1077 // CHECK-NEXT:        </dict>
1078 // CHECK-NEXT:       </array>
1079 // CHECK-NEXT:     </dict>
1080 // CHECK-NEXT:     <dict>
1081 // CHECK-NEXT:      <key>kind</key><string>event</string>
1082 // CHECK-NEXT:      <key>location</key>
1083 // CHECK-NEXT:      <dict>
1084 // CHECK-NEXT:       <key>line</key><integer>56</integer>
1085 // CHECK-NEXT:       <key>col</key><integer>3</integer>
1086 // CHECK-NEXT:       <key>file</key><integer>0</integer>
1087 // CHECK-NEXT:      </dict>
1088 // CHECK-NEXT:      <key>ranges</key>
1089 // CHECK-NEXT:      <array>
1090 // CHECK-NEXT:        <array>
1091 // CHECK-NEXT:         <dict>
1092 // CHECK-NEXT:          <key>line</key><integer>56</integer>
1093 // CHECK-NEXT:          <key>col</key><integer>3</integer>
1094 // CHECK-NEXT:          <key>file</key><integer>0</integer>
1095 // CHECK-NEXT:         </dict>
1096 // CHECK-NEXT:         <dict>
1097 // CHECK-NEXT:          <key>line</key><integer>56</integer>
1098 // CHECK-NEXT:          <key>col</key><integer>25</integer>
1099 // CHECK-NEXT:          <key>file</key><integer>0</integer>
1100 // CHECK-NEXT:         </dict>
1101 // CHECK-NEXT:        </array>
1102 // CHECK-NEXT:      </array>
1103 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
1104 // CHECK-NEXT:      <key>extended_message</key>
1105 // CHECK-NEXT:      <string>Assuming &apos;p&apos; is null</string>
1106 // CHECK-NEXT:      <key>message</key>
1107 // CHECK-NEXT:      <string>Assuming &apos;p&apos; is null</string>
1108 // CHECK-NEXT:     </dict>
1109 // CHECK-NEXT:     <dict>
1110 // CHECK-NEXT:      <key>kind</key><string>control</string>
1111 // CHECK-NEXT:      <key>edges</key>
1112 // CHECK-NEXT:       <array>
1113 // CHECK-NEXT:        <dict>
1114 // CHECK-NEXT:         <key>start</key>
1115 // CHECK-NEXT:          <array>
1116 // CHECK-NEXT:           <dict>
1117 // CHECK-NEXT:            <key>line</key><integer>56</integer>
1118 // CHECK-NEXT:            <key>col</key><integer>3</integer>
1119 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1120 // CHECK-NEXT:           </dict>
1121 // CHECK-NEXT:           <dict>
1122 // CHECK-NEXT:            <key>line</key><integer>56</integer>
1123 // CHECK-NEXT:            <key>col</key><integer>25</integer>
1124 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1125 // CHECK-NEXT:           </dict>
1126 // CHECK-NEXT:          </array>
1127 // CHECK-NEXT:         <key>end</key>
1128 // CHECK-NEXT:          <array>
1129 // CHECK-NEXT:           <dict>
1130 // CHECK-NEXT:            <key>line</key><integer>56</integer>
1131 // CHECK-NEXT:            <key>col</key><integer>3</integer>
1132 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1133 // CHECK-NEXT:           </dict>
1134 // CHECK-NEXT:           <dict>
1135 // CHECK-NEXT:            <key>line</key><integer>56</integer>
1136 // CHECK-NEXT:            <key>col</key><integer>25</integer>
1137 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1138 // CHECK-NEXT:           </dict>
1139 // CHECK-NEXT:          </array>
1140 // CHECK-NEXT:        </dict>
1141 // CHECK-NEXT:       </array>
1142 // CHECK-NEXT:     </dict>
1143 // CHECK-NEXT:     <dict>
1144 // CHECK-NEXT:      <key>kind</key><string>event</string>
1145 // CHECK-NEXT:      <key>location</key>
1146 // CHECK-NEXT:      <dict>
1147 // CHECK-NEXT:       <key>line</key><integer>56</integer>
1148 // CHECK-NEXT:       <key>col</key><integer>3</integer>
1149 // CHECK-NEXT:       <key>file</key><integer>0</integer>
1150 // CHECK-NEXT:      </dict>
1151 // CHECK-NEXT:      <key>ranges</key>
1152 // CHECK-NEXT:      <array>
1153 // CHECK-NEXT:        <array>
1154 // CHECK-NEXT:         <dict>
1155 // CHECK-NEXT:          <key>line</key><integer>56</integer>
1156 // CHECK-NEXT:          <key>col</key><integer>3</integer>
1157 // CHECK-NEXT:          <key>file</key><integer>0</integer>
1158 // CHECK-NEXT:         </dict>
1159 // CHECK-NEXT:         <dict>
1160 // CHECK-NEXT:          <key>line</key><integer>56</integer>
1161 // CHECK-NEXT:          <key>col</key><integer>25</integer>
1162 // CHECK-NEXT:          <key>file</key><integer>0</integer>
1163 // CHECK-NEXT:         </dict>
1164 // CHECK-NEXT:        </array>
1165 // CHECK-NEXT:      </array>
1166 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
1167 // CHECK-NEXT:      <key>extended_message</key>
1168 // CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
1169 // CHECK-NEXT:      <key>message</key>
1170 // CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
1171 // CHECK-NEXT:     </dict>
1172 // CHECK-NEXT:    </array>
1173 // CHECK-NEXT:    <key>description</key><string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
1174 // CHECK-NEXT:    <key>category</key><string>Logic error</string>
1175 // CHECK-NEXT:    <key>type</key><string>Dereference of null pointer</string>
1176 // CHECK-NEXT:    <key>check_name</key><string>core.NullDereference</string>
1177 // CHECK-NEXT:    <!-- This hash is experimental and going to change! -->
1178 // CHECK-NEXT:    <key>issue_hash_content_of_line_in_context</key><string>b53410f6c0d3d07e62ce5c6f91a1810a</string>
1179 // CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
1180 // CHECK-NEXT:   <key>issue_context</key><string>useMultiNoteMacroWithError</string>
1181 // CHECK-NEXT:   <key>issue_hash_function_offset</key><string>2</string>
1182 // CHECK-NEXT:   <key>location</key>
1183 // CHECK-NEXT:   <dict>
1184 // CHECK-NEXT:    <key>line</key><integer>56</integer>
1185 // CHECK-NEXT:    <key>col</key><integer>3</integer>
1186 // CHECK-NEXT:    <key>file</key><integer>0</integer>
1187 // CHECK-NEXT:   </dict>
1188 // CHECK-NEXT:   </dict>
1189 // CHECK-NEXT:   <dict>
1190 // CHECK-NEXT:    <key>path</key>
1191 // CHECK-NEXT:    <array>
1192 // CHECK-NEXT:     <dict>
1193 // CHECK-NEXT:      <key>kind</key><string>control</string>
1194 // CHECK-NEXT:      <key>edges</key>
1195 // CHECK-NEXT:       <array>
1196 // CHECK-NEXT:        <dict>
1197 // CHECK-NEXT:         <key>start</key>
1198 // CHECK-NEXT:          <array>
1199 // CHECK-NEXT:           <dict>
1200 // CHECK-NEXT:            <key>line</key><integer>67</integer>
1201 // CHECK-NEXT:            <key>col</key><integer>3</integer>
1202 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1203 // CHECK-NEXT:           </dict>
1204 // CHECK-NEXT:           <dict>
1205 // CHECK-NEXT:            <key>line</key><integer>67</integer>
1206 // CHECK-NEXT:            <key>col</key><integer>3</integer>
1207 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1208 // CHECK-NEXT:           </dict>
1209 // CHECK-NEXT:          </array>
1210 // CHECK-NEXT:         <key>end</key>
1211 // CHECK-NEXT:          <array>
1212 // CHECK-NEXT:           <dict>
1213 // CHECK-NEXT:            <key>line</key><integer>68</integer>
1214 // CHECK-NEXT:            <key>col</key><integer>3</integer>
1215 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1216 // CHECK-NEXT:           </dict>
1217 // CHECK-NEXT:           <dict>
1218 // CHECK-NEXT:            <key>line</key><integer>68</integer>
1219 // CHECK-NEXT:            <key>col</key><integer>16</integer>
1220 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1221 // CHECK-NEXT:           </dict>
1222 // CHECK-NEXT:          </array>
1223 // CHECK-NEXT:        </dict>
1224 // CHECK-NEXT:       </array>
1225 // CHECK-NEXT:     </dict>
1226 // CHECK-NEXT:     <dict>
1227 // CHECK-NEXT:      <key>kind</key><string>event</string>
1228 // CHECK-NEXT:      <key>location</key>
1229 // CHECK-NEXT:      <dict>
1230 // CHECK-NEXT:       <key>line</key><integer>68</integer>
1231 // CHECK-NEXT:       <key>col</key><integer>3</integer>
1232 // CHECK-NEXT:       <key>file</key><integer>0</integer>
1233 // CHECK-NEXT:      </dict>
1234 // CHECK-NEXT:      <key>ranges</key>
1235 // CHECK-NEXT:      <array>
1236 // CHECK-NEXT:        <array>
1237 // CHECK-NEXT:         <dict>
1238 // CHECK-NEXT:          <key>line</key><integer>68</integer>
1239 // CHECK-NEXT:          <key>col</key><integer>3</integer>
1240 // CHECK-NEXT:          <key>file</key><integer>0</integer>
1241 // CHECK-NEXT:         </dict>
1242 // CHECK-NEXT:         <dict>
1243 // CHECK-NEXT:          <key>line</key><integer>68</integer>
1244 // CHECK-NEXT:          <key>col</key><integer>16</integer>
1245 // CHECK-NEXT:          <key>file</key><integer>0</integer>
1246 // CHECK-NEXT:         </dict>
1247 // CHECK-NEXT:        </array>
1248 // CHECK-NEXT:      </array>
1249 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
1250 // CHECK-NEXT:      <key>extended_message</key>
1251 // CHECK-NEXT:      <string>Assuming &apos;p&apos; is null</string>
1252 // CHECK-NEXT:      <key>message</key>
1253 // CHECK-NEXT:      <string>Assuming &apos;p&apos; is null</string>
1254 // CHECK-NEXT:     </dict>
1255 // CHECK-NEXT:     <dict>
1256 // CHECK-NEXT:      <key>kind</key><string>event</string>
1257 // CHECK-NEXT:      <key>location</key>
1258 // CHECK-NEXT:      <dict>
1259 // CHECK-NEXT:       <key>line</key><integer>68</integer>
1260 // CHECK-NEXT:       <key>col</key><integer>3</integer>
1261 // CHECK-NEXT:       <key>file</key><integer>0</integer>
1262 // CHECK-NEXT:      </dict>
1263 // CHECK-NEXT:      <key>ranges</key>
1264 // CHECK-NEXT:      <array>
1265 // CHECK-NEXT:        <array>
1266 // CHECK-NEXT:         <dict>
1267 // CHECK-NEXT:          <key>line</key><integer>68</integer>
1268 // CHECK-NEXT:          <key>col</key><integer>3</integer>
1269 // CHECK-NEXT:          <key>file</key><integer>0</integer>
1270 // CHECK-NEXT:         </dict>
1271 // CHECK-NEXT:         <dict>
1272 // CHECK-NEXT:          <key>line</key><integer>68</integer>
1273 // CHECK-NEXT:          <key>col</key><integer>16</integer>
1274 // CHECK-NEXT:          <key>file</key><integer>0</integer>
1275 // CHECK-NEXT:         </dict>
1276 // CHECK-NEXT:        </array>
1277 // CHECK-NEXT:      </array>
1278 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
1279 // CHECK-NEXT:      <key>extended_message</key>
1280 // CHECK-NEXT:      <string>Assuming &apos;y&apos; is 0</string>
1281 // CHECK-NEXT:      <key>message</key>
1282 // CHECK-NEXT:      <string>Assuming &apos;y&apos; is 0</string>
1283 // CHECK-NEXT:     </dict>
1284 // CHECK-NEXT:     <dict>
1285 // CHECK-NEXT:      <key>kind</key><string>control</string>
1286 // CHECK-NEXT:      <key>edges</key>
1287 // CHECK-NEXT:       <array>
1288 // CHECK-NEXT:        <dict>
1289 // CHECK-NEXT:         <key>start</key>
1290 // CHECK-NEXT:          <array>
1291 // CHECK-NEXT:           <dict>
1292 // CHECK-NEXT:            <key>line</key><integer>68</integer>
1293 // CHECK-NEXT:            <key>col</key><integer>3</integer>
1294 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1295 // CHECK-NEXT:           </dict>
1296 // CHECK-NEXT:           <dict>
1297 // CHECK-NEXT:            <key>line</key><integer>68</integer>
1298 // CHECK-NEXT:            <key>col</key><integer>16</integer>
1299 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1300 // CHECK-NEXT:           </dict>
1301 // CHECK-NEXT:          </array>
1302 // CHECK-NEXT:         <key>end</key>
1303 // CHECK-NEXT:          <array>
1304 // CHECK-NEXT:           <dict>
1305 // CHECK-NEXT:            <key>line</key><integer>70</integer>
1306 // CHECK-NEXT:            <key>col</key><integer>3</integer>
1307 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1308 // CHECK-NEXT:           </dict>
1309 // CHECK-NEXT:           <dict>
1310 // CHECK-NEXT:            <key>line</key><integer>70</integer>
1311 // CHECK-NEXT:            <key>col</key><integer>8</integer>
1312 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1313 // CHECK-NEXT:           </dict>
1314 // CHECK-NEXT:          </array>
1315 // CHECK-NEXT:        </dict>
1316 // CHECK-NEXT:       </array>
1317 // CHECK-NEXT:     </dict>
1318 // CHECK-NEXT:     <dict>
1319 // CHECK-NEXT:      <key>kind</key><string>control</string>
1320 // CHECK-NEXT:      <key>edges</key>
1321 // CHECK-NEXT:       <array>
1322 // CHECK-NEXT:        <dict>
1323 // CHECK-NEXT:         <key>start</key>
1324 // CHECK-NEXT:          <array>
1325 // CHECK-NEXT:           <dict>
1326 // CHECK-NEXT:            <key>line</key><integer>70</integer>
1327 // CHECK-NEXT:            <key>col</key><integer>3</integer>
1328 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1329 // CHECK-NEXT:           </dict>
1330 // CHECK-NEXT:           <dict>
1331 // CHECK-NEXT:            <key>line</key><integer>70</integer>
1332 // CHECK-NEXT:            <key>col</key><integer>8</integer>
1333 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1334 // CHECK-NEXT:           </dict>
1335 // CHECK-NEXT:          </array>
1336 // CHECK-NEXT:         <key>end</key>
1337 // CHECK-NEXT:          <array>
1338 // CHECK-NEXT:           <dict>
1339 // CHECK-NEXT:            <key>line</key><integer>70</integer>
1340 // CHECK-NEXT:            <key>col</key><integer>10</integer>
1341 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1342 // CHECK-NEXT:           </dict>
1343 // CHECK-NEXT:           <dict>
1344 // CHECK-NEXT:            <key>line</key><integer>70</integer>
1345 // CHECK-NEXT:            <key>col</key><integer>10</integer>
1346 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1347 // CHECK-NEXT:           </dict>
1348 // CHECK-NEXT:          </array>
1349 // CHECK-NEXT:        </dict>
1350 // CHECK-NEXT:       </array>
1351 // CHECK-NEXT:     </dict>
1352 // CHECK-NEXT:     <dict>
1353 // CHECK-NEXT:      <key>kind</key><string>event</string>
1354 // CHECK-NEXT:      <key>location</key>
1355 // CHECK-NEXT:      <dict>
1356 // CHECK-NEXT:       <key>line</key><integer>70</integer>
1357 // CHECK-NEXT:       <key>col</key><integer>10</integer>
1358 // CHECK-NEXT:       <key>file</key><integer>0</integer>
1359 // CHECK-NEXT:      </dict>
1360 // CHECK-NEXT:      <key>ranges</key>
1361 // CHECK-NEXT:      <array>
1362 // CHECK-NEXT:        <array>
1363 // CHECK-NEXT:         <dict>
1364 // CHECK-NEXT:          <key>line</key><integer>70</integer>
1365 // CHECK-NEXT:          <key>col</key><integer>11</integer>
1366 // CHECK-NEXT:          <key>file</key><integer>0</integer>
1367 // CHECK-NEXT:         </dict>
1368 // CHECK-NEXT:         <dict>
1369 // CHECK-NEXT:          <key>line</key><integer>70</integer>
1370 // CHECK-NEXT:          <key>col</key><integer>11</integer>
1371 // CHECK-NEXT:          <key>file</key><integer>0</integer>
1372 // CHECK-NEXT:         </dict>
1373 // CHECK-NEXT:        </array>
1374 // CHECK-NEXT:      </array>
1375 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
1376 // CHECK-NEXT:      <key>extended_message</key>
1377 // CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
1378 // CHECK-NEXT:      <key>message</key>
1379 // CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
1380 // CHECK-NEXT:     </dict>
1381 // CHECK-NEXT:    </array>
1382 // CHECK-NEXT:    <key>description</key><string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
1383 // CHECK-NEXT:    <key>category</key><string>Logic error</string>
1384 // CHECK-NEXT:    <key>type</key><string>Dereference of null pointer</string>
1385 // CHECK-NEXT:    <key>check_name</key><string>core.NullDereference</string>
1386 // CHECK-NEXT:    <!-- This hash is experimental and going to change! -->
1387 // CHECK-NEXT:    <key>issue_hash_content_of_line_in_context</key><string>41f58f9549aa1867e461a7996a8d335c</string>
1388 // CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
1389 // CHECK-NEXT:   <key>issue_context</key><string>useMultiNote</string>
1390 // CHECK-NEXT:   <key>issue_hash_function_offset</key><string>4</string>
1391 // CHECK-NEXT:   <key>location</key>
1392 // CHECK-NEXT:   <dict>
1393 // CHECK-NEXT:    <key>line</key><integer>70</integer>
1394 // CHECK-NEXT:    <key>col</key><integer>10</integer>
1395 // CHECK-NEXT:    <key>file</key><integer>0</integer>
1396 // CHECK-NEXT:   </dict>
1397 // CHECK-NEXT:   </dict>
1398 // CHECK-NEXT:   <dict>
1399 // CHECK-NEXT:    <key>path</key>
1400 // CHECK-NEXT:    <array>
1401 // CHECK-NEXT:     <dict>
1402 // CHECK-NEXT:      <key>kind</key><string>event</string>
1403 // CHECK-NEXT:      <key>location</key>
1404 // CHECK-NEXT:      <dict>
1405 // CHECK-NEXT:       <key>line</key><integer>82</integer>
1406 // CHECK-NEXT:       <key>col</key><integer>3</integer>
1407 // CHECK-NEXT:       <key>file</key><integer>0</integer>
1408 // CHECK-NEXT:      </dict>
1409 // CHECK-NEXT:      <key>ranges</key>
1410 // CHECK-NEXT:      <array>
1411 // CHECK-NEXT:        <array>
1412 // CHECK-NEXT:         <dict>
1413 // CHECK-NEXT:          <key>line</key><integer>82</integer>
1414 // CHECK-NEXT:          <key>col</key><integer>3</integer>
1415 // CHECK-NEXT:          <key>file</key><integer>0</integer>
1416 // CHECK-NEXT:         </dict>
1417 // CHECK-NEXT:         <dict>
1418 // CHECK-NEXT:          <key>line</key><integer>82</integer>
1419 // CHECK-NEXT:          <key>col</key><integer>12</integer>
1420 // CHECK-NEXT:          <key>file</key><integer>0</integer>
1421 // CHECK-NEXT:         </dict>
1422 // CHECK-NEXT:        </array>
1423 // CHECK-NEXT:      </array>
1424 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
1425 // CHECK-NEXT:      <key>extended_message</key>
1426 // CHECK-NEXT:      <string>Passing null pointer value via 1st parameter &apos;a&apos;</string>
1427 // CHECK-NEXT:      <key>message</key>
1428 // CHECK-NEXT:      <string>Passing null pointer value via 1st parameter &apos;a&apos;</string>
1429 // CHECK-NEXT:     </dict>
1430 // CHECK-NEXT:     <dict>
1431 // CHECK-NEXT:      <key>kind</key><string>event</string>
1432 // CHECK-NEXT:      <key>location</key>
1433 // CHECK-NEXT:      <dict>
1434 // CHECK-NEXT:       <key>line</key><integer>82</integer>
1435 // CHECK-NEXT:       <key>col</key><integer>3</integer>
1436 // CHECK-NEXT:       <key>file</key><integer>0</integer>
1437 // CHECK-NEXT:      </dict>
1438 // CHECK-NEXT:      <key>ranges</key>
1439 // CHECK-NEXT:      <array>
1440 // CHECK-NEXT:        <array>
1441 // CHECK-NEXT:         <dict>
1442 // CHECK-NEXT:          <key>line</key><integer>82</integer>
1443 // CHECK-NEXT:          <key>col</key><integer>3</integer>
1444 // CHECK-NEXT:          <key>file</key><integer>0</integer>
1445 // CHECK-NEXT:         </dict>
1446 // CHECK-NEXT:         <dict>
1447 // CHECK-NEXT:          <key>line</key><integer>82</integer>
1448 // CHECK-NEXT:          <key>col</key><integer>12</integer>
1449 // CHECK-NEXT:          <key>file</key><integer>0</integer>
1450 // CHECK-NEXT:         </dict>
1451 // CHECK-NEXT:        </array>
1452 // CHECK-NEXT:      </array>
1453 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
1454 // CHECK-NEXT:      <key>extended_message</key>
1455 // CHECK-NEXT:      <string>Calling &apos;null_deref&apos;</string>
1456 // CHECK-NEXT:      <key>message</key>
1457 // CHECK-NEXT:      <string>Calling &apos;null_deref&apos;</string>
1458 // CHECK-NEXT:     </dict>
1459 // CHECK-NEXT:     <dict>
1460 // CHECK-NEXT:      <key>kind</key><string>event</string>
1461 // CHECK-NEXT:      <key>location</key>
1462 // CHECK-NEXT:      <dict>
1463 // CHECK-NEXT:       <key>line</key><integer>75</integer>
1464 // CHECK-NEXT:       <key>col</key><integer>1</integer>
1465 // CHECK-NEXT:       <key>file</key><integer>0</integer>
1466 // CHECK-NEXT:      </dict>
1467 // CHECK-NEXT:      <key>depth</key><integer>1</integer>
1468 // CHECK-NEXT:      <key>extended_message</key>
1469 // CHECK-NEXT:      <string>Entered call from &apos;test1&apos;</string>
1470 // CHECK-NEXT:      <key>message</key>
1471 // CHECK-NEXT:      <string>Entered call from &apos;test1&apos;</string>
1472 // CHECK-NEXT:     </dict>
1473 // CHECK-NEXT:     <dict>
1474 // CHECK-NEXT:      <key>kind</key><string>control</string>
1475 // CHECK-NEXT:      <key>edges</key>
1476 // CHECK-NEXT:       <array>
1477 // CHECK-NEXT:        <dict>
1478 // CHECK-NEXT:         <key>start</key>
1479 // CHECK-NEXT:          <array>
1480 // CHECK-NEXT:           <dict>
1481 // CHECK-NEXT:            <key>line</key><integer>75</integer>
1482 // CHECK-NEXT:            <key>col</key><integer>1</integer>
1483 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1484 // CHECK-NEXT:           </dict>
1485 // CHECK-NEXT:           <dict>
1486 // CHECK-NEXT:            <key>line</key><integer>75</integer>
1487 // CHECK-NEXT:            <key>col</key><integer>4</integer>
1488 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1489 // CHECK-NEXT:           </dict>
1490 // CHECK-NEXT:          </array>
1491 // CHECK-NEXT:         <key>end</key>
1492 // CHECK-NEXT:          <array>
1493 // CHECK-NEXT:           <dict>
1494 // CHECK-NEXT:            <key>line</key><integer>76</integer>
1495 // CHECK-NEXT:            <key>col</key><integer>3</integer>
1496 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1497 // CHECK-NEXT:           </dict>
1498 // CHECK-NEXT:           <dict>
1499 // CHECK-NEXT:            <key>line</key><integer>76</integer>
1500 // CHECK-NEXT:            <key>col</key><integer>4</integer>
1501 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1502 // CHECK-NEXT:           </dict>
1503 // CHECK-NEXT:          </array>
1504 // CHECK-NEXT:        </dict>
1505 // CHECK-NEXT:       </array>
1506 // CHECK-NEXT:     </dict>
1507 // CHECK-NEXT:     <dict>
1508 // CHECK-NEXT:      <key>kind</key><string>control</string>
1509 // CHECK-NEXT:      <key>edges</key>
1510 // CHECK-NEXT:       <array>
1511 // CHECK-NEXT:        <dict>
1512 // CHECK-NEXT:         <key>start</key>
1513 // CHECK-NEXT:          <array>
1514 // CHECK-NEXT:           <dict>
1515 // CHECK-NEXT:            <key>line</key><integer>76</integer>
1516 // CHECK-NEXT:            <key>col</key><integer>3</integer>
1517 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1518 // CHECK-NEXT:           </dict>
1519 // CHECK-NEXT:           <dict>
1520 // CHECK-NEXT:            <key>line</key><integer>76</integer>
1521 // CHECK-NEXT:            <key>col</key><integer>4</integer>
1522 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1523 // CHECK-NEXT:           </dict>
1524 // CHECK-NEXT:          </array>
1525 // CHECK-NEXT:         <key>end</key>
1526 // CHECK-NEXT:          <array>
1527 // CHECK-NEXT:           <dict>
1528 // CHECK-NEXT:            <key>line</key><integer>78</integer>
1529 // CHECK-NEXT:            <key>col</key><integer>3</integer>
1530 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1531 // CHECK-NEXT:           </dict>
1532 // CHECK-NEXT:           <dict>
1533 // CHECK-NEXT:            <key>line</key><integer>78</integer>
1534 // CHECK-NEXT:            <key>col</key><integer>3</integer>
1535 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1536 // CHECK-NEXT:           </dict>
1537 // CHECK-NEXT:          </array>
1538 // CHECK-NEXT:        </dict>
1539 // CHECK-NEXT:       </array>
1540 // CHECK-NEXT:     </dict>
1541 // CHECK-NEXT:     <dict>
1542 // CHECK-NEXT:      <key>kind</key><string>control</string>
1543 // CHECK-NEXT:      <key>edges</key>
1544 // CHECK-NEXT:       <array>
1545 // CHECK-NEXT:        <dict>
1546 // CHECK-NEXT:         <key>start</key>
1547 // CHECK-NEXT:          <array>
1548 // CHECK-NEXT:           <dict>
1549 // CHECK-NEXT:            <key>line</key><integer>78</integer>
1550 // CHECK-NEXT:            <key>col</key><integer>3</integer>
1551 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1552 // CHECK-NEXT:           </dict>
1553 // CHECK-NEXT:           <dict>
1554 // CHECK-NEXT:            <key>line</key><integer>78</integer>
1555 // CHECK-NEXT:            <key>col</key><integer>3</integer>
1556 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1557 // CHECK-NEXT:           </dict>
1558 // CHECK-NEXT:          </array>
1559 // CHECK-NEXT:         <key>end</key>
1560 // CHECK-NEXT:          <array>
1561 // CHECK-NEXT:           <dict>
1562 // CHECK-NEXT:            <key>line</key><integer>78</integer>
1563 // CHECK-NEXT:            <key>col</key><integer>6</integer>
1564 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1565 // CHECK-NEXT:           </dict>
1566 // CHECK-NEXT:           <dict>
1567 // CHECK-NEXT:            <key>line</key><integer>78</integer>
1568 // CHECK-NEXT:            <key>col</key><integer>6</integer>
1569 // CHECK-NEXT:            <key>file</key><integer>0</integer>
1570 // CHECK-NEXT:           </dict>
1571 // CHECK-NEXT:          </array>
1572 // CHECK-NEXT:        </dict>
1573 // CHECK-NEXT:       </array>
1574 // CHECK-NEXT:     </dict>
1575 // CHECK-NEXT:     <dict>
1576 // CHECK-NEXT:      <key>kind</key><string>event</string>
1577 // CHECK-NEXT:      <key>location</key>
1578 // CHECK-NEXT:      <dict>
1579 // CHECK-NEXT:       <key>line</key><integer>78</integer>
1580 // CHECK-NEXT:       <key>col</key><integer>6</integer>
1581 // CHECK-NEXT:       <key>file</key><integer>0</integer>
1582 // CHECK-NEXT:      </dict>
1583 // CHECK-NEXT:      <key>ranges</key>
1584 // CHECK-NEXT:      <array>
1585 // CHECK-NEXT:        <array>
1586 // CHECK-NEXT:         <dict>
1587 // CHECK-NEXT:          <key>line</key><integer>78</integer>
1588 // CHECK-NEXT:          <key>col</key><integer>4</integer>
1589 // CHECK-NEXT:          <key>file</key><integer>0</integer>
1590 // CHECK-NEXT:         </dict>
1591 // CHECK-NEXT:         <dict>
1592 // CHECK-NEXT:          <key>line</key><integer>78</integer>
1593 // CHECK-NEXT:          <key>col</key><integer>4</integer>
1594 // CHECK-NEXT:          <key>file</key><integer>0</integer>
1595 // CHECK-NEXT:         </dict>
1596 // CHECK-NEXT:        </array>
1597 // CHECK-NEXT:      </array>
1598 // CHECK-NEXT:      <key>depth</key><integer>1</integer>
1599 // CHECK-NEXT:      <key>extended_message</key>
1600 // CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;a&apos;)</string>
1601 // CHECK-NEXT:      <key>message</key>
1602 // CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;a&apos;)</string>
1603 // CHECK-NEXT:     </dict>
1604 // CHECK-NEXT:    </array>
1605 // CHECK-NEXT:    <key>description</key><string>Dereference of null pointer (loaded from variable &apos;a&apos;)</string>
1606 // CHECK-NEXT:    <key>category</key><string>Logic error</string>
1607 // CHECK-NEXT:    <key>type</key><string>Dereference of null pointer</string>
1608 // CHECK-NEXT:    <key>check_name</key><string>core.NullDereference</string>
1609 // CHECK-NEXT:    <!-- This hash is experimental and going to change! -->
1610 // CHECK-NEXT:    <key>issue_hash_content_of_line_in_context</key><string>2dc47a4afc2f349f12217b38588769f4</string>
1611 // CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
1612 // CHECK-NEXT:   <key>issue_context</key><string>null_deref</string>
1613 // CHECK-NEXT:   <key>issue_hash_function_offset</key><string>3</string>
1614 // CHECK-NEXT:   <key>location</key>
1615 // CHECK-NEXT:   <dict>
1616 // CHECK-NEXT:    <key>line</key><integer>78</integer>
1617 // CHECK-NEXT:    <key>col</key><integer>6</integer>
1618 // CHECK-NEXT:    <key>file</key><integer>0</integer>
1619 // CHECK-NEXT:   </dict>
1620 // CHECK-NEXT:   </dict>
1621 // CHECK-NEXT:  </array>
1622