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