• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: rm -f %t
2 // RUN: %clang_cc1 -analyze -fblocks -analyzer-checker=core,unix.Malloc -analyzer-output=plist -analyzer-config path-diagnostics-alternate=false -o %t %s
3 // RUN: FileCheck -input-file %t %s
4 
5 typedef __typeof(sizeof(int)) size_t;
6 void *malloc(size_t);
7 void free(void *);
8 void *realloc(void *ptr, size_t size);
9 
diagnosticTest(int in)10 void diagnosticTest(int in) {
11     if (in > 5) {
12         int *p = malloc(12);
13         (*p)++;
14     }
15     in++; // expected-warning {{leak}}
16 }
17 
myArrayAllocation()18 void myArrayAllocation() {
19     int **A;
20     A = malloc(2*sizeof(int*));
21     A[0] = 0;// expected-warning {{leak}}
22 }
23 
reallocDiagnostics()24 void reallocDiagnostics() {
25     char * buf = malloc(100);
26     char * tmp;
27     tmp = (char*)realloc(buf, 0x1000000);
28     if (!tmp) {
29         return;// expected-warning {{leak}}
30     }
31     buf = tmp;
32     free(buf);
33 }
34 
wrapper()35 void *wrapper() {
36   void *x = malloc(100);
37   // This is intentionally done to test diagnostic emission.
38   if (x)
39     return x;
40   return 0;
41 }
42 
test_wrapper()43 void test_wrapper() {
44   void *buf = wrapper();
45   (void) buf;
46 }
47 
48 // Test what happens when the same call frees and allocated memory.
49 // Also tests the stack hint for parameters, when they are passed directly or via pointer.
my_free(void * x)50 void my_free(void *x) {
51     free(x);
52 }
my_malloc_and_free(void ** x)53 void my_malloc_and_free(void **x) {
54     *x = malloc(100);
55     if (*x)
56       my_free(*x);
57     return;
58 }
test_double_action_call()59 void *test_double_action_call() {
60     void *buf;
61     my_malloc_and_free(&buf);
62     return buf;
63 }
64 
65 // Test stack hint for 'reallocation failed'.
my_realloc(char * buf)66 char *my_realloc(char *buf) {
67     char *tmp;
68     tmp = (char*)realloc(buf, 0x1000000);
69     if (!tmp) {
70         return tmp;
71     }
72     return tmp;
73 }
reallocIntra()74 void reallocIntra() {
75     char *buf = (char *)malloc(100);
76     buf = my_realloc(buf);
77     free(buf);
78 }
79 
80 // Test stack hint when returning a result.
malloc_wrapper_ret()81 static char *malloc_wrapper_ret() {
82     return (char*)malloc(12);
83 }
use_ret()84 void use_ret() {
85     char *v;
86     v = malloc_wrapper_ret();
87 }
88 
89 // Passing a block as a parameter to an inlined call for which we generate
90 // a stack hint message caused crashes.
91 // rdar://problem/21291971
92 void myfree_takingblock(void (^ignored)(void), int *p) {
93   free(p);
94 }
95 
call_myfree_takingblock()96 void call_myfree_takingblock() {
97   void (^some_block)(void) = ^void(void) { };
98 
99   int *p = malloc(sizeof(int));
100   myfree_takingblock(some_block, p);
101   *p = 3;
102 }
103 
104 // Test that we refer to the last symbol used in the leak diagnostic.
LeakedSymbol(int in)105 void LeakedSymbol(int in) {
106     int *m = 0;
107     int *p;
108     p = (int*)malloc(12);
109     (*p)++;
110     m = p;
111     p = 0;
112     (*m)++;
113     in++;
114 }
115 
116 // Tests that exercise running remove dead bindings at Call exit.
function_with_leak1()117 static void function_with_leak1() {
118     char *x = (char*)malloc(12);
119 }
use_function_with_leak1()120 void use_function_with_leak1() {
121     function_with_leak1();
122     int y = 0;
123 }
124 
function_with_leak2()125 static void function_with_leak2() {
126     char *x = (char*)malloc(12);
127     int m = 0;
128 }
use_function_with_leak2()129 void use_function_with_leak2() {
130     function_with_leak2();
131 }
132 
function_with_leak3(int y)133 static void function_with_leak3(int y) {
134     char *x = (char*)malloc(12);
135     if (y)
136         y++;
137 }
use_function_with_leak3(int y)138 void use_function_with_leak3(int y) {
139     function_with_leak3(y);
140 }
141 
function_with_leak4(int y)142 static void function_with_leak4(int y) {
143     char *x = (char*)malloc(12);
144     if (y)
145         y++;
146     else
147         y--;
148 }
use_function_with_leak4(int y)149 void use_function_with_leak4(int y) {
150     function_with_leak4(y);
151 }
152 
anotherFunction5()153 int anotherFunction5() {
154     return 5;
155 }
function_with_leak5()156 static int function_with_leak5() {
157     char *x = (char*)malloc(12);
158     return anotherFunction5();
159 }
use_function_with_leak5()160 void use_function_with_leak5() {
161     function_with_leak5();
162 }
163 
anotherFunction6(int m)164 void anotherFunction6(int m) {
165     m++;
166 }
function_with_leak6()167 static void function_with_leak6() {
168     char *x = (char*)malloc(12);
169     anotherFunction6(3);
170 }
use_function_with_leak6()171 void use_function_with_leak6() {
172     function_with_leak6();
173 }
174 
empty_function()175 static void empty_function(){
176 }
use_empty_function()177 void use_empty_function() {
178     empty_function();
179 }
function_with_leak7()180 static char *function_with_leak7() {
181     return (char*)malloc(12);
182 }
use_function_with_leak7()183 void use_function_with_leak7() {
184     function_with_leak7();
185 }
186 
187 // Test that we do not print the name of a variable not visible from where
188 // the issue is reported.
my_malloc()189 int *my_malloc() {
190   int *p = malloc(12);
191   return p;
192 }
testOnlyRefferToVisibleVariables()193 void testOnlyRefferToVisibleVariables() {
194   my_malloc();
195 } // expected-warning {{Potential leak of memory}}
196 
197 struct PointerWrapper{
198   int*p;
199 };
my_malloc_into_struct()200 int *my_malloc_into_struct() {
201   struct PointerWrapper w;
202   w.p = malloc(12);
203   return w.p;
204 }
testMyMalloc()205 void testMyMalloc() {
206   my_malloc_into_struct(); // expected-warning {{Potential leak of memory}}
207 }
208 
209 // CHECK:   <key>diagnostics</key>
210 // CHECK-NEXT:   <array>
211 // CHECK-NEXT:    <dict>
212 // CHECK-NEXT:     <key>path</key>
213 // CHECK-NEXT:     <array>
214 // CHECK-NEXT:      <dict>
215 // CHECK-NEXT:       <key>kind</key><string>control</string>
216 // CHECK-NEXT:       <key>edges</key>
217 // CHECK-NEXT:        <array>
218 // CHECK-NEXT:         <dict>
219 // CHECK-NEXT:          <key>start</key>
220 // CHECK-NEXT:           <array>
221 // CHECK-NEXT:            <dict>
222 // CHECK-NEXT:             <key>line</key><integer>11</integer>
223 // CHECK-NEXT:             <key>col</key><integer>5</integer>
224 // CHECK-NEXT:             <key>file</key><integer>0</integer>
225 // CHECK-NEXT:            </dict>
226 // CHECK-NEXT:            <dict>
227 // CHECK-NEXT:             <key>line</key><integer>11</integer>
228 // CHECK-NEXT:             <key>col</key><integer>6</integer>
229 // CHECK-NEXT:             <key>file</key><integer>0</integer>
230 // CHECK-NEXT:            </dict>
231 // CHECK-NEXT:           </array>
232 // CHECK-NEXT:          <key>end</key>
233 // CHECK-NEXT:           <array>
234 // CHECK-NEXT:            <dict>
235 // CHECK-NEXT:             <key>line</key><integer>11</integer>
236 // CHECK-NEXT:             <key>col</key><integer>9</integer>
237 // CHECK-NEXT:             <key>file</key><integer>0</integer>
238 // CHECK-NEXT:            </dict>
239 // CHECK-NEXT:            <dict>
240 // CHECK-NEXT:             <key>line</key><integer>11</integer>
241 // CHECK-NEXT:             <key>col</key><integer>10</integer>
242 // CHECK-NEXT:             <key>file</key><integer>0</integer>
243 // CHECK-NEXT:            </dict>
244 // CHECK-NEXT:           </array>
245 // CHECK-NEXT:         </dict>
246 // CHECK-NEXT:        </array>
247 // CHECK-NEXT:      </dict>
248 // CHECK-NEXT:      <dict>
249 // CHECK-NEXT:       <key>kind</key><string>event</string>
250 // CHECK-NEXT:       <key>location</key>
251 // CHECK-NEXT:       <dict>
252 // CHECK-NEXT:        <key>line</key><integer>11</integer>
253 // CHECK-NEXT:        <key>col</key><integer>9</integer>
254 // CHECK-NEXT:        <key>file</key><integer>0</integer>
255 // CHECK-NEXT:       </dict>
256 // CHECK-NEXT:       <key>ranges</key>
257 // CHECK-NEXT:       <array>
258 // CHECK-NEXT:         <array>
259 // CHECK-NEXT:          <dict>
260 // CHECK-NEXT:           <key>line</key><integer>11</integer>
261 // CHECK-NEXT:           <key>col</key><integer>9</integer>
262 // CHECK-NEXT:           <key>file</key><integer>0</integer>
263 // CHECK-NEXT:          </dict>
264 // CHECK-NEXT:          <dict>
265 // CHECK-NEXT:           <key>line</key><integer>11</integer>
266 // CHECK-NEXT:           <key>col</key><integer>14</integer>
267 // CHECK-NEXT:           <key>file</key><integer>0</integer>
268 // CHECK-NEXT:          </dict>
269 // CHECK-NEXT:         </array>
270 // CHECK-NEXT:       </array>
271 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
272 // CHECK-NEXT:       <key>extended_message</key>
273 // CHECK-NEXT:       <string>Assuming &apos;in&apos; is &gt; 5</string>
274 // CHECK-NEXT:       <key>message</key>
275 // CHECK-NEXT:       <string>Assuming &apos;in&apos; is &gt; 5</string>
276 // CHECK-NEXT:      </dict>
277 // CHECK-NEXT:      <dict>
278 // CHECK-NEXT:       <key>kind</key><string>control</string>
279 // CHECK-NEXT:       <key>edges</key>
280 // CHECK-NEXT:        <array>
281 // CHECK-NEXT:         <dict>
282 // CHECK-NEXT:          <key>start</key>
283 // CHECK-NEXT:           <array>
284 // CHECK-NEXT:            <dict>
285 // CHECK-NEXT:             <key>line</key><integer>11</integer>
286 // CHECK-NEXT:             <key>col</key><integer>9</integer>
287 // CHECK-NEXT:             <key>file</key><integer>0</integer>
288 // CHECK-NEXT:            </dict>
289 // CHECK-NEXT:            <dict>
290 // CHECK-NEXT:             <key>line</key><integer>11</integer>
291 // CHECK-NEXT:             <key>col</key><integer>10</integer>
292 // CHECK-NEXT:             <key>file</key><integer>0</integer>
293 // CHECK-NEXT:            </dict>
294 // CHECK-NEXT:           </array>
295 // CHECK-NEXT:          <key>end</key>
296 // CHECK-NEXT:           <array>
297 // CHECK-NEXT:            <dict>
298 // CHECK-NEXT:             <key>line</key><integer>12</integer>
299 // CHECK-NEXT:             <key>col</key><integer>9</integer>
300 // CHECK-NEXT:             <key>file</key><integer>0</integer>
301 // CHECK-NEXT:            </dict>
302 // CHECK-NEXT:            <dict>
303 // CHECK-NEXT:             <key>line</key><integer>12</integer>
304 // CHECK-NEXT:             <key>col</key><integer>11</integer>
305 // CHECK-NEXT:             <key>file</key><integer>0</integer>
306 // CHECK-NEXT:            </dict>
307 // CHECK-NEXT:           </array>
308 // CHECK-NEXT:         </dict>
309 // CHECK-NEXT:        </array>
310 // CHECK-NEXT:      </dict>
311 // CHECK-NEXT:      <dict>
312 // CHECK-NEXT:       <key>kind</key><string>control</string>
313 // CHECK-NEXT:       <key>edges</key>
314 // CHECK-NEXT:        <array>
315 // CHECK-NEXT:         <dict>
316 // CHECK-NEXT:          <key>start</key>
317 // CHECK-NEXT:           <array>
318 // CHECK-NEXT:            <dict>
319 // CHECK-NEXT:             <key>line</key><integer>12</integer>
320 // CHECK-NEXT:             <key>col</key><integer>9</integer>
321 // CHECK-NEXT:             <key>file</key><integer>0</integer>
322 // CHECK-NEXT:            </dict>
323 // CHECK-NEXT:            <dict>
324 // CHECK-NEXT:             <key>line</key><integer>12</integer>
325 // CHECK-NEXT:             <key>col</key><integer>11</integer>
326 // CHECK-NEXT:             <key>file</key><integer>0</integer>
327 // CHECK-NEXT:            </dict>
328 // CHECK-NEXT:           </array>
329 // CHECK-NEXT:          <key>end</key>
330 // CHECK-NEXT:           <array>
331 // CHECK-NEXT:            <dict>
332 // CHECK-NEXT:             <key>line</key><integer>12</integer>
333 // CHECK-NEXT:             <key>col</key><integer>18</integer>
334 // CHECK-NEXT:             <key>file</key><integer>0</integer>
335 // CHECK-NEXT:            </dict>
336 // CHECK-NEXT:            <dict>
337 // CHECK-NEXT:             <key>line</key><integer>12</integer>
338 // CHECK-NEXT:             <key>col</key><integer>23</integer>
339 // CHECK-NEXT:             <key>file</key><integer>0</integer>
340 // CHECK-NEXT:            </dict>
341 // CHECK-NEXT:           </array>
342 // CHECK-NEXT:         </dict>
343 // CHECK-NEXT:        </array>
344 // CHECK-NEXT:      </dict>
345 // CHECK-NEXT:      <dict>
346 // CHECK-NEXT:       <key>kind</key><string>event</string>
347 // CHECK-NEXT:       <key>location</key>
348 // CHECK-NEXT:       <dict>
349 // CHECK-NEXT:        <key>line</key><integer>12</integer>
350 // CHECK-NEXT:        <key>col</key><integer>18</integer>
351 // CHECK-NEXT:        <key>file</key><integer>0</integer>
352 // CHECK-NEXT:       </dict>
353 // CHECK-NEXT:       <key>ranges</key>
354 // CHECK-NEXT:       <array>
355 // CHECK-NEXT:         <array>
356 // CHECK-NEXT:          <dict>
357 // CHECK-NEXT:           <key>line</key><integer>12</integer>
358 // CHECK-NEXT:           <key>col</key><integer>18</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>12</integer>
363 // CHECK-NEXT:           <key>col</key><integer>27</integer>
364 // CHECK-NEXT:           <key>file</key><integer>0</integer>
365 // CHECK-NEXT:          </dict>
366 // CHECK-NEXT:         </array>
367 // CHECK-NEXT:       </array>
368 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
369 // CHECK-NEXT:       <key>extended_message</key>
370 // CHECK-NEXT:       <string>Memory is allocated</string>
371 // CHECK-NEXT:       <key>message</key>
372 // CHECK-NEXT:       <string>Memory is allocated</string>
373 // CHECK-NEXT:      </dict>
374 // CHECK-NEXT:      <dict>
375 // CHECK-NEXT:       <key>kind</key><string>control</string>
376 // CHECK-NEXT:       <key>edges</key>
377 // CHECK-NEXT:        <array>
378 // CHECK-NEXT:         <dict>
379 // CHECK-NEXT:          <key>start</key>
380 // CHECK-NEXT:           <array>
381 // CHECK-NEXT:            <dict>
382 // CHECK-NEXT:             <key>line</key><integer>12</integer>
383 // CHECK-NEXT:             <key>col</key><integer>18</integer>
384 // CHECK-NEXT:             <key>file</key><integer>0</integer>
385 // CHECK-NEXT:            </dict>
386 // CHECK-NEXT:            <dict>
387 // CHECK-NEXT:             <key>line</key><integer>12</integer>
388 // CHECK-NEXT:             <key>col</key><integer>23</integer>
389 // CHECK-NEXT:             <key>file</key><integer>0</integer>
390 // CHECK-NEXT:            </dict>
391 // CHECK-NEXT:           </array>
392 // CHECK-NEXT:          <key>end</key>
393 // CHECK-NEXT:           <array>
394 // CHECK-NEXT:            <dict>
395 // CHECK-NEXT:             <key>line</key><integer>15</integer>
396 // CHECK-NEXT:             <key>col</key><integer>5</integer>
397 // CHECK-NEXT:             <key>file</key><integer>0</integer>
398 // CHECK-NEXT:            </dict>
399 // CHECK-NEXT:            <dict>
400 // CHECK-NEXT:             <key>line</key><integer>15</integer>
401 // CHECK-NEXT:             <key>col</key><integer>6</integer>
402 // CHECK-NEXT:             <key>file</key><integer>0</integer>
403 // CHECK-NEXT:            </dict>
404 // CHECK-NEXT:           </array>
405 // CHECK-NEXT:         </dict>
406 // CHECK-NEXT:        </array>
407 // CHECK-NEXT:      </dict>
408 // CHECK-NEXT:      <dict>
409 // CHECK-NEXT:       <key>kind</key><string>event</string>
410 // CHECK-NEXT:       <key>location</key>
411 // CHECK-NEXT:       <dict>
412 // CHECK-NEXT:        <key>line</key><integer>15</integer>
413 // CHECK-NEXT:        <key>col</key><integer>5</integer>
414 // CHECK-NEXT:        <key>file</key><integer>0</integer>
415 // CHECK-NEXT:       </dict>
416 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
417 // CHECK-NEXT:       <key>extended_message</key>
418 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;p&apos;</string>
419 // CHECK-NEXT:       <key>message</key>
420 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;p&apos;</string>
421 // CHECK-NEXT:      </dict>
422 // CHECK-NEXT:     </array>
423 // CHECK-NEXT:     <key>description</key><string>Potential leak of memory pointed to by &apos;p&apos;</string>
424 // CHECK-NEXT:     <key>category</key><string>Memory Error</string>
425 // CHECK-NEXT:     <key>type</key><string>Memory leak</string>
426 // CHECK-NEXT:     <key>check_name</key><string>unix.Malloc</string>
427 // CHECK-NEXT:     <!-- This hash is experimental and going to change! -->
428 // CHECK-NEXT:     <key>issue_hash_content_of_line_in_context</key><string>c60b35a3e46fd104f362f430a1eaca5d</string>
429 // CHECK-NEXT:    <key>issue_context_kind</key><string>function</string>
430 // CHECK-NEXT:    <key>issue_context</key><string>diagnosticTest</string>
431 // CHECK-NEXT:    <key>issue_hash_function_offset</key><string>2</string>
432 // CHECK-NEXT:    <key>location</key>
433 // CHECK-NEXT:    <dict>
434 // CHECK-NEXT:     <key>line</key><integer>15</integer>
435 // CHECK-NEXT:     <key>col</key><integer>5</integer>
436 // CHECK-NEXT:     <key>file</key><integer>0</integer>
437 // CHECK-NEXT:    </dict>
438 // CHECK-NEXT:    </dict>
439 // CHECK-NEXT:    <dict>
440 // CHECK-NEXT:     <key>path</key>
441 // CHECK-NEXT:     <array>
442 // CHECK-NEXT:      <dict>
443 // CHECK-NEXT:       <key>kind</key><string>control</string>
444 // CHECK-NEXT:       <key>edges</key>
445 // CHECK-NEXT:        <array>
446 // CHECK-NEXT:         <dict>
447 // CHECK-NEXT:          <key>start</key>
448 // CHECK-NEXT:           <array>
449 // CHECK-NEXT:            <dict>
450 // CHECK-NEXT:             <key>line</key><integer>19</integer>
451 // CHECK-NEXT:             <key>col</key><integer>5</integer>
452 // CHECK-NEXT:             <key>file</key><integer>0</integer>
453 // CHECK-NEXT:            </dict>
454 // CHECK-NEXT:            <dict>
455 // CHECK-NEXT:             <key>line</key><integer>19</integer>
456 // CHECK-NEXT:             <key>col</key><integer>7</integer>
457 // CHECK-NEXT:             <key>file</key><integer>0</integer>
458 // CHECK-NEXT:            </dict>
459 // CHECK-NEXT:           </array>
460 // CHECK-NEXT:          <key>end</key>
461 // CHECK-NEXT:           <array>
462 // CHECK-NEXT:            <dict>
463 // CHECK-NEXT:             <key>line</key><integer>20</integer>
464 // CHECK-NEXT:             <key>col</key><integer>5</integer>
465 // CHECK-NEXT:             <key>file</key><integer>0</integer>
466 // CHECK-NEXT:            </dict>
467 // CHECK-NEXT:            <dict>
468 // CHECK-NEXT:             <key>line</key><integer>20</integer>
469 // CHECK-NEXT:             <key>col</key><integer>5</integer>
470 // CHECK-NEXT:             <key>file</key><integer>0</integer>
471 // CHECK-NEXT:            </dict>
472 // CHECK-NEXT:           </array>
473 // CHECK-NEXT:         </dict>
474 // CHECK-NEXT:        </array>
475 // CHECK-NEXT:      </dict>
476 // CHECK-NEXT:      <dict>
477 // CHECK-NEXT:       <key>kind</key><string>control</string>
478 // CHECK-NEXT:       <key>edges</key>
479 // CHECK-NEXT:        <array>
480 // CHECK-NEXT:         <dict>
481 // CHECK-NEXT:          <key>start</key>
482 // CHECK-NEXT:           <array>
483 // CHECK-NEXT:            <dict>
484 // CHECK-NEXT:             <key>line</key><integer>20</integer>
485 // CHECK-NEXT:             <key>col</key><integer>5</integer>
486 // CHECK-NEXT:             <key>file</key><integer>0</integer>
487 // CHECK-NEXT:            </dict>
488 // CHECK-NEXT:            <dict>
489 // CHECK-NEXT:             <key>line</key><integer>20</integer>
490 // CHECK-NEXT:             <key>col</key><integer>5</integer>
491 // CHECK-NEXT:             <key>file</key><integer>0</integer>
492 // CHECK-NEXT:            </dict>
493 // CHECK-NEXT:           </array>
494 // CHECK-NEXT:          <key>end</key>
495 // CHECK-NEXT:           <array>
496 // CHECK-NEXT:            <dict>
497 // CHECK-NEXT:             <key>line</key><integer>20</integer>
498 // CHECK-NEXT:             <key>col</key><integer>9</integer>
499 // CHECK-NEXT:             <key>file</key><integer>0</integer>
500 // CHECK-NEXT:            </dict>
501 // CHECK-NEXT:            <dict>
502 // CHECK-NEXT:             <key>line</key><integer>20</integer>
503 // CHECK-NEXT:             <key>col</key><integer>14</integer>
504 // CHECK-NEXT:             <key>file</key><integer>0</integer>
505 // CHECK-NEXT:            </dict>
506 // CHECK-NEXT:           </array>
507 // CHECK-NEXT:         </dict>
508 // CHECK-NEXT:        </array>
509 // CHECK-NEXT:      </dict>
510 // CHECK-NEXT:      <dict>
511 // CHECK-NEXT:       <key>kind</key><string>event</string>
512 // CHECK-NEXT:       <key>location</key>
513 // CHECK-NEXT:       <dict>
514 // CHECK-NEXT:        <key>line</key><integer>20</integer>
515 // CHECK-NEXT:        <key>col</key><integer>9</integer>
516 // CHECK-NEXT:        <key>file</key><integer>0</integer>
517 // CHECK-NEXT:       </dict>
518 // CHECK-NEXT:       <key>ranges</key>
519 // CHECK-NEXT:       <array>
520 // CHECK-NEXT:         <array>
521 // CHECK-NEXT:          <dict>
522 // CHECK-NEXT:           <key>line</key><integer>20</integer>
523 // CHECK-NEXT:           <key>col</key><integer>9</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>20</integer>
528 // CHECK-NEXT:           <key>col</key><integer>30</integer>
529 // CHECK-NEXT:           <key>file</key><integer>0</integer>
530 // CHECK-NEXT:          </dict>
531 // CHECK-NEXT:         </array>
532 // CHECK-NEXT:       </array>
533 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
534 // CHECK-NEXT:       <key>extended_message</key>
535 // CHECK-NEXT:       <string>Memory is allocated</string>
536 // CHECK-NEXT:       <key>message</key>
537 // CHECK-NEXT:       <string>Memory is allocated</string>
538 // CHECK-NEXT:      </dict>
539 // CHECK-NEXT:      <dict>
540 // CHECK-NEXT:       <key>kind</key><string>control</string>
541 // CHECK-NEXT:       <key>edges</key>
542 // CHECK-NEXT:        <array>
543 // CHECK-NEXT:         <dict>
544 // CHECK-NEXT:          <key>start</key>
545 // CHECK-NEXT:           <array>
546 // CHECK-NEXT:            <dict>
547 // CHECK-NEXT:             <key>line</key><integer>20</integer>
548 // CHECK-NEXT:             <key>col</key><integer>9</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>20</integer>
553 // CHECK-NEXT:             <key>col</key><integer>14</integer>
554 // CHECK-NEXT:             <key>file</key><integer>0</integer>
555 // CHECK-NEXT:            </dict>
556 // CHECK-NEXT:           </array>
557 // CHECK-NEXT:          <key>end</key>
558 // CHECK-NEXT:           <array>
559 // CHECK-NEXT:            <dict>
560 // CHECK-NEXT:             <key>line</key><integer>22</integer>
561 // CHECK-NEXT:             <key>col</key><integer>1</integer>
562 // CHECK-NEXT:             <key>file</key><integer>0</integer>
563 // CHECK-NEXT:            </dict>
564 // CHECK-NEXT:            <dict>
565 // CHECK-NEXT:             <key>line</key><integer>22</integer>
566 // CHECK-NEXT:             <key>col</key><integer>1</integer>
567 // CHECK-NEXT:             <key>file</key><integer>0</integer>
568 // CHECK-NEXT:            </dict>
569 // CHECK-NEXT:           </array>
570 // CHECK-NEXT:         </dict>
571 // CHECK-NEXT:        </array>
572 // CHECK-NEXT:      </dict>
573 // CHECK-NEXT:      <dict>
574 // CHECK-NEXT:       <key>kind</key><string>event</string>
575 // CHECK-NEXT:       <key>location</key>
576 // CHECK-NEXT:       <dict>
577 // CHECK-NEXT:        <key>line</key><integer>22</integer>
578 // CHECK-NEXT:        <key>col</key><integer>1</integer>
579 // CHECK-NEXT:        <key>file</key><integer>0</integer>
580 // CHECK-NEXT:       </dict>
581 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
582 // CHECK-NEXT:       <key>extended_message</key>
583 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;A&apos;</string>
584 // CHECK-NEXT:       <key>message</key>
585 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;A&apos;</string>
586 // CHECK-NEXT:      </dict>
587 // CHECK-NEXT:     </array>
588 // CHECK-NEXT:     <key>description</key><string>Potential leak of memory pointed to by &apos;A&apos;</string>
589 // CHECK-NEXT:     <key>category</key><string>Memory Error</string>
590 // CHECK-NEXT:     <key>type</key><string>Memory leak</string>
591 // CHECK-NEXT:     <key>check_name</key><string>unix.Malloc</string>
592 // CHECK-NEXT:     <!-- This hash is experimental and going to change! -->
593 // CHECK-NEXT:     <key>issue_hash_content_of_line_in_context</key><string>9b732ec46c4a08108dfbd37aa0955c51</string>
594 // CHECK-NEXT:    <key>issue_context_kind</key><string>function</string>
595 // CHECK-NEXT:    <key>issue_context</key><string>myArrayAllocation</string>
596 // CHECK-NEXT:    <key>issue_hash_function_offset</key><string>2</string>
597 // CHECK-NEXT:    <key>location</key>
598 // CHECK-NEXT:    <dict>
599 // CHECK-NEXT:     <key>line</key><integer>22</integer>
600 // CHECK-NEXT:     <key>col</key><integer>1</integer>
601 // CHECK-NEXT:     <key>file</key><integer>0</integer>
602 // CHECK-NEXT:    </dict>
603 // CHECK-NEXT:    </dict>
604 // CHECK-NEXT:    <dict>
605 // CHECK-NEXT:     <key>path</key>
606 // CHECK-NEXT:     <array>
607 // CHECK-NEXT:      <dict>
608 // CHECK-NEXT:       <key>kind</key><string>control</string>
609 // CHECK-NEXT:       <key>edges</key>
610 // CHECK-NEXT:        <array>
611 // CHECK-NEXT:         <dict>
612 // CHECK-NEXT:          <key>start</key>
613 // CHECK-NEXT:           <array>
614 // CHECK-NEXT:            <dict>
615 // CHECK-NEXT:             <key>line</key><integer>25</integer>
616 // CHECK-NEXT:             <key>col</key><integer>5</integer>
617 // CHECK-NEXT:             <key>file</key><integer>0</integer>
618 // CHECK-NEXT:            </dict>
619 // CHECK-NEXT:            <dict>
620 // CHECK-NEXT:             <key>line</key><integer>25</integer>
621 // CHECK-NEXT:             <key>col</key><integer>8</integer>
622 // CHECK-NEXT:             <key>file</key><integer>0</integer>
623 // CHECK-NEXT:            </dict>
624 // CHECK-NEXT:           </array>
625 // CHECK-NEXT:          <key>end</key>
626 // CHECK-NEXT:           <array>
627 // CHECK-NEXT:            <dict>
628 // CHECK-NEXT:             <key>line</key><integer>25</integer>
629 // CHECK-NEXT:             <key>col</key><integer>18</integer>
630 // CHECK-NEXT:             <key>file</key><integer>0</integer>
631 // CHECK-NEXT:            </dict>
632 // CHECK-NEXT:            <dict>
633 // CHECK-NEXT:             <key>line</key><integer>25</integer>
634 // CHECK-NEXT:             <key>col</key><integer>23</integer>
635 // CHECK-NEXT:             <key>file</key><integer>0</integer>
636 // CHECK-NEXT:            </dict>
637 // CHECK-NEXT:           </array>
638 // CHECK-NEXT:         </dict>
639 // CHECK-NEXT:        </array>
640 // CHECK-NEXT:      </dict>
641 // CHECK-NEXT:      <dict>
642 // CHECK-NEXT:       <key>kind</key><string>event</string>
643 // CHECK-NEXT:       <key>location</key>
644 // CHECK-NEXT:       <dict>
645 // CHECK-NEXT:        <key>line</key><integer>25</integer>
646 // CHECK-NEXT:        <key>col</key><integer>18</integer>
647 // CHECK-NEXT:        <key>file</key><integer>0</integer>
648 // CHECK-NEXT:       </dict>
649 // CHECK-NEXT:       <key>ranges</key>
650 // CHECK-NEXT:       <array>
651 // CHECK-NEXT:         <array>
652 // CHECK-NEXT:          <dict>
653 // CHECK-NEXT:           <key>line</key><integer>25</integer>
654 // CHECK-NEXT:           <key>col</key><integer>18</integer>
655 // CHECK-NEXT:           <key>file</key><integer>0</integer>
656 // CHECK-NEXT:          </dict>
657 // CHECK-NEXT:          <dict>
658 // CHECK-NEXT:           <key>line</key><integer>25</integer>
659 // CHECK-NEXT:           <key>col</key><integer>28</integer>
660 // CHECK-NEXT:           <key>file</key><integer>0</integer>
661 // CHECK-NEXT:          </dict>
662 // CHECK-NEXT:         </array>
663 // CHECK-NEXT:       </array>
664 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
665 // CHECK-NEXT:       <key>extended_message</key>
666 // CHECK-NEXT:       <string>Memory is allocated</string>
667 // CHECK-NEXT:       <key>message</key>
668 // CHECK-NEXT:       <string>Memory is allocated</string>
669 // CHECK-NEXT:      </dict>
670 // CHECK-NEXT:      <dict>
671 // CHECK-NEXT:       <key>kind</key><string>control</string>
672 // CHECK-NEXT:       <key>edges</key>
673 // CHECK-NEXT:        <array>
674 // CHECK-NEXT:         <dict>
675 // CHECK-NEXT:          <key>start</key>
676 // CHECK-NEXT:           <array>
677 // CHECK-NEXT:            <dict>
678 // CHECK-NEXT:             <key>line</key><integer>25</integer>
679 // CHECK-NEXT:             <key>col</key><integer>18</integer>
680 // CHECK-NEXT:             <key>file</key><integer>0</integer>
681 // CHECK-NEXT:            </dict>
682 // CHECK-NEXT:            <dict>
683 // CHECK-NEXT:             <key>line</key><integer>25</integer>
684 // CHECK-NEXT:             <key>col</key><integer>23</integer>
685 // CHECK-NEXT:             <key>file</key><integer>0</integer>
686 // CHECK-NEXT:            </dict>
687 // CHECK-NEXT:           </array>
688 // CHECK-NEXT:          <key>end</key>
689 // CHECK-NEXT:           <array>
690 // CHECK-NEXT:            <dict>
691 // CHECK-NEXT:             <key>line</key><integer>27</integer>
692 // CHECK-NEXT:             <key>col</key><integer>5</integer>
693 // CHECK-NEXT:             <key>file</key><integer>0</integer>
694 // CHECK-NEXT:            </dict>
695 // CHECK-NEXT:            <dict>
696 // CHECK-NEXT:             <key>line</key><integer>27</integer>
697 // CHECK-NEXT:             <key>col</key><integer>7</integer>
698 // CHECK-NEXT:             <key>file</key><integer>0</integer>
699 // CHECK-NEXT:            </dict>
700 // CHECK-NEXT:           </array>
701 // CHECK-NEXT:         </dict>
702 // CHECK-NEXT:        </array>
703 // CHECK-NEXT:      </dict>
704 // CHECK-NEXT:      <dict>
705 // CHECK-NEXT:       <key>kind</key><string>control</string>
706 // CHECK-NEXT:       <key>edges</key>
707 // CHECK-NEXT:        <array>
708 // CHECK-NEXT:         <dict>
709 // CHECK-NEXT:          <key>start</key>
710 // CHECK-NEXT:           <array>
711 // CHECK-NEXT:            <dict>
712 // CHECK-NEXT:             <key>line</key><integer>27</integer>
713 // CHECK-NEXT:             <key>col</key><integer>5</integer>
714 // CHECK-NEXT:             <key>file</key><integer>0</integer>
715 // CHECK-NEXT:            </dict>
716 // CHECK-NEXT:            <dict>
717 // CHECK-NEXT:             <key>line</key><integer>27</integer>
718 // CHECK-NEXT:             <key>col</key><integer>7</integer>
719 // CHECK-NEXT:             <key>file</key><integer>0</integer>
720 // CHECK-NEXT:            </dict>
721 // CHECK-NEXT:           </array>
722 // CHECK-NEXT:          <key>end</key>
723 // CHECK-NEXT:           <array>
724 // CHECK-NEXT:            <dict>
725 // CHECK-NEXT:             <key>line</key><integer>27</integer>
726 // CHECK-NEXT:             <key>col</key><integer>18</integer>
727 // CHECK-NEXT:             <key>file</key><integer>0</integer>
728 // CHECK-NEXT:            </dict>
729 // CHECK-NEXT:            <dict>
730 // CHECK-NEXT:             <key>line</key><integer>27</integer>
731 // CHECK-NEXT:             <key>col</key><integer>24</integer>
732 // CHECK-NEXT:             <key>file</key><integer>0</integer>
733 // CHECK-NEXT:            </dict>
734 // CHECK-NEXT:           </array>
735 // CHECK-NEXT:         </dict>
736 // CHECK-NEXT:        </array>
737 // CHECK-NEXT:      </dict>
738 // CHECK-NEXT:      <dict>
739 // CHECK-NEXT:       <key>kind</key><string>event</string>
740 // CHECK-NEXT:       <key>location</key>
741 // CHECK-NEXT:       <dict>
742 // CHECK-NEXT:        <key>line</key><integer>27</integer>
743 // CHECK-NEXT:        <key>col</key><integer>18</integer>
744 // CHECK-NEXT:        <key>file</key><integer>0</integer>
745 // CHECK-NEXT:       </dict>
746 // CHECK-NEXT:       <key>ranges</key>
747 // CHECK-NEXT:       <array>
748 // CHECK-NEXT:         <array>
749 // CHECK-NEXT:          <dict>
750 // CHECK-NEXT:           <key>line</key><integer>27</integer>
751 // CHECK-NEXT:           <key>col</key><integer>18</integer>
752 // CHECK-NEXT:           <key>file</key><integer>0</integer>
753 // CHECK-NEXT:          </dict>
754 // CHECK-NEXT:          <dict>
755 // CHECK-NEXT:           <key>line</key><integer>27</integer>
756 // CHECK-NEXT:           <key>col</key><integer>40</integer>
757 // CHECK-NEXT:           <key>file</key><integer>0</integer>
758 // CHECK-NEXT:          </dict>
759 // CHECK-NEXT:         </array>
760 // CHECK-NEXT:       </array>
761 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
762 // CHECK-NEXT:       <key>extended_message</key>
763 // CHECK-NEXT:       <string>Attempt to reallocate memory</string>
764 // CHECK-NEXT:       <key>message</key>
765 // CHECK-NEXT:       <string>Attempt to reallocate memory</string>
766 // CHECK-NEXT:      </dict>
767 // CHECK-NEXT:      <dict>
768 // CHECK-NEXT:       <key>kind</key><string>control</string>
769 // CHECK-NEXT:       <key>edges</key>
770 // CHECK-NEXT:        <array>
771 // CHECK-NEXT:         <dict>
772 // CHECK-NEXT:          <key>start</key>
773 // CHECK-NEXT:           <array>
774 // CHECK-NEXT:            <dict>
775 // CHECK-NEXT:             <key>line</key><integer>27</integer>
776 // CHECK-NEXT:             <key>col</key><integer>18</integer>
777 // CHECK-NEXT:             <key>file</key><integer>0</integer>
778 // CHECK-NEXT:            </dict>
779 // CHECK-NEXT:            <dict>
780 // CHECK-NEXT:             <key>line</key><integer>27</integer>
781 // CHECK-NEXT:             <key>col</key><integer>24</integer>
782 // CHECK-NEXT:             <key>file</key><integer>0</integer>
783 // CHECK-NEXT:            </dict>
784 // CHECK-NEXT:           </array>
785 // CHECK-NEXT:          <key>end</key>
786 // CHECK-NEXT:           <array>
787 // CHECK-NEXT:            <dict>
788 // CHECK-NEXT:             <key>line</key><integer>28</integer>
789 // CHECK-NEXT:             <key>col</key><integer>5</integer>
790 // CHECK-NEXT:             <key>file</key><integer>0</integer>
791 // CHECK-NEXT:            </dict>
792 // CHECK-NEXT:            <dict>
793 // CHECK-NEXT:             <key>line</key><integer>28</integer>
794 // CHECK-NEXT:             <key>col</key><integer>6</integer>
795 // CHECK-NEXT:             <key>file</key><integer>0</integer>
796 // CHECK-NEXT:            </dict>
797 // CHECK-NEXT:           </array>
798 // CHECK-NEXT:         </dict>
799 // CHECK-NEXT:        </array>
800 // CHECK-NEXT:      </dict>
801 // CHECK-NEXT:      <dict>
802 // CHECK-NEXT:       <key>kind</key><string>control</string>
803 // CHECK-NEXT:       <key>edges</key>
804 // CHECK-NEXT:        <array>
805 // CHECK-NEXT:         <dict>
806 // CHECK-NEXT:          <key>start</key>
807 // CHECK-NEXT:           <array>
808 // CHECK-NEXT:            <dict>
809 // CHECK-NEXT:             <key>line</key><integer>28</integer>
810 // CHECK-NEXT:             <key>col</key><integer>5</integer>
811 // CHECK-NEXT:             <key>file</key><integer>0</integer>
812 // CHECK-NEXT:            </dict>
813 // CHECK-NEXT:            <dict>
814 // CHECK-NEXT:             <key>line</key><integer>28</integer>
815 // CHECK-NEXT:             <key>col</key><integer>6</integer>
816 // CHECK-NEXT:             <key>file</key><integer>0</integer>
817 // CHECK-NEXT:            </dict>
818 // CHECK-NEXT:           </array>
819 // CHECK-NEXT:          <key>end</key>
820 // CHECK-NEXT:           <array>
821 // CHECK-NEXT:            <dict>
822 // CHECK-NEXT:             <key>line</key><integer>28</integer>
823 // CHECK-NEXT:             <key>col</key><integer>9</integer>
824 // CHECK-NEXT:             <key>file</key><integer>0</integer>
825 // CHECK-NEXT:            </dict>
826 // CHECK-NEXT:            <dict>
827 // CHECK-NEXT:             <key>line</key><integer>28</integer>
828 // CHECK-NEXT:             <key>col</key><integer>9</integer>
829 // CHECK-NEXT:             <key>file</key><integer>0</integer>
830 // CHECK-NEXT:            </dict>
831 // CHECK-NEXT:           </array>
832 // CHECK-NEXT:         </dict>
833 // CHECK-NEXT:        </array>
834 // CHECK-NEXT:      </dict>
835 // CHECK-NEXT:      <dict>
836 // CHECK-NEXT:       <key>kind</key><string>event</string>
837 // CHECK-NEXT:       <key>location</key>
838 // CHECK-NEXT:       <dict>
839 // CHECK-NEXT:        <key>line</key><integer>28</integer>
840 // CHECK-NEXT:        <key>col</key><integer>9</integer>
841 // CHECK-NEXT:        <key>file</key><integer>0</integer>
842 // CHECK-NEXT:       </dict>
843 // CHECK-NEXT:       <key>ranges</key>
844 // CHECK-NEXT:       <array>
845 // CHECK-NEXT:         <array>
846 // CHECK-NEXT:          <dict>
847 // CHECK-NEXT:           <key>line</key><integer>28</integer>
848 // CHECK-NEXT:           <key>col</key><integer>9</integer>
849 // CHECK-NEXT:           <key>file</key><integer>0</integer>
850 // CHECK-NEXT:          </dict>
851 // CHECK-NEXT:          <dict>
852 // CHECK-NEXT:           <key>line</key><integer>28</integer>
853 // CHECK-NEXT:           <key>col</key><integer>12</integer>
854 // CHECK-NEXT:           <key>file</key><integer>0</integer>
855 // CHECK-NEXT:          </dict>
856 // CHECK-NEXT:         </array>
857 // CHECK-NEXT:       </array>
858 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
859 // CHECK-NEXT:       <key>extended_message</key>
860 // CHECK-NEXT:       <string>Assuming &apos;tmp&apos; is null</string>
861 // CHECK-NEXT:       <key>message</key>
862 // CHECK-NEXT:       <string>Assuming &apos;tmp&apos; is null</string>
863 // CHECK-NEXT:      </dict>
864 // CHECK-NEXT:      <dict>
865 // CHECK-NEXT:       <key>kind</key><string>control</string>
866 // CHECK-NEXT:       <key>edges</key>
867 // CHECK-NEXT:        <array>
868 // CHECK-NEXT:         <dict>
869 // CHECK-NEXT:          <key>start</key>
870 // CHECK-NEXT:           <array>
871 // CHECK-NEXT:            <dict>
872 // CHECK-NEXT:             <key>line</key><integer>28</integer>
873 // CHECK-NEXT:             <key>col</key><integer>9</integer>
874 // CHECK-NEXT:             <key>file</key><integer>0</integer>
875 // CHECK-NEXT:            </dict>
876 // CHECK-NEXT:            <dict>
877 // CHECK-NEXT:             <key>line</key><integer>28</integer>
878 // CHECK-NEXT:             <key>col</key><integer>9</integer>
879 // CHECK-NEXT:             <key>file</key><integer>0</integer>
880 // CHECK-NEXT:            </dict>
881 // CHECK-NEXT:           </array>
882 // CHECK-NEXT:          <key>end</key>
883 // CHECK-NEXT:           <array>
884 // CHECK-NEXT:            <dict>
885 // CHECK-NEXT:             <key>line</key><integer>28</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:            <dict>
890 // CHECK-NEXT:             <key>line</key><integer>28</integer>
891 // CHECK-NEXT:             <key>col</key><integer>6</integer>
892 // CHECK-NEXT:             <key>file</key><integer>0</integer>
893 // CHECK-NEXT:            </dict>
894 // CHECK-NEXT:           </array>
895 // CHECK-NEXT:         </dict>
896 // CHECK-NEXT:        </array>
897 // CHECK-NEXT:      </dict>
898 // CHECK-NEXT:      <dict>
899 // CHECK-NEXT:       <key>kind</key><string>event</string>
900 // CHECK-NEXT:       <key>location</key>
901 // CHECK-NEXT:       <dict>
902 // CHECK-NEXT:        <key>line</key><integer>28</integer>
903 // CHECK-NEXT:        <key>col</key><integer>5</integer>
904 // CHECK-NEXT:        <key>file</key><integer>0</integer>
905 // CHECK-NEXT:       </dict>
906 // CHECK-NEXT:       <key>ranges</key>
907 // CHECK-NEXT:       <array>
908 // CHECK-NEXT:         <array>
909 // CHECK-NEXT:          <dict>
910 // CHECK-NEXT:           <key>line</key><integer>28</integer>
911 // CHECK-NEXT:           <key>col</key><integer>5</integer>
912 // CHECK-NEXT:           <key>file</key><integer>0</integer>
913 // CHECK-NEXT:          </dict>
914 // CHECK-NEXT:          <dict>
915 // CHECK-NEXT:           <key>line</key><integer>28</integer>
916 // CHECK-NEXT:           <key>col</key><integer>6</integer>
917 // CHECK-NEXT:           <key>file</key><integer>0</integer>
918 // CHECK-NEXT:          </dict>
919 // CHECK-NEXT:         </array>
920 // CHECK-NEXT:       </array>
921 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
922 // CHECK-NEXT:       <key>extended_message</key>
923 // CHECK-NEXT:       <string>Reallocation failed</string>
924 // CHECK-NEXT:       <key>message</key>
925 // CHECK-NEXT:       <string>Reallocation failed</string>
926 // CHECK-NEXT:      </dict>
927 // CHECK-NEXT:      <dict>
928 // CHECK-NEXT:       <key>kind</key><string>control</string>
929 // CHECK-NEXT:       <key>edges</key>
930 // CHECK-NEXT:        <array>
931 // CHECK-NEXT:         <dict>
932 // CHECK-NEXT:          <key>start</key>
933 // CHECK-NEXT:           <array>
934 // CHECK-NEXT:            <dict>
935 // CHECK-NEXT:             <key>line</key><integer>28</integer>
936 // CHECK-NEXT:             <key>col</key><integer>5</integer>
937 // CHECK-NEXT:             <key>file</key><integer>0</integer>
938 // CHECK-NEXT:            </dict>
939 // CHECK-NEXT:            <dict>
940 // CHECK-NEXT:             <key>line</key><integer>28</integer>
941 // CHECK-NEXT:             <key>col</key><integer>6</integer>
942 // CHECK-NEXT:             <key>file</key><integer>0</integer>
943 // CHECK-NEXT:            </dict>
944 // CHECK-NEXT:           </array>
945 // CHECK-NEXT:          <key>end</key>
946 // CHECK-NEXT:           <array>
947 // CHECK-NEXT:            <dict>
948 // CHECK-NEXT:             <key>line</key><integer>29</integer>
949 // CHECK-NEXT:             <key>col</key><integer>9</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>29</integer>
954 // CHECK-NEXT:             <key>col</key><integer>14</integer>
955 // CHECK-NEXT:             <key>file</key><integer>0</integer>
956 // CHECK-NEXT:            </dict>
957 // CHECK-NEXT:           </array>
958 // CHECK-NEXT:         </dict>
959 // CHECK-NEXT:        </array>
960 // CHECK-NEXT:      </dict>
961 // CHECK-NEXT:      <dict>
962 // CHECK-NEXT:       <key>kind</key><string>event</string>
963 // CHECK-NEXT:       <key>location</key>
964 // CHECK-NEXT:       <dict>
965 // CHECK-NEXT:        <key>line</key><integer>29</integer>
966 // CHECK-NEXT:        <key>col</key><integer>9</integer>
967 // CHECK-NEXT:        <key>file</key><integer>0</integer>
968 // CHECK-NEXT:       </dict>
969 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
970 // CHECK-NEXT:       <key>extended_message</key>
971 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;buf&apos;</string>
972 // CHECK-NEXT:       <key>message</key>
973 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;buf&apos;</string>
974 // CHECK-NEXT:      </dict>
975 // CHECK-NEXT:     </array>
976 // CHECK-NEXT:     <key>description</key><string>Potential leak of memory pointed to by &apos;buf&apos;</string>
977 // CHECK-NEXT:     <key>category</key><string>Memory Error</string>
978 // CHECK-NEXT:     <key>type</key><string>Memory leak</string>
979 // CHECK-NEXT:     <key>check_name</key><string>unix.Malloc</string>
980 // CHECK-NEXT:     <!-- This hash is experimental and going to change! -->
981 // CHECK-NEXT:     <key>issue_hash_content_of_line_in_context</key><string>37c0b1a1e65d26af6f9fb840cf159149</string>
982 // CHECK-NEXT:    <key>issue_context_kind</key><string>function</string>
983 // CHECK-NEXT:    <key>issue_context</key><string>reallocDiagnostics</string>
984 // CHECK-NEXT:    <key>issue_hash_function_offset</key><string>1</string>
985 // CHECK-NEXT:    <key>location</key>
986 // CHECK-NEXT:    <dict>
987 // CHECK-NEXT:     <key>line</key><integer>29</integer>
988 // CHECK-NEXT:     <key>col</key><integer>9</integer>
989 // CHECK-NEXT:     <key>file</key><integer>0</integer>
990 // CHECK-NEXT:    </dict>
991 // CHECK-NEXT:    </dict>
992 // CHECK-NEXT:    <dict>
993 // CHECK-NEXT:     <key>path</key>
994 // CHECK-NEXT:     <array>
995 // CHECK-NEXT:      <dict>
996 // CHECK-NEXT:       <key>kind</key><string>control</string>
997 // CHECK-NEXT:       <key>edges</key>
998 // CHECK-NEXT:        <array>
999 // CHECK-NEXT:         <dict>
1000 // CHECK-NEXT:          <key>start</key>
1001 // CHECK-NEXT:           <array>
1002 // CHECK-NEXT:            <dict>
1003 // CHECK-NEXT:             <key>line</key><integer>44</integer>
1004 // CHECK-NEXT:             <key>col</key><integer>3</integer>
1005 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1006 // CHECK-NEXT:            </dict>
1007 // CHECK-NEXT:            <dict>
1008 // CHECK-NEXT:             <key>line</key><integer>44</integer>
1009 // CHECK-NEXT:             <key>col</key><integer>6</integer>
1010 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1011 // CHECK-NEXT:            </dict>
1012 // CHECK-NEXT:           </array>
1013 // CHECK-NEXT:          <key>end</key>
1014 // CHECK-NEXT:           <array>
1015 // CHECK-NEXT:            <dict>
1016 // CHECK-NEXT:             <key>line</key><integer>44</integer>
1017 // CHECK-NEXT:             <key>col</key><integer>15</integer>
1018 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1019 // CHECK-NEXT:            </dict>
1020 // CHECK-NEXT:            <dict>
1021 // CHECK-NEXT:             <key>line</key><integer>44</integer>
1022 // CHECK-NEXT:             <key>col</key><integer>21</integer>
1023 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1024 // CHECK-NEXT:            </dict>
1025 // CHECK-NEXT:           </array>
1026 // CHECK-NEXT:         </dict>
1027 // CHECK-NEXT:        </array>
1028 // CHECK-NEXT:      </dict>
1029 // CHECK-NEXT:      <dict>
1030 // CHECK-NEXT:       <key>kind</key><string>event</string>
1031 // CHECK-NEXT:       <key>location</key>
1032 // CHECK-NEXT:       <dict>
1033 // CHECK-NEXT:        <key>line</key><integer>44</integer>
1034 // CHECK-NEXT:        <key>col</key><integer>15</integer>
1035 // CHECK-NEXT:        <key>file</key><integer>0</integer>
1036 // CHECK-NEXT:       </dict>
1037 // CHECK-NEXT:       <key>ranges</key>
1038 // CHECK-NEXT:       <array>
1039 // CHECK-NEXT:         <array>
1040 // CHECK-NEXT:          <dict>
1041 // CHECK-NEXT:           <key>line</key><integer>44</integer>
1042 // CHECK-NEXT:           <key>col</key><integer>15</integer>
1043 // CHECK-NEXT:           <key>file</key><integer>0</integer>
1044 // CHECK-NEXT:          </dict>
1045 // CHECK-NEXT:          <dict>
1046 // CHECK-NEXT:           <key>line</key><integer>44</integer>
1047 // CHECK-NEXT:           <key>col</key><integer>23</integer>
1048 // CHECK-NEXT:           <key>file</key><integer>0</integer>
1049 // CHECK-NEXT:          </dict>
1050 // CHECK-NEXT:         </array>
1051 // CHECK-NEXT:       </array>
1052 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
1053 // CHECK-NEXT:       <key>extended_message</key>
1054 // CHECK-NEXT:       <string>Calling &apos;wrapper&apos;</string>
1055 // CHECK-NEXT:       <key>message</key>
1056 // CHECK-NEXT:       <string>Calling &apos;wrapper&apos;</string>
1057 // CHECK-NEXT:      </dict>
1058 // CHECK-NEXT:      <dict>
1059 // CHECK-NEXT:       <key>kind</key><string>event</string>
1060 // CHECK-NEXT:       <key>location</key>
1061 // CHECK-NEXT:       <dict>
1062 // CHECK-NEXT:        <key>line</key><integer>35</integer>
1063 // CHECK-NEXT:        <key>col</key><integer>1</integer>
1064 // CHECK-NEXT:        <key>file</key><integer>0</integer>
1065 // CHECK-NEXT:       </dict>
1066 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
1067 // CHECK-NEXT:       <key>extended_message</key>
1068 // CHECK-NEXT:       <string>Entered call from &apos;test_wrapper&apos;</string>
1069 // CHECK-NEXT:       <key>message</key>
1070 // CHECK-NEXT:       <string>Entered call from &apos;test_wrapper&apos;</string>
1071 // CHECK-NEXT:      </dict>
1072 // CHECK-NEXT:      <dict>
1073 // CHECK-NEXT:       <key>kind</key><string>control</string>
1074 // CHECK-NEXT:       <key>edges</key>
1075 // CHECK-NEXT:        <array>
1076 // CHECK-NEXT:         <dict>
1077 // CHECK-NEXT:          <key>start</key>
1078 // CHECK-NEXT:           <array>
1079 // CHECK-NEXT:            <dict>
1080 // CHECK-NEXT:             <key>line</key><integer>35</integer>
1081 // CHECK-NEXT:             <key>col</key><integer>1</integer>
1082 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1083 // CHECK-NEXT:            </dict>
1084 // CHECK-NEXT:            <dict>
1085 // CHECK-NEXT:             <key>line</key><integer>35</integer>
1086 // CHECK-NEXT:             <key>col</key><integer>4</integer>
1087 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1088 // CHECK-NEXT:            </dict>
1089 // CHECK-NEXT:           </array>
1090 // CHECK-NEXT:          <key>end</key>
1091 // CHECK-NEXT:           <array>
1092 // CHECK-NEXT:            <dict>
1093 // CHECK-NEXT:             <key>line</key><integer>36</integer>
1094 // CHECK-NEXT:             <key>col</key><integer>3</integer>
1095 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1096 // CHECK-NEXT:            </dict>
1097 // CHECK-NEXT:            <dict>
1098 // CHECK-NEXT:             <key>line</key><integer>36</integer>
1099 // CHECK-NEXT:             <key>col</key><integer>6</integer>
1100 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1101 // CHECK-NEXT:            </dict>
1102 // CHECK-NEXT:           </array>
1103 // CHECK-NEXT:         </dict>
1104 // CHECK-NEXT:        </array>
1105 // CHECK-NEXT:      </dict>
1106 // CHECK-NEXT:      <dict>
1107 // CHECK-NEXT:       <key>kind</key><string>control</string>
1108 // CHECK-NEXT:       <key>edges</key>
1109 // CHECK-NEXT:        <array>
1110 // CHECK-NEXT:         <dict>
1111 // CHECK-NEXT:          <key>start</key>
1112 // CHECK-NEXT:           <array>
1113 // CHECK-NEXT:            <dict>
1114 // CHECK-NEXT:             <key>line</key><integer>36</integer>
1115 // CHECK-NEXT:             <key>col</key><integer>3</integer>
1116 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1117 // CHECK-NEXT:            </dict>
1118 // CHECK-NEXT:            <dict>
1119 // CHECK-NEXT:             <key>line</key><integer>36</integer>
1120 // CHECK-NEXT:             <key>col</key><integer>6</integer>
1121 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1122 // CHECK-NEXT:            </dict>
1123 // CHECK-NEXT:           </array>
1124 // CHECK-NEXT:          <key>end</key>
1125 // CHECK-NEXT:           <array>
1126 // CHECK-NEXT:            <dict>
1127 // CHECK-NEXT:             <key>line</key><integer>36</integer>
1128 // CHECK-NEXT:             <key>col</key><integer>13</integer>
1129 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1130 // CHECK-NEXT:            </dict>
1131 // CHECK-NEXT:            <dict>
1132 // CHECK-NEXT:             <key>line</key><integer>36</integer>
1133 // CHECK-NEXT:             <key>col</key><integer>18</integer>
1134 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1135 // CHECK-NEXT:            </dict>
1136 // CHECK-NEXT:           </array>
1137 // CHECK-NEXT:         </dict>
1138 // CHECK-NEXT:        </array>
1139 // CHECK-NEXT:      </dict>
1140 // CHECK-NEXT:      <dict>
1141 // CHECK-NEXT:       <key>kind</key><string>event</string>
1142 // CHECK-NEXT:       <key>location</key>
1143 // CHECK-NEXT:       <dict>
1144 // CHECK-NEXT:        <key>line</key><integer>36</integer>
1145 // CHECK-NEXT:        <key>col</key><integer>13</integer>
1146 // CHECK-NEXT:        <key>file</key><integer>0</integer>
1147 // CHECK-NEXT:       </dict>
1148 // CHECK-NEXT:       <key>ranges</key>
1149 // CHECK-NEXT:       <array>
1150 // CHECK-NEXT:         <array>
1151 // CHECK-NEXT:          <dict>
1152 // CHECK-NEXT:           <key>line</key><integer>36</integer>
1153 // CHECK-NEXT:           <key>col</key><integer>13</integer>
1154 // CHECK-NEXT:           <key>file</key><integer>0</integer>
1155 // CHECK-NEXT:          </dict>
1156 // CHECK-NEXT:          <dict>
1157 // CHECK-NEXT:           <key>line</key><integer>36</integer>
1158 // CHECK-NEXT:           <key>col</key><integer>23</integer>
1159 // CHECK-NEXT:           <key>file</key><integer>0</integer>
1160 // CHECK-NEXT:          </dict>
1161 // CHECK-NEXT:         </array>
1162 // CHECK-NEXT:       </array>
1163 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
1164 // CHECK-NEXT:       <key>extended_message</key>
1165 // CHECK-NEXT:       <string>Memory is allocated</string>
1166 // CHECK-NEXT:       <key>message</key>
1167 // CHECK-NEXT:       <string>Memory is allocated</string>
1168 // CHECK-NEXT:      </dict>
1169 // CHECK-NEXT:      <dict>
1170 // CHECK-NEXT:       <key>kind</key><string>control</string>
1171 // CHECK-NEXT:       <key>edges</key>
1172 // CHECK-NEXT:        <array>
1173 // CHECK-NEXT:         <dict>
1174 // CHECK-NEXT:          <key>start</key>
1175 // CHECK-NEXT:           <array>
1176 // CHECK-NEXT:            <dict>
1177 // CHECK-NEXT:             <key>line</key><integer>36</integer>
1178 // CHECK-NEXT:             <key>col</key><integer>13</integer>
1179 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1180 // CHECK-NEXT:            </dict>
1181 // CHECK-NEXT:            <dict>
1182 // CHECK-NEXT:             <key>line</key><integer>36</integer>
1183 // CHECK-NEXT:             <key>col</key><integer>18</integer>
1184 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1185 // CHECK-NEXT:            </dict>
1186 // CHECK-NEXT:           </array>
1187 // CHECK-NEXT:          <key>end</key>
1188 // CHECK-NEXT:           <array>
1189 // CHECK-NEXT:            <dict>
1190 // CHECK-NEXT:             <key>line</key><integer>38</integer>
1191 // CHECK-NEXT:             <key>col</key><integer>3</integer>
1192 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1193 // CHECK-NEXT:            </dict>
1194 // CHECK-NEXT:            <dict>
1195 // CHECK-NEXT:             <key>line</key><integer>38</integer>
1196 // CHECK-NEXT:             <key>col</key><integer>4</integer>
1197 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1198 // CHECK-NEXT:            </dict>
1199 // CHECK-NEXT:           </array>
1200 // CHECK-NEXT:         </dict>
1201 // CHECK-NEXT:        </array>
1202 // CHECK-NEXT:      </dict>
1203 // CHECK-NEXT:      <dict>
1204 // CHECK-NEXT:       <key>kind</key><string>control</string>
1205 // CHECK-NEXT:       <key>edges</key>
1206 // CHECK-NEXT:        <array>
1207 // CHECK-NEXT:         <dict>
1208 // CHECK-NEXT:          <key>start</key>
1209 // CHECK-NEXT:           <array>
1210 // CHECK-NEXT:            <dict>
1211 // CHECK-NEXT:             <key>line</key><integer>38</integer>
1212 // CHECK-NEXT:             <key>col</key><integer>3</integer>
1213 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1214 // CHECK-NEXT:            </dict>
1215 // CHECK-NEXT:            <dict>
1216 // CHECK-NEXT:             <key>line</key><integer>38</integer>
1217 // CHECK-NEXT:             <key>col</key><integer>4</integer>
1218 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1219 // CHECK-NEXT:            </dict>
1220 // CHECK-NEXT:           </array>
1221 // CHECK-NEXT:          <key>end</key>
1222 // CHECK-NEXT:           <array>
1223 // CHECK-NEXT:            <dict>
1224 // CHECK-NEXT:             <key>line</key><integer>38</integer>
1225 // CHECK-NEXT:             <key>col</key><integer>7</integer>
1226 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1227 // CHECK-NEXT:            </dict>
1228 // CHECK-NEXT:            <dict>
1229 // CHECK-NEXT:             <key>line</key><integer>38</integer>
1230 // CHECK-NEXT:             <key>col</key><integer>7</integer>
1231 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1232 // CHECK-NEXT:            </dict>
1233 // CHECK-NEXT:           </array>
1234 // CHECK-NEXT:         </dict>
1235 // CHECK-NEXT:        </array>
1236 // CHECK-NEXT:      </dict>
1237 // CHECK-NEXT:      <dict>
1238 // CHECK-NEXT:       <key>kind</key><string>event</string>
1239 // CHECK-NEXT:       <key>location</key>
1240 // CHECK-NEXT:       <dict>
1241 // CHECK-NEXT:        <key>line</key><integer>38</integer>
1242 // CHECK-NEXT:        <key>col</key><integer>7</integer>
1243 // CHECK-NEXT:        <key>file</key><integer>0</integer>
1244 // CHECK-NEXT:       </dict>
1245 // CHECK-NEXT:       <key>ranges</key>
1246 // CHECK-NEXT:       <array>
1247 // CHECK-NEXT:         <array>
1248 // CHECK-NEXT:          <dict>
1249 // CHECK-NEXT:           <key>line</key><integer>38</integer>
1250 // CHECK-NEXT:           <key>col</key><integer>7</integer>
1251 // CHECK-NEXT:           <key>file</key><integer>0</integer>
1252 // CHECK-NEXT:          </dict>
1253 // CHECK-NEXT:          <dict>
1254 // CHECK-NEXT:           <key>line</key><integer>38</integer>
1255 // CHECK-NEXT:           <key>col</key><integer>7</integer>
1256 // CHECK-NEXT:           <key>file</key><integer>0</integer>
1257 // CHECK-NEXT:          </dict>
1258 // CHECK-NEXT:         </array>
1259 // CHECK-NEXT:       </array>
1260 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
1261 // CHECK-NEXT:       <key>extended_message</key>
1262 // CHECK-NEXT:       <string>Assuming &apos;x&apos; is non-null</string>
1263 // CHECK-NEXT:       <key>message</key>
1264 // CHECK-NEXT:       <string>Assuming &apos;x&apos; is non-null</string>
1265 // CHECK-NEXT:      </dict>
1266 // CHECK-NEXT:      <dict>
1267 // CHECK-NEXT:       <key>kind</key><string>control</string>
1268 // CHECK-NEXT:       <key>edges</key>
1269 // CHECK-NEXT:        <array>
1270 // CHECK-NEXT:         <dict>
1271 // CHECK-NEXT:          <key>start</key>
1272 // CHECK-NEXT:           <array>
1273 // CHECK-NEXT:            <dict>
1274 // CHECK-NEXT:             <key>line</key><integer>38</integer>
1275 // CHECK-NEXT:             <key>col</key><integer>7</integer>
1276 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1277 // CHECK-NEXT:            </dict>
1278 // CHECK-NEXT:            <dict>
1279 // CHECK-NEXT:             <key>line</key><integer>38</integer>
1280 // CHECK-NEXT:             <key>col</key><integer>7</integer>
1281 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1282 // CHECK-NEXT:            </dict>
1283 // CHECK-NEXT:           </array>
1284 // CHECK-NEXT:          <key>end</key>
1285 // CHECK-NEXT:           <array>
1286 // CHECK-NEXT:            <dict>
1287 // CHECK-NEXT:             <key>line</key><integer>39</integer>
1288 // CHECK-NEXT:             <key>col</key><integer>5</integer>
1289 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1290 // CHECK-NEXT:            </dict>
1291 // CHECK-NEXT:            <dict>
1292 // CHECK-NEXT:             <key>line</key><integer>39</integer>
1293 // CHECK-NEXT:             <key>col</key><integer>10</integer>
1294 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1295 // CHECK-NEXT:            </dict>
1296 // CHECK-NEXT:           </array>
1297 // CHECK-NEXT:         </dict>
1298 // CHECK-NEXT:        </array>
1299 // CHECK-NEXT:      </dict>
1300 // CHECK-NEXT:      <dict>
1301 // CHECK-NEXT:       <key>kind</key><string>event</string>
1302 // CHECK-NEXT:       <key>location</key>
1303 // CHECK-NEXT:       <dict>
1304 // CHECK-NEXT:        <key>line</key><integer>44</integer>
1305 // CHECK-NEXT:        <key>col</key><integer>15</integer>
1306 // CHECK-NEXT:        <key>file</key><integer>0</integer>
1307 // CHECK-NEXT:       </dict>
1308 // CHECK-NEXT:       <key>ranges</key>
1309 // CHECK-NEXT:       <array>
1310 // CHECK-NEXT:         <array>
1311 // CHECK-NEXT:          <dict>
1312 // CHECK-NEXT:           <key>line</key><integer>44</integer>
1313 // CHECK-NEXT:           <key>col</key><integer>15</integer>
1314 // CHECK-NEXT:           <key>file</key><integer>0</integer>
1315 // CHECK-NEXT:          </dict>
1316 // CHECK-NEXT:          <dict>
1317 // CHECK-NEXT:           <key>line</key><integer>44</integer>
1318 // CHECK-NEXT:           <key>col</key><integer>23</integer>
1319 // CHECK-NEXT:           <key>file</key><integer>0</integer>
1320 // CHECK-NEXT:          </dict>
1321 // CHECK-NEXT:         </array>
1322 // CHECK-NEXT:       </array>
1323 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
1324 // CHECK-NEXT:       <key>extended_message</key>
1325 // CHECK-NEXT:       <string>Returned allocated memory</string>
1326 // CHECK-NEXT:       <key>message</key>
1327 // CHECK-NEXT:       <string>Returned allocated memory</string>
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>44</integer>
1338 // CHECK-NEXT:             <key>col</key><integer>15</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>44</integer>
1343 // CHECK-NEXT:             <key>col</key><integer>21</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>46</integer>
1351 // CHECK-NEXT:             <key>col</key><integer>1</integer>
1352 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1353 // CHECK-NEXT:            </dict>
1354 // CHECK-NEXT:            <dict>
1355 // CHECK-NEXT:             <key>line</key><integer>46</integer>
1356 // CHECK-NEXT:             <key>col</key><integer>1</integer>
1357 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1358 // CHECK-NEXT:            </dict>
1359 // CHECK-NEXT:           </array>
1360 // CHECK-NEXT:         </dict>
1361 // CHECK-NEXT:        </array>
1362 // CHECK-NEXT:      </dict>
1363 // CHECK-NEXT:      <dict>
1364 // CHECK-NEXT:       <key>kind</key><string>event</string>
1365 // CHECK-NEXT:       <key>location</key>
1366 // CHECK-NEXT:       <dict>
1367 // CHECK-NEXT:        <key>line</key><integer>46</integer>
1368 // CHECK-NEXT:        <key>col</key><integer>1</integer>
1369 // CHECK-NEXT:        <key>file</key><integer>0</integer>
1370 // CHECK-NEXT:       </dict>
1371 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
1372 // CHECK-NEXT:       <key>extended_message</key>
1373 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;buf&apos;</string>
1374 // CHECK-NEXT:       <key>message</key>
1375 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;buf&apos;</string>
1376 // CHECK-NEXT:      </dict>
1377 // CHECK-NEXT:     </array>
1378 // CHECK-NEXT:     <key>description</key><string>Potential leak of memory pointed to by &apos;buf&apos;</string>
1379 // CHECK-NEXT:     <key>category</key><string>Memory Error</string>
1380 // CHECK-NEXT:     <key>type</key><string>Memory leak</string>
1381 // CHECK-NEXT:     <key>check_name</key><string>unix.Malloc</string>
1382 // CHECK-NEXT:     <!-- This hash is experimental and going to change! -->
1383 // CHECK-NEXT:     <key>issue_hash_content_of_line_in_context</key><string>384d1700f3d9c8eeea96d171e3030bdf</string>
1384 // CHECK-NEXT:    <key>issue_context_kind</key><string>function</string>
1385 // CHECK-NEXT:    <key>issue_context</key><string>test_wrapper</string>
1386 // CHECK-NEXT:    <key>issue_hash_function_offset</key><string>1</string>
1387 // CHECK-NEXT:    <key>location</key>
1388 // CHECK-NEXT:    <dict>
1389 // CHECK-NEXT:     <key>line</key><integer>46</integer>
1390 // CHECK-NEXT:     <key>col</key><integer>1</integer>
1391 // CHECK-NEXT:     <key>file</key><integer>0</integer>
1392 // CHECK-NEXT:    </dict>
1393 // CHECK-NEXT:    </dict>
1394 // CHECK-NEXT:    <dict>
1395 // CHECK-NEXT:     <key>path</key>
1396 // CHECK-NEXT:     <array>
1397 // CHECK-NEXT:      <dict>
1398 // CHECK-NEXT:       <key>kind</key><string>control</string>
1399 // CHECK-NEXT:       <key>edges</key>
1400 // CHECK-NEXT:        <array>
1401 // CHECK-NEXT:         <dict>
1402 // CHECK-NEXT:          <key>start</key>
1403 // CHECK-NEXT:           <array>
1404 // CHECK-NEXT:            <dict>
1405 // CHECK-NEXT:             <key>line</key><integer>60</integer>
1406 // CHECK-NEXT:             <key>col</key><integer>5</integer>
1407 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1408 // CHECK-NEXT:            </dict>
1409 // CHECK-NEXT:            <dict>
1410 // CHECK-NEXT:             <key>line</key><integer>60</integer>
1411 // CHECK-NEXT:             <key>col</key><integer>8</integer>
1412 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1413 // CHECK-NEXT:            </dict>
1414 // CHECK-NEXT:           </array>
1415 // CHECK-NEXT:          <key>end</key>
1416 // CHECK-NEXT:           <array>
1417 // CHECK-NEXT:            <dict>
1418 // CHECK-NEXT:             <key>line</key><integer>61</integer>
1419 // CHECK-NEXT:             <key>col</key><integer>5</integer>
1420 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1421 // CHECK-NEXT:            </dict>
1422 // CHECK-NEXT:            <dict>
1423 // CHECK-NEXT:             <key>line</key><integer>61</integer>
1424 // CHECK-NEXT:             <key>col</key><integer>22</integer>
1425 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1426 // CHECK-NEXT:            </dict>
1427 // CHECK-NEXT:           </array>
1428 // CHECK-NEXT:         </dict>
1429 // CHECK-NEXT:        </array>
1430 // CHECK-NEXT:      </dict>
1431 // CHECK-NEXT:      <dict>
1432 // CHECK-NEXT:       <key>kind</key><string>event</string>
1433 // CHECK-NEXT:       <key>location</key>
1434 // CHECK-NEXT:       <dict>
1435 // CHECK-NEXT:        <key>line</key><integer>61</integer>
1436 // CHECK-NEXT:        <key>col</key><integer>5</integer>
1437 // CHECK-NEXT:        <key>file</key><integer>0</integer>
1438 // CHECK-NEXT:       </dict>
1439 // CHECK-NEXT:       <key>ranges</key>
1440 // CHECK-NEXT:       <array>
1441 // CHECK-NEXT:         <array>
1442 // CHECK-NEXT:          <dict>
1443 // CHECK-NEXT:           <key>line</key><integer>61</integer>
1444 // CHECK-NEXT:           <key>col</key><integer>5</integer>
1445 // CHECK-NEXT:           <key>file</key><integer>0</integer>
1446 // CHECK-NEXT:          </dict>
1447 // CHECK-NEXT:          <dict>
1448 // CHECK-NEXT:           <key>line</key><integer>61</integer>
1449 // CHECK-NEXT:           <key>col</key><integer>28</integer>
1450 // CHECK-NEXT:           <key>file</key><integer>0</integer>
1451 // CHECK-NEXT:          </dict>
1452 // CHECK-NEXT:         </array>
1453 // CHECK-NEXT:       </array>
1454 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
1455 // CHECK-NEXT:       <key>extended_message</key>
1456 // CHECK-NEXT:       <string>Calling &apos;my_malloc_and_free&apos;</string>
1457 // CHECK-NEXT:       <key>message</key>
1458 // CHECK-NEXT:       <string>Calling &apos;my_malloc_and_free&apos;</string>
1459 // CHECK-NEXT:      </dict>
1460 // CHECK-NEXT:      <dict>
1461 // CHECK-NEXT:       <key>kind</key><string>event</string>
1462 // CHECK-NEXT:       <key>location</key>
1463 // CHECK-NEXT:       <dict>
1464 // CHECK-NEXT:        <key>line</key><integer>53</integer>
1465 // CHECK-NEXT:        <key>col</key><integer>1</integer>
1466 // CHECK-NEXT:        <key>file</key><integer>0</integer>
1467 // CHECK-NEXT:       </dict>
1468 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
1469 // CHECK-NEXT:       <key>extended_message</key>
1470 // CHECK-NEXT:       <string>Entered call from &apos;test_double_action_call&apos;</string>
1471 // CHECK-NEXT:       <key>message</key>
1472 // CHECK-NEXT:       <string>Entered call from &apos;test_double_action_call&apos;</string>
1473 // CHECK-NEXT:      </dict>
1474 // CHECK-NEXT:      <dict>
1475 // CHECK-NEXT:       <key>kind</key><string>control</string>
1476 // CHECK-NEXT:       <key>edges</key>
1477 // CHECK-NEXT:        <array>
1478 // CHECK-NEXT:         <dict>
1479 // CHECK-NEXT:          <key>start</key>
1480 // CHECK-NEXT:           <array>
1481 // CHECK-NEXT:            <dict>
1482 // CHECK-NEXT:             <key>line</key><integer>53</integer>
1483 // CHECK-NEXT:             <key>col</key><integer>1</integer>
1484 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1485 // CHECK-NEXT:            </dict>
1486 // CHECK-NEXT:            <dict>
1487 // CHECK-NEXT:             <key>line</key><integer>53</integer>
1488 // CHECK-NEXT:             <key>col</key><integer>4</integer>
1489 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1490 // CHECK-NEXT:            </dict>
1491 // CHECK-NEXT:           </array>
1492 // CHECK-NEXT:          <key>end</key>
1493 // CHECK-NEXT:           <array>
1494 // CHECK-NEXT:            <dict>
1495 // CHECK-NEXT:             <key>line</key><integer>54</integer>
1496 // CHECK-NEXT:             <key>col</key><integer>5</integer>
1497 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1498 // CHECK-NEXT:            </dict>
1499 // CHECK-NEXT:            <dict>
1500 // CHECK-NEXT:             <key>line</key><integer>54</integer>
1501 // CHECK-NEXT:             <key>col</key><integer>5</integer>
1502 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1503 // CHECK-NEXT:            </dict>
1504 // CHECK-NEXT:           </array>
1505 // CHECK-NEXT:         </dict>
1506 // CHECK-NEXT:        </array>
1507 // CHECK-NEXT:      </dict>
1508 // CHECK-NEXT:      <dict>
1509 // CHECK-NEXT:       <key>kind</key><string>control</string>
1510 // CHECK-NEXT:       <key>edges</key>
1511 // CHECK-NEXT:        <array>
1512 // CHECK-NEXT:         <dict>
1513 // CHECK-NEXT:          <key>start</key>
1514 // CHECK-NEXT:           <array>
1515 // CHECK-NEXT:            <dict>
1516 // CHECK-NEXT:             <key>line</key><integer>54</integer>
1517 // CHECK-NEXT:             <key>col</key><integer>5</integer>
1518 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1519 // CHECK-NEXT:            </dict>
1520 // CHECK-NEXT:            <dict>
1521 // CHECK-NEXT:             <key>line</key><integer>54</integer>
1522 // CHECK-NEXT:             <key>col</key><integer>5</integer>
1523 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1524 // CHECK-NEXT:            </dict>
1525 // CHECK-NEXT:           </array>
1526 // CHECK-NEXT:          <key>end</key>
1527 // CHECK-NEXT:           <array>
1528 // CHECK-NEXT:            <dict>
1529 // CHECK-NEXT:             <key>line</key><integer>54</integer>
1530 // CHECK-NEXT:             <key>col</key><integer>10</integer>
1531 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1532 // CHECK-NEXT:            </dict>
1533 // CHECK-NEXT:            <dict>
1534 // CHECK-NEXT:             <key>line</key><integer>54</integer>
1535 // CHECK-NEXT:             <key>col</key><integer>15</integer>
1536 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1537 // CHECK-NEXT:            </dict>
1538 // CHECK-NEXT:           </array>
1539 // CHECK-NEXT:         </dict>
1540 // CHECK-NEXT:        </array>
1541 // CHECK-NEXT:      </dict>
1542 // CHECK-NEXT:      <dict>
1543 // CHECK-NEXT:       <key>kind</key><string>event</string>
1544 // CHECK-NEXT:       <key>location</key>
1545 // CHECK-NEXT:       <dict>
1546 // CHECK-NEXT:        <key>line</key><integer>54</integer>
1547 // CHECK-NEXT:        <key>col</key><integer>10</integer>
1548 // CHECK-NEXT:        <key>file</key><integer>0</integer>
1549 // CHECK-NEXT:       </dict>
1550 // CHECK-NEXT:       <key>ranges</key>
1551 // CHECK-NEXT:       <array>
1552 // CHECK-NEXT:         <array>
1553 // CHECK-NEXT:          <dict>
1554 // CHECK-NEXT:           <key>line</key><integer>54</integer>
1555 // CHECK-NEXT:           <key>col</key><integer>10</integer>
1556 // CHECK-NEXT:           <key>file</key><integer>0</integer>
1557 // CHECK-NEXT:          </dict>
1558 // CHECK-NEXT:          <dict>
1559 // CHECK-NEXT:           <key>line</key><integer>54</integer>
1560 // CHECK-NEXT:           <key>col</key><integer>20</integer>
1561 // CHECK-NEXT:           <key>file</key><integer>0</integer>
1562 // CHECK-NEXT:          </dict>
1563 // CHECK-NEXT:         </array>
1564 // CHECK-NEXT:       </array>
1565 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
1566 // CHECK-NEXT:       <key>extended_message</key>
1567 // CHECK-NEXT:       <string>Memory is allocated</string>
1568 // CHECK-NEXT:       <key>message</key>
1569 // CHECK-NEXT:       <string>Memory is allocated</string>
1570 // CHECK-NEXT:      </dict>
1571 // CHECK-NEXT:      <dict>
1572 // CHECK-NEXT:       <key>kind</key><string>control</string>
1573 // CHECK-NEXT:       <key>edges</key>
1574 // CHECK-NEXT:        <array>
1575 // CHECK-NEXT:         <dict>
1576 // CHECK-NEXT:          <key>start</key>
1577 // CHECK-NEXT:           <array>
1578 // CHECK-NEXT:            <dict>
1579 // CHECK-NEXT:             <key>line</key><integer>54</integer>
1580 // CHECK-NEXT:             <key>col</key><integer>10</integer>
1581 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1582 // CHECK-NEXT:            </dict>
1583 // CHECK-NEXT:            <dict>
1584 // CHECK-NEXT:             <key>line</key><integer>54</integer>
1585 // CHECK-NEXT:             <key>col</key><integer>15</integer>
1586 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1587 // CHECK-NEXT:            </dict>
1588 // CHECK-NEXT:           </array>
1589 // CHECK-NEXT:          <key>end</key>
1590 // CHECK-NEXT:           <array>
1591 // CHECK-NEXT:            <dict>
1592 // CHECK-NEXT:             <key>line</key><integer>55</integer>
1593 // CHECK-NEXT:             <key>col</key><integer>5</integer>
1594 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1595 // CHECK-NEXT:            </dict>
1596 // CHECK-NEXT:            <dict>
1597 // CHECK-NEXT:             <key>line</key><integer>55</integer>
1598 // CHECK-NEXT:             <key>col</key><integer>6</integer>
1599 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1600 // CHECK-NEXT:            </dict>
1601 // CHECK-NEXT:           </array>
1602 // CHECK-NEXT:         </dict>
1603 // CHECK-NEXT:        </array>
1604 // CHECK-NEXT:      </dict>
1605 // CHECK-NEXT:      <dict>
1606 // CHECK-NEXT:       <key>kind</key><string>control</string>
1607 // CHECK-NEXT:       <key>edges</key>
1608 // CHECK-NEXT:        <array>
1609 // CHECK-NEXT:         <dict>
1610 // CHECK-NEXT:          <key>start</key>
1611 // CHECK-NEXT:           <array>
1612 // CHECK-NEXT:            <dict>
1613 // CHECK-NEXT:             <key>line</key><integer>55</integer>
1614 // CHECK-NEXT:             <key>col</key><integer>5</integer>
1615 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1616 // CHECK-NEXT:            </dict>
1617 // CHECK-NEXT:            <dict>
1618 // CHECK-NEXT:             <key>line</key><integer>55</integer>
1619 // CHECK-NEXT:             <key>col</key><integer>6</integer>
1620 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1621 // CHECK-NEXT:            </dict>
1622 // CHECK-NEXT:           </array>
1623 // CHECK-NEXT:          <key>end</key>
1624 // CHECK-NEXT:           <array>
1625 // CHECK-NEXT:            <dict>
1626 // CHECK-NEXT:             <key>line</key><integer>56</integer>
1627 // CHECK-NEXT:             <key>col</key><integer>7</integer>
1628 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1629 // CHECK-NEXT:            </dict>
1630 // CHECK-NEXT:            <dict>
1631 // CHECK-NEXT:             <key>line</key><integer>56</integer>
1632 // CHECK-NEXT:             <key>col</key><integer>13</integer>
1633 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1634 // CHECK-NEXT:            </dict>
1635 // CHECK-NEXT:           </array>
1636 // CHECK-NEXT:         </dict>
1637 // CHECK-NEXT:        </array>
1638 // CHECK-NEXT:      </dict>
1639 // CHECK-NEXT:      <dict>
1640 // CHECK-NEXT:       <key>kind</key><string>event</string>
1641 // CHECK-NEXT:       <key>location</key>
1642 // CHECK-NEXT:       <dict>
1643 // CHECK-NEXT:        <key>line</key><integer>56</integer>
1644 // CHECK-NEXT:        <key>col</key><integer>7</integer>
1645 // CHECK-NEXT:        <key>file</key><integer>0</integer>
1646 // CHECK-NEXT:       </dict>
1647 // CHECK-NEXT:       <key>ranges</key>
1648 // CHECK-NEXT:       <array>
1649 // CHECK-NEXT:         <array>
1650 // CHECK-NEXT:          <dict>
1651 // CHECK-NEXT:           <key>line</key><integer>56</integer>
1652 // CHECK-NEXT:           <key>col</key><integer>7</integer>
1653 // CHECK-NEXT:           <key>file</key><integer>0</integer>
1654 // CHECK-NEXT:          </dict>
1655 // CHECK-NEXT:          <dict>
1656 // CHECK-NEXT:           <key>line</key><integer>56</integer>
1657 // CHECK-NEXT:           <key>col</key><integer>17</integer>
1658 // CHECK-NEXT:           <key>file</key><integer>0</integer>
1659 // CHECK-NEXT:          </dict>
1660 // CHECK-NEXT:         </array>
1661 // CHECK-NEXT:       </array>
1662 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
1663 // CHECK-NEXT:       <key>extended_message</key>
1664 // CHECK-NEXT:       <string>Calling &apos;my_free&apos;</string>
1665 // CHECK-NEXT:       <key>message</key>
1666 // CHECK-NEXT:       <string>Calling &apos;my_free&apos;</string>
1667 // CHECK-NEXT:      </dict>
1668 // CHECK-NEXT:      <dict>
1669 // CHECK-NEXT:       <key>kind</key><string>event</string>
1670 // CHECK-NEXT:       <key>location</key>
1671 // CHECK-NEXT:       <dict>
1672 // CHECK-NEXT:        <key>line</key><integer>50</integer>
1673 // CHECK-NEXT:        <key>col</key><integer>1</integer>
1674 // CHECK-NEXT:        <key>file</key><integer>0</integer>
1675 // CHECK-NEXT:       </dict>
1676 // CHECK-NEXT:       <key>depth</key><integer>2</integer>
1677 // CHECK-NEXT:       <key>extended_message</key>
1678 // CHECK-NEXT:       <string>Entered call from &apos;my_malloc_and_free&apos;</string>
1679 // CHECK-NEXT:       <key>message</key>
1680 // CHECK-NEXT:       <string>Entered call from &apos;my_malloc_and_free&apos;</string>
1681 // CHECK-NEXT:      </dict>
1682 // CHECK-NEXT:      <dict>
1683 // CHECK-NEXT:       <key>kind</key><string>control</string>
1684 // CHECK-NEXT:       <key>edges</key>
1685 // CHECK-NEXT:        <array>
1686 // CHECK-NEXT:         <dict>
1687 // CHECK-NEXT:          <key>start</key>
1688 // CHECK-NEXT:           <array>
1689 // CHECK-NEXT:            <dict>
1690 // CHECK-NEXT:             <key>line</key><integer>50</integer>
1691 // CHECK-NEXT:             <key>col</key><integer>1</integer>
1692 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1693 // CHECK-NEXT:            </dict>
1694 // CHECK-NEXT:            <dict>
1695 // CHECK-NEXT:             <key>line</key><integer>50</integer>
1696 // CHECK-NEXT:             <key>col</key><integer>4</integer>
1697 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1698 // CHECK-NEXT:            </dict>
1699 // CHECK-NEXT:           </array>
1700 // CHECK-NEXT:          <key>end</key>
1701 // CHECK-NEXT:           <array>
1702 // CHECK-NEXT:            <dict>
1703 // CHECK-NEXT:             <key>line</key><integer>51</integer>
1704 // CHECK-NEXT:             <key>col</key><integer>5</integer>
1705 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1706 // CHECK-NEXT:            </dict>
1707 // CHECK-NEXT:            <dict>
1708 // CHECK-NEXT:             <key>line</key><integer>51</integer>
1709 // CHECK-NEXT:             <key>col</key><integer>8</integer>
1710 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1711 // CHECK-NEXT:            </dict>
1712 // CHECK-NEXT:           </array>
1713 // CHECK-NEXT:         </dict>
1714 // CHECK-NEXT:        </array>
1715 // CHECK-NEXT:      </dict>
1716 // CHECK-NEXT:      <dict>
1717 // CHECK-NEXT:       <key>kind</key><string>event</string>
1718 // CHECK-NEXT:       <key>location</key>
1719 // CHECK-NEXT:       <dict>
1720 // CHECK-NEXT:        <key>line</key><integer>51</integer>
1721 // CHECK-NEXT:        <key>col</key><integer>5</integer>
1722 // CHECK-NEXT:        <key>file</key><integer>0</integer>
1723 // CHECK-NEXT:       </dict>
1724 // CHECK-NEXT:       <key>ranges</key>
1725 // CHECK-NEXT:       <array>
1726 // CHECK-NEXT:         <array>
1727 // CHECK-NEXT:          <dict>
1728 // CHECK-NEXT:           <key>line</key><integer>51</integer>
1729 // CHECK-NEXT:           <key>col</key><integer>5</integer>
1730 // CHECK-NEXT:           <key>file</key><integer>0</integer>
1731 // CHECK-NEXT:          </dict>
1732 // CHECK-NEXT:          <dict>
1733 // CHECK-NEXT:           <key>line</key><integer>51</integer>
1734 // CHECK-NEXT:           <key>col</key><integer>11</integer>
1735 // CHECK-NEXT:           <key>file</key><integer>0</integer>
1736 // CHECK-NEXT:          </dict>
1737 // CHECK-NEXT:         </array>
1738 // CHECK-NEXT:       </array>
1739 // CHECK-NEXT:       <key>depth</key><integer>2</integer>
1740 // CHECK-NEXT:       <key>extended_message</key>
1741 // CHECK-NEXT:       <string>Memory is released</string>
1742 // CHECK-NEXT:       <key>message</key>
1743 // CHECK-NEXT:       <string>Memory is released</string>
1744 // CHECK-NEXT:      </dict>
1745 // CHECK-NEXT:      <dict>
1746 // CHECK-NEXT:       <key>kind</key><string>event</string>
1747 // CHECK-NEXT:       <key>location</key>
1748 // CHECK-NEXT:       <dict>
1749 // CHECK-NEXT:        <key>line</key><integer>56</integer>
1750 // CHECK-NEXT:        <key>col</key><integer>7</integer>
1751 // CHECK-NEXT:        <key>file</key><integer>0</integer>
1752 // CHECK-NEXT:       </dict>
1753 // CHECK-NEXT:       <key>ranges</key>
1754 // CHECK-NEXT:       <array>
1755 // CHECK-NEXT:         <array>
1756 // CHECK-NEXT:          <dict>
1757 // CHECK-NEXT:           <key>line</key><integer>56</integer>
1758 // CHECK-NEXT:           <key>col</key><integer>7</integer>
1759 // CHECK-NEXT:           <key>file</key><integer>0</integer>
1760 // CHECK-NEXT:          </dict>
1761 // CHECK-NEXT:          <dict>
1762 // CHECK-NEXT:           <key>line</key><integer>56</integer>
1763 // CHECK-NEXT:           <key>col</key><integer>17</integer>
1764 // CHECK-NEXT:           <key>file</key><integer>0</integer>
1765 // CHECK-NEXT:          </dict>
1766 // CHECK-NEXT:         </array>
1767 // CHECK-NEXT:       </array>
1768 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
1769 // CHECK-NEXT:       <key>extended_message</key>
1770 // CHECK-NEXT:       <string>Returning; memory was released via 1st parameter</string>
1771 // CHECK-NEXT:       <key>message</key>
1772 // CHECK-NEXT:       <string>Returning; memory was released via 1st parameter</string>
1773 // CHECK-NEXT:      </dict>
1774 // CHECK-NEXT:      <dict>
1775 // CHECK-NEXT:       <key>kind</key><string>control</string>
1776 // CHECK-NEXT:       <key>edges</key>
1777 // CHECK-NEXT:        <array>
1778 // CHECK-NEXT:         <dict>
1779 // CHECK-NEXT:          <key>start</key>
1780 // CHECK-NEXT:           <array>
1781 // CHECK-NEXT:            <dict>
1782 // CHECK-NEXT:             <key>line</key><integer>56</integer>
1783 // CHECK-NEXT:             <key>col</key><integer>7</integer>
1784 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1785 // CHECK-NEXT:            </dict>
1786 // CHECK-NEXT:            <dict>
1787 // CHECK-NEXT:             <key>line</key><integer>56</integer>
1788 // CHECK-NEXT:             <key>col</key><integer>13</integer>
1789 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1790 // CHECK-NEXT:            </dict>
1791 // CHECK-NEXT:           </array>
1792 // CHECK-NEXT:          <key>end</key>
1793 // CHECK-NEXT:           <array>
1794 // CHECK-NEXT:            <dict>
1795 // CHECK-NEXT:             <key>line</key><integer>57</integer>
1796 // CHECK-NEXT:             <key>col</key><integer>5</integer>
1797 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1798 // CHECK-NEXT:            </dict>
1799 // CHECK-NEXT:            <dict>
1800 // CHECK-NEXT:             <key>line</key><integer>57</integer>
1801 // CHECK-NEXT:             <key>col</key><integer>10</integer>
1802 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1803 // CHECK-NEXT:            </dict>
1804 // CHECK-NEXT:           </array>
1805 // CHECK-NEXT:         </dict>
1806 // CHECK-NEXT:        </array>
1807 // CHECK-NEXT:      </dict>
1808 // CHECK-NEXT:      <dict>
1809 // CHECK-NEXT:       <key>kind</key><string>event</string>
1810 // CHECK-NEXT:       <key>location</key>
1811 // CHECK-NEXT:       <dict>
1812 // CHECK-NEXT:        <key>line</key><integer>61</integer>
1813 // CHECK-NEXT:        <key>col</key><integer>5</integer>
1814 // CHECK-NEXT:        <key>file</key><integer>0</integer>
1815 // CHECK-NEXT:       </dict>
1816 // CHECK-NEXT:       <key>ranges</key>
1817 // CHECK-NEXT:       <array>
1818 // CHECK-NEXT:         <array>
1819 // CHECK-NEXT:          <dict>
1820 // CHECK-NEXT:           <key>line</key><integer>61</integer>
1821 // CHECK-NEXT:           <key>col</key><integer>5</integer>
1822 // CHECK-NEXT:           <key>file</key><integer>0</integer>
1823 // CHECK-NEXT:          </dict>
1824 // CHECK-NEXT:          <dict>
1825 // CHECK-NEXT:           <key>line</key><integer>61</integer>
1826 // CHECK-NEXT:           <key>col</key><integer>28</integer>
1827 // CHECK-NEXT:           <key>file</key><integer>0</integer>
1828 // CHECK-NEXT:          </dict>
1829 // CHECK-NEXT:         </array>
1830 // CHECK-NEXT:       </array>
1831 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
1832 // CHECK-NEXT:       <key>extended_message</key>
1833 // CHECK-NEXT:       <string>Returning; memory was released via 1st parameter</string>
1834 // CHECK-NEXT:       <key>message</key>
1835 // CHECK-NEXT:       <string>Returning; memory was released via 1st parameter</string>
1836 // CHECK-NEXT:      </dict>
1837 // CHECK-NEXT:      <dict>
1838 // CHECK-NEXT:       <key>kind</key><string>control</string>
1839 // CHECK-NEXT:       <key>edges</key>
1840 // CHECK-NEXT:        <array>
1841 // CHECK-NEXT:         <dict>
1842 // CHECK-NEXT:          <key>start</key>
1843 // CHECK-NEXT:           <array>
1844 // CHECK-NEXT:            <dict>
1845 // CHECK-NEXT:             <key>line</key><integer>61</integer>
1846 // CHECK-NEXT:             <key>col</key><integer>5</integer>
1847 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1848 // CHECK-NEXT:            </dict>
1849 // CHECK-NEXT:            <dict>
1850 // CHECK-NEXT:             <key>line</key><integer>61</integer>
1851 // CHECK-NEXT:             <key>col</key><integer>22</integer>
1852 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1853 // CHECK-NEXT:            </dict>
1854 // CHECK-NEXT:           </array>
1855 // CHECK-NEXT:          <key>end</key>
1856 // CHECK-NEXT:           <array>
1857 // CHECK-NEXT:            <dict>
1858 // CHECK-NEXT:             <key>line</key><integer>62</integer>
1859 // CHECK-NEXT:             <key>col</key><integer>5</integer>
1860 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1861 // CHECK-NEXT:            </dict>
1862 // CHECK-NEXT:            <dict>
1863 // CHECK-NEXT:             <key>line</key><integer>62</integer>
1864 // CHECK-NEXT:             <key>col</key><integer>10</integer>
1865 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1866 // CHECK-NEXT:            </dict>
1867 // CHECK-NEXT:           </array>
1868 // CHECK-NEXT:         </dict>
1869 // CHECK-NEXT:        </array>
1870 // CHECK-NEXT:      </dict>
1871 // CHECK-NEXT:      <dict>
1872 // CHECK-NEXT:       <key>kind</key><string>event</string>
1873 // CHECK-NEXT:       <key>location</key>
1874 // CHECK-NEXT:       <dict>
1875 // CHECK-NEXT:        <key>line</key><integer>62</integer>
1876 // CHECK-NEXT:        <key>col</key><integer>5</integer>
1877 // CHECK-NEXT:        <key>file</key><integer>0</integer>
1878 // CHECK-NEXT:       </dict>
1879 // CHECK-NEXT:       <key>ranges</key>
1880 // CHECK-NEXT:       <array>
1881 // CHECK-NEXT:         <array>
1882 // CHECK-NEXT:          <dict>
1883 // CHECK-NEXT:           <key>line</key><integer>62</integer>
1884 // CHECK-NEXT:           <key>col</key><integer>12</integer>
1885 // CHECK-NEXT:           <key>file</key><integer>0</integer>
1886 // CHECK-NEXT:          </dict>
1887 // CHECK-NEXT:          <dict>
1888 // CHECK-NEXT:           <key>line</key><integer>62</integer>
1889 // CHECK-NEXT:           <key>col</key><integer>14</integer>
1890 // CHECK-NEXT:           <key>file</key><integer>0</integer>
1891 // CHECK-NEXT:          </dict>
1892 // CHECK-NEXT:         </array>
1893 // CHECK-NEXT:       </array>
1894 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
1895 // CHECK-NEXT:       <key>extended_message</key>
1896 // CHECK-NEXT:       <string>Use of memory after it is freed</string>
1897 // CHECK-NEXT:       <key>message</key>
1898 // CHECK-NEXT:       <string>Use of memory after it is freed</string>
1899 // CHECK-NEXT:      </dict>
1900 // CHECK-NEXT:     </array>
1901 // CHECK-NEXT:     <key>description</key><string>Use of memory after it is freed</string>
1902 // CHECK-NEXT:     <key>category</key><string>Memory Error</string>
1903 // CHECK-NEXT:     <key>type</key><string>Use-after-free</string>
1904 // CHECK-NEXT:     <key>check_name</key><string>unix.Malloc</string>
1905 // CHECK-NEXT:     <!-- This hash is experimental and going to change! -->
1906 // CHECK-NEXT:     <key>issue_hash_content_of_line_in_context</key><string>422436dc85b85cde7e15046a5616ee99</string>
1907 // CHECK-NEXT:    <key>issue_context_kind</key><string>function</string>
1908 // CHECK-NEXT:    <key>issue_context</key><string>test_double_action_call</string>
1909 // CHECK-NEXT:    <key>issue_hash_function_offset</key><string>3</string>
1910 // CHECK-NEXT:    <key>location</key>
1911 // CHECK-NEXT:    <dict>
1912 // CHECK-NEXT:     <key>line</key><integer>62</integer>
1913 // CHECK-NEXT:     <key>col</key><integer>5</integer>
1914 // CHECK-NEXT:     <key>file</key><integer>0</integer>
1915 // CHECK-NEXT:    </dict>
1916 // CHECK-NEXT:    </dict>
1917 // CHECK-NEXT:    <dict>
1918 // CHECK-NEXT:     <key>path</key>
1919 // CHECK-NEXT:     <array>
1920 // CHECK-NEXT:      <dict>
1921 // CHECK-NEXT:       <key>kind</key><string>control</string>
1922 // CHECK-NEXT:       <key>edges</key>
1923 // CHECK-NEXT:        <array>
1924 // CHECK-NEXT:         <dict>
1925 // CHECK-NEXT:          <key>start</key>
1926 // CHECK-NEXT:           <array>
1927 // CHECK-NEXT:            <dict>
1928 // CHECK-NEXT:             <key>line</key><integer>75</integer>
1929 // CHECK-NEXT:             <key>col</key><integer>5</integer>
1930 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1931 // CHECK-NEXT:            </dict>
1932 // CHECK-NEXT:            <dict>
1933 // CHECK-NEXT:             <key>line</key><integer>75</integer>
1934 // CHECK-NEXT:             <key>col</key><integer>8</integer>
1935 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1936 // CHECK-NEXT:            </dict>
1937 // CHECK-NEXT:           </array>
1938 // CHECK-NEXT:          <key>end</key>
1939 // CHECK-NEXT:           <array>
1940 // CHECK-NEXT:            <dict>
1941 // CHECK-NEXT:             <key>line</key><integer>75</integer>
1942 // CHECK-NEXT:             <key>col</key><integer>25</integer>
1943 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1944 // CHECK-NEXT:            </dict>
1945 // CHECK-NEXT:            <dict>
1946 // CHECK-NEXT:             <key>line</key><integer>75</integer>
1947 // CHECK-NEXT:             <key>col</key><integer>30</integer>
1948 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1949 // CHECK-NEXT:            </dict>
1950 // CHECK-NEXT:           </array>
1951 // CHECK-NEXT:         </dict>
1952 // CHECK-NEXT:        </array>
1953 // CHECK-NEXT:      </dict>
1954 // CHECK-NEXT:      <dict>
1955 // CHECK-NEXT:       <key>kind</key><string>event</string>
1956 // CHECK-NEXT:       <key>location</key>
1957 // CHECK-NEXT:       <dict>
1958 // CHECK-NEXT:        <key>line</key><integer>75</integer>
1959 // CHECK-NEXT:        <key>col</key><integer>25</integer>
1960 // CHECK-NEXT:        <key>file</key><integer>0</integer>
1961 // CHECK-NEXT:       </dict>
1962 // CHECK-NEXT:       <key>ranges</key>
1963 // CHECK-NEXT:       <array>
1964 // CHECK-NEXT:         <array>
1965 // CHECK-NEXT:          <dict>
1966 // CHECK-NEXT:           <key>line</key><integer>75</integer>
1967 // CHECK-NEXT:           <key>col</key><integer>25</integer>
1968 // CHECK-NEXT:           <key>file</key><integer>0</integer>
1969 // CHECK-NEXT:          </dict>
1970 // CHECK-NEXT:          <dict>
1971 // CHECK-NEXT:           <key>line</key><integer>75</integer>
1972 // CHECK-NEXT:           <key>col</key><integer>35</integer>
1973 // CHECK-NEXT:           <key>file</key><integer>0</integer>
1974 // CHECK-NEXT:          </dict>
1975 // CHECK-NEXT:         </array>
1976 // CHECK-NEXT:       </array>
1977 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
1978 // CHECK-NEXT:       <key>extended_message</key>
1979 // CHECK-NEXT:       <string>Memory is allocated</string>
1980 // CHECK-NEXT:       <key>message</key>
1981 // CHECK-NEXT:       <string>Memory is allocated</string>
1982 // CHECK-NEXT:      </dict>
1983 // CHECK-NEXT:      <dict>
1984 // CHECK-NEXT:       <key>kind</key><string>control</string>
1985 // CHECK-NEXT:       <key>edges</key>
1986 // CHECK-NEXT:        <array>
1987 // CHECK-NEXT:         <dict>
1988 // CHECK-NEXT:          <key>start</key>
1989 // CHECK-NEXT:           <array>
1990 // CHECK-NEXT:            <dict>
1991 // CHECK-NEXT:             <key>line</key><integer>75</integer>
1992 // CHECK-NEXT:             <key>col</key><integer>25</integer>
1993 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1994 // CHECK-NEXT:            </dict>
1995 // CHECK-NEXT:            <dict>
1996 // CHECK-NEXT:             <key>line</key><integer>75</integer>
1997 // CHECK-NEXT:             <key>col</key><integer>30</integer>
1998 // CHECK-NEXT:             <key>file</key><integer>0</integer>
1999 // CHECK-NEXT:            </dict>
2000 // CHECK-NEXT:           </array>
2001 // CHECK-NEXT:          <key>end</key>
2002 // CHECK-NEXT:           <array>
2003 // CHECK-NEXT:            <dict>
2004 // CHECK-NEXT:             <key>line</key><integer>76</integer>
2005 // CHECK-NEXT:             <key>col</key><integer>11</integer>
2006 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2007 // CHECK-NEXT:            </dict>
2008 // CHECK-NEXT:            <dict>
2009 // CHECK-NEXT:             <key>line</key><integer>76</integer>
2010 // CHECK-NEXT:             <key>col</key><integer>20</integer>
2011 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2012 // CHECK-NEXT:            </dict>
2013 // CHECK-NEXT:           </array>
2014 // CHECK-NEXT:         </dict>
2015 // CHECK-NEXT:        </array>
2016 // CHECK-NEXT:      </dict>
2017 // CHECK-NEXT:      <dict>
2018 // CHECK-NEXT:       <key>kind</key><string>event</string>
2019 // CHECK-NEXT:       <key>location</key>
2020 // CHECK-NEXT:       <dict>
2021 // CHECK-NEXT:        <key>line</key><integer>76</integer>
2022 // CHECK-NEXT:        <key>col</key><integer>11</integer>
2023 // CHECK-NEXT:        <key>file</key><integer>0</integer>
2024 // CHECK-NEXT:       </dict>
2025 // CHECK-NEXT:       <key>ranges</key>
2026 // CHECK-NEXT:       <array>
2027 // CHECK-NEXT:         <array>
2028 // CHECK-NEXT:          <dict>
2029 // CHECK-NEXT:           <key>line</key><integer>76</integer>
2030 // CHECK-NEXT:           <key>col</key><integer>11</integer>
2031 // CHECK-NEXT:           <key>file</key><integer>0</integer>
2032 // CHECK-NEXT:          </dict>
2033 // CHECK-NEXT:          <dict>
2034 // CHECK-NEXT:           <key>line</key><integer>76</integer>
2035 // CHECK-NEXT:           <key>col</key><integer>25</integer>
2036 // CHECK-NEXT:           <key>file</key><integer>0</integer>
2037 // CHECK-NEXT:          </dict>
2038 // CHECK-NEXT:         </array>
2039 // CHECK-NEXT:       </array>
2040 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
2041 // CHECK-NEXT:       <key>extended_message</key>
2042 // CHECK-NEXT:       <string>Calling &apos;my_realloc&apos;</string>
2043 // CHECK-NEXT:       <key>message</key>
2044 // CHECK-NEXT:       <string>Calling &apos;my_realloc&apos;</string>
2045 // CHECK-NEXT:      </dict>
2046 // CHECK-NEXT:      <dict>
2047 // CHECK-NEXT:       <key>kind</key><string>event</string>
2048 // CHECK-NEXT:       <key>location</key>
2049 // CHECK-NEXT:       <dict>
2050 // CHECK-NEXT:        <key>line</key><integer>66</integer>
2051 // CHECK-NEXT:        <key>col</key><integer>1</integer>
2052 // CHECK-NEXT:        <key>file</key><integer>0</integer>
2053 // CHECK-NEXT:       </dict>
2054 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
2055 // CHECK-NEXT:       <key>extended_message</key>
2056 // CHECK-NEXT:       <string>Entered call from &apos;reallocIntra&apos;</string>
2057 // CHECK-NEXT:       <key>message</key>
2058 // CHECK-NEXT:       <string>Entered call from &apos;reallocIntra&apos;</string>
2059 // CHECK-NEXT:      </dict>
2060 // CHECK-NEXT:      <dict>
2061 // CHECK-NEXT:       <key>kind</key><string>control</string>
2062 // CHECK-NEXT:       <key>edges</key>
2063 // CHECK-NEXT:        <array>
2064 // CHECK-NEXT:         <dict>
2065 // CHECK-NEXT:          <key>start</key>
2066 // CHECK-NEXT:           <array>
2067 // CHECK-NEXT:            <dict>
2068 // CHECK-NEXT:             <key>line</key><integer>66</integer>
2069 // CHECK-NEXT:             <key>col</key><integer>1</integer>
2070 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2071 // CHECK-NEXT:            </dict>
2072 // CHECK-NEXT:            <dict>
2073 // CHECK-NEXT:             <key>line</key><integer>66</integer>
2074 // CHECK-NEXT:             <key>col</key><integer>4</integer>
2075 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2076 // CHECK-NEXT:            </dict>
2077 // CHECK-NEXT:           </array>
2078 // CHECK-NEXT:          <key>end</key>
2079 // CHECK-NEXT:           <array>
2080 // CHECK-NEXT:            <dict>
2081 // CHECK-NEXT:             <key>line</key><integer>67</integer>
2082 // CHECK-NEXT:             <key>col</key><integer>5</integer>
2083 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2084 // CHECK-NEXT:            </dict>
2085 // CHECK-NEXT:            <dict>
2086 // CHECK-NEXT:             <key>line</key><integer>67</integer>
2087 // CHECK-NEXT:             <key>col</key><integer>8</integer>
2088 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2089 // CHECK-NEXT:            </dict>
2090 // CHECK-NEXT:           </array>
2091 // CHECK-NEXT:         </dict>
2092 // CHECK-NEXT:        </array>
2093 // CHECK-NEXT:      </dict>
2094 // CHECK-NEXT:      <dict>
2095 // CHECK-NEXT:       <key>kind</key><string>control</string>
2096 // CHECK-NEXT:       <key>edges</key>
2097 // CHECK-NEXT:        <array>
2098 // CHECK-NEXT:         <dict>
2099 // CHECK-NEXT:          <key>start</key>
2100 // CHECK-NEXT:           <array>
2101 // CHECK-NEXT:            <dict>
2102 // CHECK-NEXT:             <key>line</key><integer>67</integer>
2103 // CHECK-NEXT:             <key>col</key><integer>5</integer>
2104 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2105 // CHECK-NEXT:            </dict>
2106 // CHECK-NEXT:            <dict>
2107 // CHECK-NEXT:             <key>line</key><integer>67</integer>
2108 // CHECK-NEXT:             <key>col</key><integer>8</integer>
2109 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2110 // CHECK-NEXT:            </dict>
2111 // CHECK-NEXT:           </array>
2112 // CHECK-NEXT:          <key>end</key>
2113 // CHECK-NEXT:           <array>
2114 // CHECK-NEXT:            <dict>
2115 // CHECK-NEXT:             <key>line</key><integer>68</integer>
2116 // CHECK-NEXT:             <key>col</key><integer>5</integer>
2117 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2118 // CHECK-NEXT:            </dict>
2119 // CHECK-NEXT:            <dict>
2120 // CHECK-NEXT:             <key>line</key><integer>68</integer>
2121 // CHECK-NEXT:             <key>col</key><integer>7</integer>
2122 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2123 // CHECK-NEXT:            </dict>
2124 // CHECK-NEXT:           </array>
2125 // CHECK-NEXT:         </dict>
2126 // CHECK-NEXT:        </array>
2127 // CHECK-NEXT:      </dict>
2128 // CHECK-NEXT:      <dict>
2129 // CHECK-NEXT:       <key>kind</key><string>control</string>
2130 // CHECK-NEXT:       <key>edges</key>
2131 // CHECK-NEXT:        <array>
2132 // CHECK-NEXT:         <dict>
2133 // CHECK-NEXT:          <key>start</key>
2134 // CHECK-NEXT:           <array>
2135 // CHECK-NEXT:            <dict>
2136 // CHECK-NEXT:             <key>line</key><integer>68</integer>
2137 // CHECK-NEXT:             <key>col</key><integer>5</integer>
2138 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2139 // CHECK-NEXT:            </dict>
2140 // CHECK-NEXT:            <dict>
2141 // CHECK-NEXT:             <key>line</key><integer>68</integer>
2142 // CHECK-NEXT:             <key>col</key><integer>7</integer>
2143 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2144 // CHECK-NEXT:            </dict>
2145 // CHECK-NEXT:           </array>
2146 // CHECK-NEXT:          <key>end</key>
2147 // CHECK-NEXT:           <array>
2148 // CHECK-NEXT:            <dict>
2149 // CHECK-NEXT:             <key>line</key><integer>68</integer>
2150 // CHECK-NEXT:             <key>col</key><integer>18</integer>
2151 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2152 // CHECK-NEXT:            </dict>
2153 // CHECK-NEXT:            <dict>
2154 // CHECK-NEXT:             <key>line</key><integer>68</integer>
2155 // CHECK-NEXT:             <key>col</key><integer>24</integer>
2156 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2157 // CHECK-NEXT:            </dict>
2158 // CHECK-NEXT:           </array>
2159 // CHECK-NEXT:         </dict>
2160 // CHECK-NEXT:        </array>
2161 // CHECK-NEXT:      </dict>
2162 // CHECK-NEXT:      <dict>
2163 // CHECK-NEXT:       <key>kind</key><string>event</string>
2164 // CHECK-NEXT:       <key>location</key>
2165 // CHECK-NEXT:       <dict>
2166 // CHECK-NEXT:        <key>line</key><integer>68</integer>
2167 // CHECK-NEXT:        <key>col</key><integer>18</integer>
2168 // CHECK-NEXT:        <key>file</key><integer>0</integer>
2169 // CHECK-NEXT:       </dict>
2170 // CHECK-NEXT:       <key>ranges</key>
2171 // CHECK-NEXT:       <array>
2172 // CHECK-NEXT:         <array>
2173 // CHECK-NEXT:          <dict>
2174 // CHECK-NEXT:           <key>line</key><integer>68</integer>
2175 // CHECK-NEXT:           <key>col</key><integer>18</integer>
2176 // CHECK-NEXT:           <key>file</key><integer>0</integer>
2177 // CHECK-NEXT:          </dict>
2178 // CHECK-NEXT:          <dict>
2179 // CHECK-NEXT:           <key>line</key><integer>68</integer>
2180 // CHECK-NEXT:           <key>col</key><integer>40</integer>
2181 // CHECK-NEXT:           <key>file</key><integer>0</integer>
2182 // CHECK-NEXT:          </dict>
2183 // CHECK-NEXT:         </array>
2184 // CHECK-NEXT:       </array>
2185 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
2186 // CHECK-NEXT:       <key>extended_message</key>
2187 // CHECK-NEXT:       <string>Attempt to reallocate memory</string>
2188 // CHECK-NEXT:       <key>message</key>
2189 // CHECK-NEXT:       <string>Attempt to reallocate memory</string>
2190 // CHECK-NEXT:      </dict>
2191 // CHECK-NEXT:      <dict>
2192 // CHECK-NEXT:       <key>kind</key><string>control</string>
2193 // CHECK-NEXT:       <key>edges</key>
2194 // CHECK-NEXT:        <array>
2195 // CHECK-NEXT:         <dict>
2196 // CHECK-NEXT:          <key>start</key>
2197 // CHECK-NEXT:           <array>
2198 // CHECK-NEXT:            <dict>
2199 // CHECK-NEXT:             <key>line</key><integer>68</integer>
2200 // CHECK-NEXT:             <key>col</key><integer>18</integer>
2201 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2202 // CHECK-NEXT:            </dict>
2203 // CHECK-NEXT:            <dict>
2204 // CHECK-NEXT:             <key>line</key><integer>68</integer>
2205 // CHECK-NEXT:             <key>col</key><integer>24</integer>
2206 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2207 // CHECK-NEXT:            </dict>
2208 // CHECK-NEXT:           </array>
2209 // CHECK-NEXT:          <key>end</key>
2210 // CHECK-NEXT:           <array>
2211 // CHECK-NEXT:            <dict>
2212 // CHECK-NEXT:             <key>line</key><integer>69</integer>
2213 // CHECK-NEXT:             <key>col</key><integer>5</integer>
2214 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2215 // CHECK-NEXT:            </dict>
2216 // CHECK-NEXT:            <dict>
2217 // CHECK-NEXT:             <key>line</key><integer>69</integer>
2218 // CHECK-NEXT:             <key>col</key><integer>6</integer>
2219 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2220 // CHECK-NEXT:            </dict>
2221 // CHECK-NEXT:           </array>
2222 // CHECK-NEXT:         </dict>
2223 // CHECK-NEXT:        </array>
2224 // CHECK-NEXT:      </dict>
2225 // CHECK-NEXT:      <dict>
2226 // CHECK-NEXT:       <key>kind</key><string>control</string>
2227 // CHECK-NEXT:       <key>edges</key>
2228 // CHECK-NEXT:        <array>
2229 // CHECK-NEXT:         <dict>
2230 // CHECK-NEXT:          <key>start</key>
2231 // CHECK-NEXT:           <array>
2232 // CHECK-NEXT:            <dict>
2233 // CHECK-NEXT:             <key>line</key><integer>69</integer>
2234 // CHECK-NEXT:             <key>col</key><integer>5</integer>
2235 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2236 // CHECK-NEXT:            </dict>
2237 // CHECK-NEXT:            <dict>
2238 // CHECK-NEXT:             <key>line</key><integer>69</integer>
2239 // CHECK-NEXT:             <key>col</key><integer>6</integer>
2240 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2241 // CHECK-NEXT:            </dict>
2242 // CHECK-NEXT:           </array>
2243 // CHECK-NEXT:          <key>end</key>
2244 // CHECK-NEXT:           <array>
2245 // CHECK-NEXT:            <dict>
2246 // CHECK-NEXT:             <key>line</key><integer>69</integer>
2247 // CHECK-NEXT:             <key>col</key><integer>9</integer>
2248 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2249 // CHECK-NEXT:            </dict>
2250 // CHECK-NEXT:            <dict>
2251 // CHECK-NEXT:             <key>line</key><integer>69</integer>
2252 // CHECK-NEXT:             <key>col</key><integer>9</integer>
2253 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2254 // CHECK-NEXT:            </dict>
2255 // CHECK-NEXT:           </array>
2256 // CHECK-NEXT:         </dict>
2257 // CHECK-NEXT:        </array>
2258 // CHECK-NEXT:      </dict>
2259 // CHECK-NEXT:      <dict>
2260 // CHECK-NEXT:       <key>kind</key><string>event</string>
2261 // CHECK-NEXT:       <key>location</key>
2262 // CHECK-NEXT:       <dict>
2263 // CHECK-NEXT:        <key>line</key><integer>69</integer>
2264 // CHECK-NEXT:        <key>col</key><integer>9</integer>
2265 // CHECK-NEXT:        <key>file</key><integer>0</integer>
2266 // CHECK-NEXT:       </dict>
2267 // CHECK-NEXT:       <key>ranges</key>
2268 // CHECK-NEXT:       <array>
2269 // CHECK-NEXT:         <array>
2270 // CHECK-NEXT:          <dict>
2271 // CHECK-NEXT:           <key>line</key><integer>69</integer>
2272 // CHECK-NEXT:           <key>col</key><integer>9</integer>
2273 // CHECK-NEXT:           <key>file</key><integer>0</integer>
2274 // CHECK-NEXT:          </dict>
2275 // CHECK-NEXT:          <dict>
2276 // CHECK-NEXT:           <key>line</key><integer>69</integer>
2277 // CHECK-NEXT:           <key>col</key><integer>12</integer>
2278 // CHECK-NEXT:           <key>file</key><integer>0</integer>
2279 // CHECK-NEXT:          </dict>
2280 // CHECK-NEXT:         </array>
2281 // CHECK-NEXT:       </array>
2282 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
2283 // CHECK-NEXT:       <key>extended_message</key>
2284 // CHECK-NEXT:       <string>Assuming &apos;tmp&apos; is null</string>
2285 // CHECK-NEXT:       <key>message</key>
2286 // CHECK-NEXT:       <string>Assuming &apos;tmp&apos; is null</string>
2287 // CHECK-NEXT:      </dict>
2288 // CHECK-NEXT:      <dict>
2289 // CHECK-NEXT:       <key>kind</key><string>control</string>
2290 // CHECK-NEXT:       <key>edges</key>
2291 // CHECK-NEXT:        <array>
2292 // CHECK-NEXT:         <dict>
2293 // CHECK-NEXT:          <key>start</key>
2294 // CHECK-NEXT:           <array>
2295 // CHECK-NEXT:            <dict>
2296 // CHECK-NEXT:             <key>line</key><integer>69</integer>
2297 // CHECK-NEXT:             <key>col</key><integer>9</integer>
2298 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2299 // CHECK-NEXT:            </dict>
2300 // CHECK-NEXT:            <dict>
2301 // CHECK-NEXT:             <key>line</key><integer>69</integer>
2302 // CHECK-NEXT:             <key>col</key><integer>9</integer>
2303 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2304 // CHECK-NEXT:            </dict>
2305 // CHECK-NEXT:           </array>
2306 // CHECK-NEXT:          <key>end</key>
2307 // CHECK-NEXT:           <array>
2308 // CHECK-NEXT:            <dict>
2309 // CHECK-NEXT:             <key>line</key><integer>69</integer>
2310 // CHECK-NEXT:             <key>col</key><integer>5</integer>
2311 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2312 // CHECK-NEXT:            </dict>
2313 // CHECK-NEXT:            <dict>
2314 // CHECK-NEXT:             <key>line</key><integer>69</integer>
2315 // CHECK-NEXT:             <key>col</key><integer>6</integer>
2316 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2317 // CHECK-NEXT:            </dict>
2318 // CHECK-NEXT:           </array>
2319 // CHECK-NEXT:         </dict>
2320 // CHECK-NEXT:        </array>
2321 // CHECK-NEXT:      </dict>
2322 // CHECK-NEXT:      <dict>
2323 // CHECK-NEXT:       <key>kind</key><string>event</string>
2324 // CHECK-NEXT:       <key>location</key>
2325 // CHECK-NEXT:       <dict>
2326 // CHECK-NEXT:        <key>line</key><integer>69</integer>
2327 // CHECK-NEXT:        <key>col</key><integer>5</integer>
2328 // CHECK-NEXT:        <key>file</key><integer>0</integer>
2329 // CHECK-NEXT:       </dict>
2330 // CHECK-NEXT:       <key>ranges</key>
2331 // CHECK-NEXT:       <array>
2332 // CHECK-NEXT:         <array>
2333 // CHECK-NEXT:          <dict>
2334 // CHECK-NEXT:           <key>line</key><integer>69</integer>
2335 // CHECK-NEXT:           <key>col</key><integer>5</integer>
2336 // CHECK-NEXT:           <key>file</key><integer>0</integer>
2337 // CHECK-NEXT:          </dict>
2338 // CHECK-NEXT:          <dict>
2339 // CHECK-NEXT:           <key>line</key><integer>69</integer>
2340 // CHECK-NEXT:           <key>col</key><integer>6</integer>
2341 // CHECK-NEXT:           <key>file</key><integer>0</integer>
2342 // CHECK-NEXT:          </dict>
2343 // CHECK-NEXT:         </array>
2344 // CHECK-NEXT:       </array>
2345 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
2346 // CHECK-NEXT:       <key>extended_message</key>
2347 // CHECK-NEXT:       <string>Reallocation failed</string>
2348 // CHECK-NEXT:       <key>message</key>
2349 // CHECK-NEXT:       <string>Reallocation failed</string>
2350 // CHECK-NEXT:      </dict>
2351 // CHECK-NEXT:      <dict>
2352 // CHECK-NEXT:       <key>kind</key><string>control</string>
2353 // CHECK-NEXT:       <key>edges</key>
2354 // CHECK-NEXT:        <array>
2355 // CHECK-NEXT:         <dict>
2356 // CHECK-NEXT:          <key>start</key>
2357 // CHECK-NEXT:           <array>
2358 // CHECK-NEXT:            <dict>
2359 // CHECK-NEXT:             <key>line</key><integer>69</integer>
2360 // CHECK-NEXT:             <key>col</key><integer>5</integer>
2361 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2362 // CHECK-NEXT:            </dict>
2363 // CHECK-NEXT:            <dict>
2364 // CHECK-NEXT:             <key>line</key><integer>69</integer>
2365 // CHECK-NEXT:             <key>col</key><integer>6</integer>
2366 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2367 // CHECK-NEXT:            </dict>
2368 // CHECK-NEXT:           </array>
2369 // CHECK-NEXT:          <key>end</key>
2370 // CHECK-NEXT:           <array>
2371 // CHECK-NEXT:            <dict>
2372 // CHECK-NEXT:             <key>line</key><integer>70</integer>
2373 // CHECK-NEXT:             <key>col</key><integer>9</integer>
2374 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2375 // CHECK-NEXT:            </dict>
2376 // CHECK-NEXT:            <dict>
2377 // CHECK-NEXT:             <key>line</key><integer>70</integer>
2378 // CHECK-NEXT:             <key>col</key><integer>14</integer>
2379 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2380 // CHECK-NEXT:            </dict>
2381 // CHECK-NEXT:           </array>
2382 // CHECK-NEXT:         </dict>
2383 // CHECK-NEXT:        </array>
2384 // CHECK-NEXT:      </dict>
2385 // CHECK-NEXT:      <dict>
2386 // CHECK-NEXT:       <key>kind</key><string>event</string>
2387 // CHECK-NEXT:       <key>location</key>
2388 // CHECK-NEXT:       <dict>
2389 // CHECK-NEXT:        <key>line</key><integer>76</integer>
2390 // CHECK-NEXT:        <key>col</key><integer>11</integer>
2391 // CHECK-NEXT:        <key>file</key><integer>0</integer>
2392 // CHECK-NEXT:       </dict>
2393 // CHECK-NEXT:       <key>ranges</key>
2394 // CHECK-NEXT:       <array>
2395 // CHECK-NEXT:         <array>
2396 // CHECK-NEXT:          <dict>
2397 // CHECK-NEXT:           <key>line</key><integer>76</integer>
2398 // CHECK-NEXT:           <key>col</key><integer>11</integer>
2399 // CHECK-NEXT:           <key>file</key><integer>0</integer>
2400 // CHECK-NEXT:          </dict>
2401 // CHECK-NEXT:          <dict>
2402 // CHECK-NEXT:           <key>line</key><integer>76</integer>
2403 // CHECK-NEXT:           <key>col</key><integer>25</integer>
2404 // CHECK-NEXT:           <key>file</key><integer>0</integer>
2405 // CHECK-NEXT:          </dict>
2406 // CHECK-NEXT:         </array>
2407 // CHECK-NEXT:       </array>
2408 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
2409 // CHECK-NEXT:       <key>extended_message</key>
2410 // CHECK-NEXT:       <string>Reallocation of 1st parameter failed</string>
2411 // CHECK-NEXT:       <key>message</key>
2412 // CHECK-NEXT:       <string>Reallocation of 1st parameter failed</string>
2413 // CHECK-NEXT:      </dict>
2414 // CHECK-NEXT:      <dict>
2415 // CHECK-NEXT:       <key>kind</key><string>control</string>
2416 // CHECK-NEXT:       <key>edges</key>
2417 // CHECK-NEXT:        <array>
2418 // CHECK-NEXT:         <dict>
2419 // CHECK-NEXT:          <key>start</key>
2420 // CHECK-NEXT:           <array>
2421 // CHECK-NEXT:            <dict>
2422 // CHECK-NEXT:             <key>line</key><integer>76</integer>
2423 // CHECK-NEXT:             <key>col</key><integer>11</integer>
2424 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2425 // CHECK-NEXT:            </dict>
2426 // CHECK-NEXT:            <dict>
2427 // CHECK-NEXT:             <key>line</key><integer>76</integer>
2428 // CHECK-NEXT:             <key>col</key><integer>20</integer>
2429 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2430 // CHECK-NEXT:            </dict>
2431 // CHECK-NEXT:           </array>
2432 // CHECK-NEXT:          <key>end</key>
2433 // CHECK-NEXT:           <array>
2434 // CHECK-NEXT:            <dict>
2435 // CHECK-NEXT:             <key>line</key><integer>77</integer>
2436 // CHECK-NEXT:             <key>col</key><integer>5</integer>
2437 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2438 // CHECK-NEXT:            </dict>
2439 // CHECK-NEXT:            <dict>
2440 // CHECK-NEXT:             <key>line</key><integer>77</integer>
2441 // CHECK-NEXT:             <key>col</key><integer>8</integer>
2442 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2443 // CHECK-NEXT:            </dict>
2444 // CHECK-NEXT:           </array>
2445 // CHECK-NEXT:         </dict>
2446 // CHECK-NEXT:        </array>
2447 // CHECK-NEXT:      </dict>
2448 // CHECK-NEXT:      <dict>
2449 // CHECK-NEXT:       <key>kind</key><string>event</string>
2450 // CHECK-NEXT:       <key>location</key>
2451 // CHECK-NEXT:       <dict>
2452 // CHECK-NEXT:        <key>line</key><integer>77</integer>
2453 // CHECK-NEXT:        <key>col</key><integer>5</integer>
2454 // CHECK-NEXT:        <key>file</key><integer>0</integer>
2455 // CHECK-NEXT:       </dict>
2456 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
2457 // CHECK-NEXT:       <key>extended_message</key>
2458 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;buf&apos;</string>
2459 // CHECK-NEXT:       <key>message</key>
2460 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;buf&apos;</string>
2461 // CHECK-NEXT:      </dict>
2462 // CHECK-NEXT:     </array>
2463 // CHECK-NEXT:     <key>description</key><string>Potential leak of memory pointed to by &apos;buf&apos;</string>
2464 // CHECK-NEXT:     <key>category</key><string>Memory Error</string>
2465 // CHECK-NEXT:     <key>type</key><string>Memory leak</string>
2466 // CHECK-NEXT:     <key>check_name</key><string>unix.Malloc</string>
2467 // CHECK-NEXT:     <!-- This hash is experimental and going to change! -->
2468 // CHECK-NEXT:     <key>issue_hash_content_of_line_in_context</key><string>23a6c295a515c455bea1c81519bc05b6</string>
2469 // CHECK-NEXT:    <key>issue_context_kind</key><string>function</string>
2470 // CHECK-NEXT:    <key>issue_context</key><string>reallocIntra</string>
2471 // CHECK-NEXT:    <key>issue_hash_function_offset</key><string>1</string>
2472 // CHECK-NEXT:    <key>location</key>
2473 // CHECK-NEXT:    <dict>
2474 // CHECK-NEXT:     <key>line</key><integer>77</integer>
2475 // CHECK-NEXT:     <key>col</key><integer>5</integer>
2476 // CHECK-NEXT:     <key>file</key><integer>0</integer>
2477 // CHECK-NEXT:    </dict>
2478 // CHECK-NEXT:    </dict>
2479 // CHECK-NEXT:    <dict>
2480 // CHECK-NEXT:     <key>path</key>
2481 // CHECK-NEXT:     <array>
2482 // CHECK-NEXT:      <dict>
2483 // CHECK-NEXT:       <key>kind</key><string>control</string>
2484 // CHECK-NEXT:       <key>edges</key>
2485 // CHECK-NEXT:        <array>
2486 // CHECK-NEXT:         <dict>
2487 // CHECK-NEXT:          <key>start</key>
2488 // CHECK-NEXT:           <array>
2489 // CHECK-NEXT:            <dict>
2490 // CHECK-NEXT:             <key>line</key><integer>85</integer>
2491 // CHECK-NEXT:             <key>col</key><integer>5</integer>
2492 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2493 // CHECK-NEXT:            </dict>
2494 // CHECK-NEXT:            <dict>
2495 // CHECK-NEXT:             <key>line</key><integer>85</integer>
2496 // CHECK-NEXT:             <key>col</key><integer>8</integer>
2497 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2498 // CHECK-NEXT:            </dict>
2499 // CHECK-NEXT:           </array>
2500 // CHECK-NEXT:          <key>end</key>
2501 // CHECK-NEXT:           <array>
2502 // CHECK-NEXT:            <dict>
2503 // CHECK-NEXT:             <key>line</key><integer>86</integer>
2504 // CHECK-NEXT:             <key>col</key><integer>9</integer>
2505 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2506 // CHECK-NEXT:            </dict>
2507 // CHECK-NEXT:            <dict>
2508 // CHECK-NEXT:             <key>line</key><integer>86</integer>
2509 // CHECK-NEXT:             <key>col</key><integer>26</integer>
2510 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2511 // CHECK-NEXT:            </dict>
2512 // CHECK-NEXT:           </array>
2513 // CHECK-NEXT:         </dict>
2514 // CHECK-NEXT:        </array>
2515 // CHECK-NEXT:      </dict>
2516 // CHECK-NEXT:      <dict>
2517 // CHECK-NEXT:       <key>kind</key><string>event</string>
2518 // CHECK-NEXT:       <key>location</key>
2519 // CHECK-NEXT:       <dict>
2520 // CHECK-NEXT:        <key>line</key><integer>86</integer>
2521 // CHECK-NEXT:        <key>col</key><integer>9</integer>
2522 // CHECK-NEXT:        <key>file</key><integer>0</integer>
2523 // CHECK-NEXT:       </dict>
2524 // CHECK-NEXT:       <key>ranges</key>
2525 // CHECK-NEXT:       <array>
2526 // CHECK-NEXT:         <array>
2527 // CHECK-NEXT:          <dict>
2528 // CHECK-NEXT:           <key>line</key><integer>86</integer>
2529 // CHECK-NEXT:           <key>col</key><integer>9</integer>
2530 // CHECK-NEXT:           <key>file</key><integer>0</integer>
2531 // CHECK-NEXT:          </dict>
2532 // CHECK-NEXT:          <dict>
2533 // CHECK-NEXT:           <key>line</key><integer>86</integer>
2534 // CHECK-NEXT:           <key>col</key><integer>28</integer>
2535 // CHECK-NEXT:           <key>file</key><integer>0</integer>
2536 // CHECK-NEXT:          </dict>
2537 // CHECK-NEXT:         </array>
2538 // CHECK-NEXT:       </array>
2539 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
2540 // CHECK-NEXT:       <key>extended_message</key>
2541 // CHECK-NEXT:       <string>Calling &apos;malloc_wrapper_ret&apos;</string>
2542 // CHECK-NEXT:       <key>message</key>
2543 // CHECK-NEXT:       <string>Calling &apos;malloc_wrapper_ret&apos;</string>
2544 // CHECK-NEXT:      </dict>
2545 // CHECK-NEXT:      <dict>
2546 // CHECK-NEXT:       <key>kind</key><string>event</string>
2547 // CHECK-NEXT:       <key>location</key>
2548 // CHECK-NEXT:       <dict>
2549 // CHECK-NEXT:        <key>line</key><integer>81</integer>
2550 // CHECK-NEXT:        <key>col</key><integer>1</integer>
2551 // CHECK-NEXT:        <key>file</key><integer>0</integer>
2552 // CHECK-NEXT:       </dict>
2553 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
2554 // CHECK-NEXT:       <key>extended_message</key>
2555 // CHECK-NEXT:       <string>Entered call from &apos;use_ret&apos;</string>
2556 // CHECK-NEXT:       <key>message</key>
2557 // CHECK-NEXT:       <string>Entered call from &apos;use_ret&apos;</string>
2558 // CHECK-NEXT:      </dict>
2559 // CHECK-NEXT:      <dict>
2560 // CHECK-NEXT:       <key>kind</key><string>control</string>
2561 // CHECK-NEXT:       <key>edges</key>
2562 // CHECK-NEXT:        <array>
2563 // CHECK-NEXT:         <dict>
2564 // CHECK-NEXT:          <key>start</key>
2565 // CHECK-NEXT:           <array>
2566 // CHECK-NEXT:            <dict>
2567 // CHECK-NEXT:             <key>line</key><integer>81</integer>
2568 // CHECK-NEXT:             <key>col</key><integer>1</integer>
2569 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2570 // CHECK-NEXT:            </dict>
2571 // CHECK-NEXT:            <dict>
2572 // CHECK-NEXT:             <key>line</key><integer>81</integer>
2573 // CHECK-NEXT:             <key>col</key><integer>6</integer>
2574 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2575 // CHECK-NEXT:            </dict>
2576 // CHECK-NEXT:           </array>
2577 // CHECK-NEXT:          <key>end</key>
2578 // CHECK-NEXT:           <array>
2579 // CHECK-NEXT:            <dict>
2580 // CHECK-NEXT:             <key>line</key><integer>82</integer>
2581 // CHECK-NEXT:             <key>col</key><integer>5</integer>
2582 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2583 // CHECK-NEXT:            </dict>
2584 // CHECK-NEXT:            <dict>
2585 // CHECK-NEXT:             <key>line</key><integer>82</integer>
2586 // CHECK-NEXT:             <key>col</key><integer>10</integer>
2587 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2588 // CHECK-NEXT:            </dict>
2589 // CHECK-NEXT:           </array>
2590 // CHECK-NEXT:         </dict>
2591 // CHECK-NEXT:        </array>
2592 // CHECK-NEXT:      </dict>
2593 // CHECK-NEXT:      <dict>
2594 // CHECK-NEXT:       <key>kind</key><string>control</string>
2595 // CHECK-NEXT:       <key>edges</key>
2596 // CHECK-NEXT:        <array>
2597 // CHECK-NEXT:         <dict>
2598 // CHECK-NEXT:          <key>start</key>
2599 // CHECK-NEXT:           <array>
2600 // CHECK-NEXT:            <dict>
2601 // CHECK-NEXT:             <key>line</key><integer>82</integer>
2602 // CHECK-NEXT:             <key>col</key><integer>5</integer>
2603 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2604 // CHECK-NEXT:            </dict>
2605 // CHECK-NEXT:            <dict>
2606 // CHECK-NEXT:             <key>line</key><integer>82</integer>
2607 // CHECK-NEXT:             <key>col</key><integer>10</integer>
2608 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2609 // CHECK-NEXT:            </dict>
2610 // CHECK-NEXT:           </array>
2611 // CHECK-NEXT:          <key>end</key>
2612 // CHECK-NEXT:           <array>
2613 // CHECK-NEXT:            <dict>
2614 // CHECK-NEXT:             <key>line</key><integer>82</integer>
2615 // CHECK-NEXT:             <key>col</key><integer>19</integer>
2616 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2617 // CHECK-NEXT:            </dict>
2618 // CHECK-NEXT:            <dict>
2619 // CHECK-NEXT:             <key>line</key><integer>82</integer>
2620 // CHECK-NEXT:             <key>col</key><integer>24</integer>
2621 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2622 // CHECK-NEXT:            </dict>
2623 // CHECK-NEXT:           </array>
2624 // CHECK-NEXT:         </dict>
2625 // CHECK-NEXT:        </array>
2626 // CHECK-NEXT:      </dict>
2627 // CHECK-NEXT:      <dict>
2628 // CHECK-NEXT:       <key>kind</key><string>event</string>
2629 // CHECK-NEXT:       <key>location</key>
2630 // CHECK-NEXT:       <dict>
2631 // CHECK-NEXT:        <key>line</key><integer>82</integer>
2632 // CHECK-NEXT:        <key>col</key><integer>19</integer>
2633 // CHECK-NEXT:        <key>file</key><integer>0</integer>
2634 // CHECK-NEXT:       </dict>
2635 // CHECK-NEXT:       <key>ranges</key>
2636 // CHECK-NEXT:       <array>
2637 // CHECK-NEXT:         <array>
2638 // CHECK-NEXT:          <dict>
2639 // CHECK-NEXT:           <key>line</key><integer>82</integer>
2640 // CHECK-NEXT:           <key>col</key><integer>19</integer>
2641 // CHECK-NEXT:           <key>file</key><integer>0</integer>
2642 // CHECK-NEXT:          </dict>
2643 // CHECK-NEXT:          <dict>
2644 // CHECK-NEXT:           <key>line</key><integer>82</integer>
2645 // CHECK-NEXT:           <key>col</key><integer>28</integer>
2646 // CHECK-NEXT:           <key>file</key><integer>0</integer>
2647 // CHECK-NEXT:          </dict>
2648 // CHECK-NEXT:         </array>
2649 // CHECK-NEXT:       </array>
2650 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
2651 // CHECK-NEXT:       <key>extended_message</key>
2652 // CHECK-NEXT:       <string>Memory is allocated</string>
2653 // CHECK-NEXT:       <key>message</key>
2654 // CHECK-NEXT:       <string>Memory is allocated</string>
2655 // CHECK-NEXT:      </dict>
2656 // CHECK-NEXT:      <dict>
2657 // CHECK-NEXT:       <key>kind</key><string>event</string>
2658 // CHECK-NEXT:       <key>location</key>
2659 // CHECK-NEXT:       <dict>
2660 // CHECK-NEXT:        <key>line</key><integer>86</integer>
2661 // CHECK-NEXT:        <key>col</key><integer>9</integer>
2662 // CHECK-NEXT:        <key>file</key><integer>0</integer>
2663 // CHECK-NEXT:       </dict>
2664 // CHECK-NEXT:       <key>ranges</key>
2665 // CHECK-NEXT:       <array>
2666 // CHECK-NEXT:         <array>
2667 // CHECK-NEXT:          <dict>
2668 // CHECK-NEXT:           <key>line</key><integer>86</integer>
2669 // CHECK-NEXT:           <key>col</key><integer>9</integer>
2670 // CHECK-NEXT:           <key>file</key><integer>0</integer>
2671 // CHECK-NEXT:          </dict>
2672 // CHECK-NEXT:          <dict>
2673 // CHECK-NEXT:           <key>line</key><integer>86</integer>
2674 // CHECK-NEXT:           <key>col</key><integer>28</integer>
2675 // CHECK-NEXT:           <key>file</key><integer>0</integer>
2676 // CHECK-NEXT:          </dict>
2677 // CHECK-NEXT:         </array>
2678 // CHECK-NEXT:       </array>
2679 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
2680 // CHECK-NEXT:       <key>extended_message</key>
2681 // CHECK-NEXT:       <string>Returned allocated memory</string>
2682 // CHECK-NEXT:       <key>message</key>
2683 // CHECK-NEXT:       <string>Returned allocated memory</string>
2684 // CHECK-NEXT:      </dict>
2685 // CHECK-NEXT:      <dict>
2686 // CHECK-NEXT:       <key>kind</key><string>control</string>
2687 // CHECK-NEXT:       <key>edges</key>
2688 // CHECK-NEXT:        <array>
2689 // CHECK-NEXT:         <dict>
2690 // CHECK-NEXT:          <key>start</key>
2691 // CHECK-NEXT:           <array>
2692 // CHECK-NEXT:            <dict>
2693 // CHECK-NEXT:             <key>line</key><integer>86</integer>
2694 // CHECK-NEXT:             <key>col</key><integer>9</integer>
2695 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2696 // CHECK-NEXT:            </dict>
2697 // CHECK-NEXT:            <dict>
2698 // CHECK-NEXT:             <key>line</key><integer>86</integer>
2699 // CHECK-NEXT:             <key>col</key><integer>26</integer>
2700 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2701 // CHECK-NEXT:            </dict>
2702 // CHECK-NEXT:           </array>
2703 // CHECK-NEXT:          <key>end</key>
2704 // CHECK-NEXT:           <array>
2705 // CHECK-NEXT:            <dict>
2706 // CHECK-NEXT:             <key>line</key><integer>87</integer>
2707 // CHECK-NEXT:             <key>col</key><integer>1</integer>
2708 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2709 // CHECK-NEXT:            </dict>
2710 // CHECK-NEXT:            <dict>
2711 // CHECK-NEXT:             <key>line</key><integer>87</integer>
2712 // CHECK-NEXT:             <key>col</key><integer>1</integer>
2713 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2714 // CHECK-NEXT:            </dict>
2715 // CHECK-NEXT:           </array>
2716 // CHECK-NEXT:         </dict>
2717 // CHECK-NEXT:        </array>
2718 // CHECK-NEXT:      </dict>
2719 // CHECK-NEXT:      <dict>
2720 // CHECK-NEXT:       <key>kind</key><string>event</string>
2721 // CHECK-NEXT:       <key>location</key>
2722 // CHECK-NEXT:       <dict>
2723 // CHECK-NEXT:        <key>line</key><integer>87</integer>
2724 // CHECK-NEXT:        <key>col</key><integer>1</integer>
2725 // CHECK-NEXT:        <key>file</key><integer>0</integer>
2726 // CHECK-NEXT:       </dict>
2727 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
2728 // CHECK-NEXT:       <key>extended_message</key>
2729 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;v&apos;</string>
2730 // CHECK-NEXT:       <key>message</key>
2731 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;v&apos;</string>
2732 // CHECK-NEXT:      </dict>
2733 // CHECK-NEXT:     </array>
2734 // CHECK-NEXT:     <key>description</key><string>Potential leak of memory pointed to by &apos;v&apos;</string>
2735 // CHECK-NEXT:     <key>category</key><string>Memory Error</string>
2736 // CHECK-NEXT:     <key>type</key><string>Memory leak</string>
2737 // CHECK-NEXT:     <key>check_name</key><string>unix.Malloc</string>
2738 // CHECK-NEXT:     <!-- This hash is experimental and going to change! -->
2739 // CHECK-NEXT:     <key>issue_hash_content_of_line_in_context</key><string>45181c7fc1df81a732346f1ed1b3f238</string>
2740 // CHECK-NEXT:    <key>issue_context_kind</key><string>function</string>
2741 // CHECK-NEXT:    <key>issue_context</key><string>use_ret</string>
2742 // CHECK-NEXT:    <key>issue_hash_function_offset</key><string>2</string>
2743 // CHECK-NEXT:    <key>location</key>
2744 // CHECK-NEXT:    <dict>
2745 // CHECK-NEXT:     <key>line</key><integer>87</integer>
2746 // CHECK-NEXT:     <key>col</key><integer>1</integer>
2747 // CHECK-NEXT:     <key>file</key><integer>0</integer>
2748 // CHECK-NEXT:    </dict>
2749 // CHECK-NEXT:    </dict>
2750 // CHECK-NEXT:    <dict>
2751 // CHECK-NEXT:     <key>path</key>
2752 // CHECK-NEXT:     <array>
2753 // CHECK-NEXT:      <dict>
2754 // CHECK-NEXT:       <key>kind</key><string>control</string>
2755 // CHECK-NEXT:       <key>edges</key>
2756 // CHECK-NEXT:        <array>
2757 // CHECK-NEXT:         <dict>
2758 // CHECK-NEXT:          <key>start</key>
2759 // CHECK-NEXT:           <array>
2760 // CHECK-NEXT:            <dict>
2761 // CHECK-NEXT:             <key>line</key><integer>97</integer>
2762 // CHECK-NEXT:             <key>col</key><integer>3</integer>
2763 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2764 // CHECK-NEXT:            </dict>
2765 // CHECK-NEXT:            <dict>
2766 // CHECK-NEXT:             <key>line</key><integer>97</integer>
2767 // CHECK-NEXT:             <key>col</key><integer>6</integer>
2768 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2769 // CHECK-NEXT:            </dict>
2770 // CHECK-NEXT:           </array>
2771 // CHECK-NEXT:          <key>end</key>
2772 // CHECK-NEXT:           <array>
2773 // CHECK-NEXT:            <dict>
2774 // CHECK-NEXT:             <key>line</key><integer>99</integer>
2775 // CHECK-NEXT:             <key>col</key><integer>3</integer>
2776 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2777 // CHECK-NEXT:            </dict>
2778 // CHECK-NEXT:            <dict>
2779 // CHECK-NEXT:             <key>line</key><integer>99</integer>
2780 // CHECK-NEXT:             <key>col</key><integer>5</integer>
2781 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2782 // CHECK-NEXT:            </dict>
2783 // CHECK-NEXT:           </array>
2784 // CHECK-NEXT:         </dict>
2785 // CHECK-NEXT:        </array>
2786 // CHECK-NEXT:      </dict>
2787 // CHECK-NEXT:      <dict>
2788 // CHECK-NEXT:       <key>kind</key><string>control</string>
2789 // CHECK-NEXT:       <key>edges</key>
2790 // CHECK-NEXT:        <array>
2791 // CHECK-NEXT:         <dict>
2792 // CHECK-NEXT:          <key>start</key>
2793 // CHECK-NEXT:           <array>
2794 // CHECK-NEXT:            <dict>
2795 // CHECK-NEXT:             <key>line</key><integer>99</integer>
2796 // CHECK-NEXT:             <key>col</key><integer>3</integer>
2797 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2798 // CHECK-NEXT:            </dict>
2799 // CHECK-NEXT:            <dict>
2800 // CHECK-NEXT:             <key>line</key><integer>99</integer>
2801 // CHECK-NEXT:             <key>col</key><integer>5</integer>
2802 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2803 // CHECK-NEXT:            </dict>
2804 // CHECK-NEXT:           </array>
2805 // CHECK-NEXT:          <key>end</key>
2806 // CHECK-NEXT:           <array>
2807 // CHECK-NEXT:            <dict>
2808 // CHECK-NEXT:             <key>line</key><integer>99</integer>
2809 // CHECK-NEXT:             <key>col</key><integer>12</integer>
2810 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2811 // CHECK-NEXT:            </dict>
2812 // CHECK-NEXT:            <dict>
2813 // CHECK-NEXT:             <key>line</key><integer>99</integer>
2814 // CHECK-NEXT:             <key>col</key><integer>17</integer>
2815 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2816 // CHECK-NEXT:            </dict>
2817 // CHECK-NEXT:           </array>
2818 // CHECK-NEXT:         </dict>
2819 // CHECK-NEXT:        </array>
2820 // CHECK-NEXT:      </dict>
2821 // CHECK-NEXT:      <dict>
2822 // CHECK-NEXT:       <key>kind</key><string>event</string>
2823 // CHECK-NEXT:       <key>location</key>
2824 // CHECK-NEXT:       <dict>
2825 // CHECK-NEXT:        <key>line</key><integer>99</integer>
2826 // CHECK-NEXT:        <key>col</key><integer>12</integer>
2827 // CHECK-NEXT:        <key>file</key><integer>0</integer>
2828 // CHECK-NEXT:       </dict>
2829 // CHECK-NEXT:       <key>ranges</key>
2830 // CHECK-NEXT:       <array>
2831 // CHECK-NEXT:         <array>
2832 // CHECK-NEXT:          <dict>
2833 // CHECK-NEXT:           <key>line</key><integer>99</integer>
2834 // CHECK-NEXT:           <key>col</key><integer>12</integer>
2835 // CHECK-NEXT:           <key>file</key><integer>0</integer>
2836 // CHECK-NEXT:          </dict>
2837 // CHECK-NEXT:          <dict>
2838 // CHECK-NEXT:           <key>line</key><integer>99</integer>
2839 // CHECK-NEXT:           <key>col</key><integer>30</integer>
2840 // CHECK-NEXT:           <key>file</key><integer>0</integer>
2841 // CHECK-NEXT:          </dict>
2842 // CHECK-NEXT:         </array>
2843 // CHECK-NEXT:       </array>
2844 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
2845 // CHECK-NEXT:       <key>extended_message</key>
2846 // CHECK-NEXT:       <string>Memory is allocated</string>
2847 // CHECK-NEXT:       <key>message</key>
2848 // CHECK-NEXT:       <string>Memory is allocated</string>
2849 // CHECK-NEXT:      </dict>
2850 // CHECK-NEXT:      <dict>
2851 // CHECK-NEXT:       <key>kind</key><string>control</string>
2852 // CHECK-NEXT:       <key>edges</key>
2853 // CHECK-NEXT:        <array>
2854 // CHECK-NEXT:         <dict>
2855 // CHECK-NEXT:          <key>start</key>
2856 // CHECK-NEXT:           <array>
2857 // CHECK-NEXT:            <dict>
2858 // CHECK-NEXT:             <key>line</key><integer>99</integer>
2859 // CHECK-NEXT:             <key>col</key><integer>12</integer>
2860 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2861 // CHECK-NEXT:            </dict>
2862 // CHECK-NEXT:            <dict>
2863 // CHECK-NEXT:             <key>line</key><integer>99</integer>
2864 // CHECK-NEXT:             <key>col</key><integer>17</integer>
2865 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2866 // CHECK-NEXT:            </dict>
2867 // CHECK-NEXT:           </array>
2868 // CHECK-NEXT:          <key>end</key>
2869 // CHECK-NEXT:           <array>
2870 // CHECK-NEXT:            <dict>
2871 // CHECK-NEXT:             <key>line</key><integer>100</integer>
2872 // CHECK-NEXT:             <key>col</key><integer>3</integer>
2873 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2874 // CHECK-NEXT:            </dict>
2875 // CHECK-NEXT:            <dict>
2876 // CHECK-NEXT:             <key>line</key><integer>100</integer>
2877 // CHECK-NEXT:             <key>col</key><integer>20</integer>
2878 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2879 // CHECK-NEXT:            </dict>
2880 // CHECK-NEXT:           </array>
2881 // CHECK-NEXT:         </dict>
2882 // CHECK-NEXT:        </array>
2883 // CHECK-NEXT:      </dict>
2884 // CHECK-NEXT:      <dict>
2885 // CHECK-NEXT:       <key>kind</key><string>event</string>
2886 // CHECK-NEXT:       <key>location</key>
2887 // CHECK-NEXT:       <dict>
2888 // CHECK-NEXT:        <key>line</key><integer>100</integer>
2889 // CHECK-NEXT:        <key>col</key><integer>3</integer>
2890 // CHECK-NEXT:        <key>file</key><integer>0</integer>
2891 // CHECK-NEXT:       </dict>
2892 // CHECK-NEXT:       <key>ranges</key>
2893 // CHECK-NEXT:       <array>
2894 // CHECK-NEXT:         <array>
2895 // CHECK-NEXT:          <dict>
2896 // CHECK-NEXT:           <key>line</key><integer>100</integer>
2897 // CHECK-NEXT:           <key>col</key><integer>3</integer>
2898 // CHECK-NEXT:           <key>file</key><integer>0</integer>
2899 // CHECK-NEXT:          </dict>
2900 // CHECK-NEXT:          <dict>
2901 // CHECK-NEXT:           <key>line</key><integer>100</integer>
2902 // CHECK-NEXT:           <key>col</key><integer>35</integer>
2903 // CHECK-NEXT:           <key>file</key><integer>0</integer>
2904 // CHECK-NEXT:          </dict>
2905 // CHECK-NEXT:         </array>
2906 // CHECK-NEXT:       </array>
2907 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
2908 // CHECK-NEXT:       <key>extended_message</key>
2909 // CHECK-NEXT:       <string>Calling &apos;myfree_takingblock&apos;</string>
2910 // CHECK-NEXT:       <key>message</key>
2911 // CHECK-NEXT:       <string>Calling &apos;myfree_takingblock&apos;</string>
2912 // CHECK-NEXT:      </dict>
2913 // CHECK-NEXT:      <dict>
2914 // CHECK-NEXT:       <key>kind</key><string>event</string>
2915 // CHECK-NEXT:       <key>location</key>
2916 // CHECK-NEXT:       <dict>
2917 // CHECK-NEXT:        <key>line</key><integer>92</integer>
2918 // CHECK-NEXT:        <key>col</key><integer>1</integer>
2919 // CHECK-NEXT:        <key>file</key><integer>0</integer>
2920 // CHECK-NEXT:       </dict>
2921 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
2922 // CHECK-NEXT:       <key>extended_message</key>
2923 // CHECK-NEXT:       <string>Entered call from &apos;call_myfree_takingblock&apos;</string>
2924 // CHECK-NEXT:       <key>message</key>
2925 // CHECK-NEXT:       <string>Entered call from &apos;call_myfree_takingblock&apos;</string>
2926 // CHECK-NEXT:      </dict>
2927 // CHECK-NEXT:      <dict>
2928 // CHECK-NEXT:       <key>kind</key><string>control</string>
2929 // CHECK-NEXT:       <key>edges</key>
2930 // CHECK-NEXT:        <array>
2931 // CHECK-NEXT:         <dict>
2932 // CHECK-NEXT:          <key>start</key>
2933 // CHECK-NEXT:           <array>
2934 // CHECK-NEXT:            <dict>
2935 // CHECK-NEXT:             <key>line</key><integer>92</integer>
2936 // CHECK-NEXT:             <key>col</key><integer>1</integer>
2937 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2938 // CHECK-NEXT:            </dict>
2939 // CHECK-NEXT:            <dict>
2940 // CHECK-NEXT:             <key>line</key><integer>92</integer>
2941 // CHECK-NEXT:             <key>col</key><integer>4</integer>
2942 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2943 // CHECK-NEXT:            </dict>
2944 // CHECK-NEXT:           </array>
2945 // CHECK-NEXT:          <key>end</key>
2946 // CHECK-NEXT:           <array>
2947 // CHECK-NEXT:            <dict>
2948 // CHECK-NEXT:             <key>line</key><integer>93</integer>
2949 // CHECK-NEXT:             <key>col</key><integer>3</integer>
2950 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2951 // CHECK-NEXT:            </dict>
2952 // CHECK-NEXT:            <dict>
2953 // CHECK-NEXT:             <key>line</key><integer>93</integer>
2954 // CHECK-NEXT:             <key>col</key><integer>6</integer>
2955 // CHECK-NEXT:             <key>file</key><integer>0</integer>
2956 // CHECK-NEXT:            </dict>
2957 // CHECK-NEXT:           </array>
2958 // CHECK-NEXT:         </dict>
2959 // CHECK-NEXT:        </array>
2960 // CHECK-NEXT:      </dict>
2961 // CHECK-NEXT:      <dict>
2962 // CHECK-NEXT:       <key>kind</key><string>event</string>
2963 // CHECK-NEXT:       <key>location</key>
2964 // CHECK-NEXT:       <dict>
2965 // CHECK-NEXT:        <key>line</key><integer>93</integer>
2966 // CHECK-NEXT:        <key>col</key><integer>3</integer>
2967 // CHECK-NEXT:        <key>file</key><integer>0</integer>
2968 // CHECK-NEXT:       </dict>
2969 // CHECK-NEXT:       <key>ranges</key>
2970 // CHECK-NEXT:       <array>
2971 // CHECK-NEXT:         <array>
2972 // CHECK-NEXT:          <dict>
2973 // CHECK-NEXT:           <key>line</key><integer>93</integer>
2974 // CHECK-NEXT:           <key>col</key><integer>3</integer>
2975 // CHECK-NEXT:           <key>file</key><integer>0</integer>
2976 // CHECK-NEXT:          </dict>
2977 // CHECK-NEXT:          <dict>
2978 // CHECK-NEXT:           <key>line</key><integer>93</integer>
2979 // CHECK-NEXT:           <key>col</key><integer>9</integer>
2980 // CHECK-NEXT:           <key>file</key><integer>0</integer>
2981 // CHECK-NEXT:          </dict>
2982 // CHECK-NEXT:         </array>
2983 // CHECK-NEXT:       </array>
2984 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
2985 // CHECK-NEXT:       <key>extended_message</key>
2986 // CHECK-NEXT:       <string>Memory is released</string>
2987 // CHECK-NEXT:       <key>message</key>
2988 // CHECK-NEXT:       <string>Memory is released</string>
2989 // CHECK-NEXT:      </dict>
2990 // CHECK-NEXT:      <dict>
2991 // CHECK-NEXT:       <key>kind</key><string>event</string>
2992 // CHECK-NEXT:       <key>location</key>
2993 // CHECK-NEXT:       <dict>
2994 // CHECK-NEXT:        <key>line</key><integer>100</integer>
2995 // CHECK-NEXT:        <key>col</key><integer>3</integer>
2996 // CHECK-NEXT:        <key>file</key><integer>0</integer>
2997 // CHECK-NEXT:       </dict>
2998 // CHECK-NEXT:       <key>ranges</key>
2999 // CHECK-NEXT:       <array>
3000 // CHECK-NEXT:         <array>
3001 // CHECK-NEXT:          <dict>
3002 // CHECK-NEXT:           <key>line</key><integer>100</integer>
3003 // CHECK-NEXT:           <key>col</key><integer>3</integer>
3004 // CHECK-NEXT:           <key>file</key><integer>0</integer>
3005 // CHECK-NEXT:          </dict>
3006 // CHECK-NEXT:          <dict>
3007 // CHECK-NEXT:           <key>line</key><integer>100</integer>
3008 // CHECK-NEXT:           <key>col</key><integer>35</integer>
3009 // CHECK-NEXT:           <key>file</key><integer>0</integer>
3010 // CHECK-NEXT:          </dict>
3011 // CHECK-NEXT:         </array>
3012 // CHECK-NEXT:       </array>
3013 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
3014 // CHECK-NEXT:       <key>extended_message</key>
3015 // CHECK-NEXT:       <string>Returning; memory was released via 2nd parameter</string>
3016 // CHECK-NEXT:       <key>message</key>
3017 // CHECK-NEXT:       <string>Returning; memory was released via 2nd parameter</string>
3018 // CHECK-NEXT:      </dict>
3019 // CHECK-NEXT:      <dict>
3020 // CHECK-NEXT:       <key>kind</key><string>control</string>
3021 // CHECK-NEXT:       <key>edges</key>
3022 // CHECK-NEXT:        <array>
3023 // CHECK-NEXT:         <dict>
3024 // CHECK-NEXT:          <key>start</key>
3025 // CHECK-NEXT:           <array>
3026 // CHECK-NEXT:            <dict>
3027 // CHECK-NEXT:             <key>line</key><integer>100</integer>
3028 // CHECK-NEXT:             <key>col</key><integer>3</integer>
3029 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3030 // CHECK-NEXT:            </dict>
3031 // CHECK-NEXT:            <dict>
3032 // CHECK-NEXT:             <key>line</key><integer>100</integer>
3033 // CHECK-NEXT:             <key>col</key><integer>20</integer>
3034 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3035 // CHECK-NEXT:            </dict>
3036 // CHECK-NEXT:           </array>
3037 // CHECK-NEXT:          <key>end</key>
3038 // CHECK-NEXT:           <array>
3039 // CHECK-NEXT:            <dict>
3040 // CHECK-NEXT:             <key>line</key><integer>101</integer>
3041 // CHECK-NEXT:             <key>col</key><integer>6</integer>
3042 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3043 // CHECK-NEXT:            </dict>
3044 // CHECK-NEXT:            <dict>
3045 // CHECK-NEXT:             <key>line</key><integer>101</integer>
3046 // CHECK-NEXT:             <key>col</key><integer>6</integer>
3047 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3048 // CHECK-NEXT:            </dict>
3049 // CHECK-NEXT:           </array>
3050 // CHECK-NEXT:         </dict>
3051 // CHECK-NEXT:        </array>
3052 // CHECK-NEXT:      </dict>
3053 // CHECK-NEXT:      <dict>
3054 // CHECK-NEXT:       <key>kind</key><string>event</string>
3055 // CHECK-NEXT:       <key>location</key>
3056 // CHECK-NEXT:       <dict>
3057 // CHECK-NEXT:        <key>line</key><integer>101</integer>
3058 // CHECK-NEXT:        <key>col</key><integer>6</integer>
3059 // CHECK-NEXT:        <key>file</key><integer>0</integer>
3060 // CHECK-NEXT:       </dict>
3061 // CHECK-NEXT:       <key>ranges</key>
3062 // CHECK-NEXT:       <array>
3063 // CHECK-NEXT:         <array>
3064 // CHECK-NEXT:          <dict>
3065 // CHECK-NEXT:           <key>line</key><integer>101</integer>
3066 // CHECK-NEXT:           <key>col</key><integer>3</integer>
3067 // CHECK-NEXT:           <key>file</key><integer>0</integer>
3068 // CHECK-NEXT:          </dict>
3069 // CHECK-NEXT:          <dict>
3070 // CHECK-NEXT:           <key>line</key><integer>101</integer>
3071 // CHECK-NEXT:           <key>col</key><integer>4</integer>
3072 // CHECK-NEXT:           <key>file</key><integer>0</integer>
3073 // CHECK-NEXT:          </dict>
3074 // CHECK-NEXT:         </array>
3075 // CHECK-NEXT:       </array>
3076 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
3077 // CHECK-NEXT:       <key>extended_message</key>
3078 // CHECK-NEXT:       <string>Use of memory after it is freed</string>
3079 // CHECK-NEXT:       <key>message</key>
3080 // CHECK-NEXT:       <string>Use of memory after it is freed</string>
3081 // CHECK-NEXT:      </dict>
3082 // CHECK-NEXT:     </array>
3083 // CHECK-NEXT:     <key>description</key><string>Use of memory after it is freed</string>
3084 // CHECK-NEXT:     <key>category</key><string>Memory Error</string>
3085 // CHECK-NEXT:     <key>type</key><string>Use-after-free</string>
3086 // CHECK-NEXT:     <key>check_name</key><string>unix.Malloc</string>
3087 // CHECK-NEXT:     <!-- This hash is experimental and going to change! -->
3088 // CHECK-NEXT:     <key>issue_hash_content_of_line_in_context</key><string>652c97005df876a65d64ecd286d6030a</string>
3089 // CHECK-NEXT:    <key>issue_context_kind</key><string>function</string>
3090 // CHECK-NEXT:    <key>issue_context</key><string>call_myfree_takingblock</string>
3091 // CHECK-NEXT:    <key>issue_hash_function_offset</key><string>5</string>
3092 // CHECK-NEXT:    <key>location</key>
3093 // CHECK-NEXT:    <dict>
3094 // CHECK-NEXT:     <key>line</key><integer>101</integer>
3095 // CHECK-NEXT:     <key>col</key><integer>6</integer>
3096 // CHECK-NEXT:     <key>file</key><integer>0</integer>
3097 // CHECK-NEXT:    </dict>
3098 // CHECK-NEXT:    </dict>
3099 // CHECK-NEXT:    <dict>
3100 // CHECK-NEXT:     <key>path</key>
3101 // CHECK-NEXT:     <array>
3102 // CHECK-NEXT:      <dict>
3103 // CHECK-NEXT:       <key>kind</key><string>control</string>
3104 // CHECK-NEXT:       <key>edges</key>
3105 // CHECK-NEXT:        <array>
3106 // CHECK-NEXT:         <dict>
3107 // CHECK-NEXT:          <key>start</key>
3108 // CHECK-NEXT:           <array>
3109 // CHECK-NEXT:            <dict>
3110 // CHECK-NEXT:             <key>line</key><integer>106</integer>
3111 // CHECK-NEXT:             <key>col</key><integer>5</integer>
3112 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3113 // CHECK-NEXT:            </dict>
3114 // CHECK-NEXT:            <dict>
3115 // CHECK-NEXT:             <key>line</key><integer>106</integer>
3116 // CHECK-NEXT:             <key>col</key><integer>7</integer>
3117 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3118 // CHECK-NEXT:            </dict>
3119 // CHECK-NEXT:           </array>
3120 // CHECK-NEXT:          <key>end</key>
3121 // CHECK-NEXT:           <array>
3122 // CHECK-NEXT:            <dict>
3123 // CHECK-NEXT:             <key>line</key><integer>108</integer>
3124 // CHECK-NEXT:             <key>col</key><integer>5</integer>
3125 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3126 // CHECK-NEXT:            </dict>
3127 // CHECK-NEXT:            <dict>
3128 // CHECK-NEXT:             <key>line</key><integer>108</integer>
3129 // CHECK-NEXT:             <key>col</key><integer>5</integer>
3130 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3131 // CHECK-NEXT:            </dict>
3132 // CHECK-NEXT:           </array>
3133 // CHECK-NEXT:         </dict>
3134 // CHECK-NEXT:        </array>
3135 // CHECK-NEXT:      </dict>
3136 // CHECK-NEXT:      <dict>
3137 // CHECK-NEXT:       <key>kind</key><string>control</string>
3138 // CHECK-NEXT:       <key>edges</key>
3139 // CHECK-NEXT:        <array>
3140 // CHECK-NEXT:         <dict>
3141 // CHECK-NEXT:          <key>start</key>
3142 // CHECK-NEXT:           <array>
3143 // CHECK-NEXT:            <dict>
3144 // CHECK-NEXT:             <key>line</key><integer>108</integer>
3145 // CHECK-NEXT:             <key>col</key><integer>5</integer>
3146 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3147 // CHECK-NEXT:            </dict>
3148 // CHECK-NEXT:            <dict>
3149 // CHECK-NEXT:             <key>line</key><integer>108</integer>
3150 // CHECK-NEXT:             <key>col</key><integer>5</integer>
3151 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3152 // CHECK-NEXT:            </dict>
3153 // CHECK-NEXT:           </array>
3154 // CHECK-NEXT:          <key>end</key>
3155 // CHECK-NEXT:           <array>
3156 // CHECK-NEXT:            <dict>
3157 // CHECK-NEXT:             <key>line</key><integer>108</integer>
3158 // CHECK-NEXT:             <key>col</key><integer>15</integer>
3159 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3160 // CHECK-NEXT:            </dict>
3161 // CHECK-NEXT:            <dict>
3162 // CHECK-NEXT:             <key>line</key><integer>108</integer>
3163 // CHECK-NEXT:             <key>col</key><integer>20</integer>
3164 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3165 // CHECK-NEXT:            </dict>
3166 // CHECK-NEXT:           </array>
3167 // CHECK-NEXT:         </dict>
3168 // CHECK-NEXT:        </array>
3169 // CHECK-NEXT:      </dict>
3170 // CHECK-NEXT:      <dict>
3171 // CHECK-NEXT:       <key>kind</key><string>event</string>
3172 // CHECK-NEXT:       <key>location</key>
3173 // CHECK-NEXT:       <dict>
3174 // CHECK-NEXT:        <key>line</key><integer>108</integer>
3175 // CHECK-NEXT:        <key>col</key><integer>15</integer>
3176 // CHECK-NEXT:        <key>file</key><integer>0</integer>
3177 // CHECK-NEXT:       </dict>
3178 // CHECK-NEXT:       <key>ranges</key>
3179 // CHECK-NEXT:       <array>
3180 // CHECK-NEXT:         <array>
3181 // CHECK-NEXT:          <dict>
3182 // CHECK-NEXT:           <key>line</key><integer>108</integer>
3183 // CHECK-NEXT:           <key>col</key><integer>15</integer>
3184 // CHECK-NEXT:           <key>file</key><integer>0</integer>
3185 // CHECK-NEXT:          </dict>
3186 // CHECK-NEXT:          <dict>
3187 // CHECK-NEXT:           <key>line</key><integer>108</integer>
3188 // CHECK-NEXT:           <key>col</key><integer>24</integer>
3189 // CHECK-NEXT:           <key>file</key><integer>0</integer>
3190 // CHECK-NEXT:          </dict>
3191 // CHECK-NEXT:         </array>
3192 // CHECK-NEXT:       </array>
3193 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
3194 // CHECK-NEXT:       <key>extended_message</key>
3195 // CHECK-NEXT:       <string>Memory is allocated</string>
3196 // CHECK-NEXT:       <key>message</key>
3197 // CHECK-NEXT:       <string>Memory is allocated</string>
3198 // CHECK-NEXT:      </dict>
3199 // CHECK-NEXT:      <dict>
3200 // CHECK-NEXT:       <key>kind</key><string>control</string>
3201 // CHECK-NEXT:       <key>edges</key>
3202 // CHECK-NEXT:        <array>
3203 // CHECK-NEXT:         <dict>
3204 // CHECK-NEXT:          <key>start</key>
3205 // CHECK-NEXT:           <array>
3206 // CHECK-NEXT:            <dict>
3207 // CHECK-NEXT:             <key>line</key><integer>108</integer>
3208 // CHECK-NEXT:             <key>col</key><integer>15</integer>
3209 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3210 // CHECK-NEXT:            </dict>
3211 // CHECK-NEXT:            <dict>
3212 // CHECK-NEXT:             <key>line</key><integer>108</integer>
3213 // CHECK-NEXT:             <key>col</key><integer>20</integer>
3214 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3215 // CHECK-NEXT:            </dict>
3216 // CHECK-NEXT:           </array>
3217 // CHECK-NEXT:          <key>end</key>
3218 // CHECK-NEXT:           <array>
3219 // CHECK-NEXT:            <dict>
3220 // CHECK-NEXT:             <key>line</key><integer>113</integer>
3221 // CHECK-NEXT:             <key>col</key><integer>5</integer>
3222 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3223 // CHECK-NEXT:            </dict>
3224 // CHECK-NEXT:            <dict>
3225 // CHECK-NEXT:             <key>line</key><integer>113</integer>
3226 // CHECK-NEXT:             <key>col</key><integer>6</integer>
3227 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3228 // CHECK-NEXT:            </dict>
3229 // CHECK-NEXT:           </array>
3230 // CHECK-NEXT:         </dict>
3231 // CHECK-NEXT:        </array>
3232 // CHECK-NEXT:      </dict>
3233 // CHECK-NEXT:      <dict>
3234 // CHECK-NEXT:       <key>kind</key><string>event</string>
3235 // CHECK-NEXT:       <key>location</key>
3236 // CHECK-NEXT:       <dict>
3237 // CHECK-NEXT:        <key>line</key><integer>113</integer>
3238 // CHECK-NEXT:        <key>col</key><integer>5</integer>
3239 // CHECK-NEXT:        <key>file</key><integer>0</integer>
3240 // CHECK-NEXT:       </dict>
3241 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
3242 // CHECK-NEXT:       <key>extended_message</key>
3243 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;m&apos;</string>
3244 // CHECK-NEXT:       <key>message</key>
3245 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;m&apos;</string>
3246 // CHECK-NEXT:      </dict>
3247 // CHECK-NEXT:     </array>
3248 // CHECK-NEXT:     <key>description</key><string>Potential leak of memory pointed to by &apos;m&apos;</string>
3249 // CHECK-NEXT:     <key>category</key><string>Memory Error</string>
3250 // CHECK-NEXT:     <key>type</key><string>Memory leak</string>
3251 // CHECK-NEXT:     <key>check_name</key><string>unix.Malloc</string>
3252 // CHECK-NEXT:     <!-- This hash is experimental and going to change! -->
3253 // CHECK-NEXT:     <key>issue_hash_content_of_line_in_context</key><string>d8483ccf1d5a1af1e8bcaac6905a18b3</string>
3254 // CHECK-NEXT:    <key>issue_context_kind</key><string>function</string>
3255 // CHECK-NEXT:    <key>issue_context</key><string>LeakedSymbol</string>
3256 // CHECK-NEXT:    <key>issue_hash_function_offset</key><string>3</string>
3257 // CHECK-NEXT:    <key>location</key>
3258 // CHECK-NEXT:    <dict>
3259 // CHECK-NEXT:     <key>line</key><integer>113</integer>
3260 // CHECK-NEXT:     <key>col</key><integer>5</integer>
3261 // CHECK-NEXT:     <key>file</key><integer>0</integer>
3262 // CHECK-NEXT:    </dict>
3263 // CHECK-NEXT:    </dict>
3264 // CHECK-NEXT:    <dict>
3265 // CHECK-NEXT:     <key>path</key>
3266 // CHECK-NEXT:     <array>
3267 // CHECK-NEXT:      <dict>
3268 // CHECK-NEXT:       <key>kind</key><string>event</string>
3269 // CHECK-NEXT:       <key>location</key>
3270 // CHECK-NEXT:       <dict>
3271 // CHECK-NEXT:        <key>line</key><integer>121</integer>
3272 // CHECK-NEXT:        <key>col</key><integer>5</integer>
3273 // CHECK-NEXT:        <key>file</key><integer>0</integer>
3274 // CHECK-NEXT:       </dict>
3275 // CHECK-NEXT:       <key>ranges</key>
3276 // CHECK-NEXT:       <array>
3277 // CHECK-NEXT:         <array>
3278 // CHECK-NEXT:          <dict>
3279 // CHECK-NEXT:           <key>line</key><integer>121</integer>
3280 // CHECK-NEXT:           <key>col</key><integer>5</integer>
3281 // CHECK-NEXT:           <key>file</key><integer>0</integer>
3282 // CHECK-NEXT:          </dict>
3283 // CHECK-NEXT:          <dict>
3284 // CHECK-NEXT:           <key>line</key><integer>121</integer>
3285 // CHECK-NEXT:           <key>col</key><integer>25</integer>
3286 // CHECK-NEXT:           <key>file</key><integer>0</integer>
3287 // CHECK-NEXT:          </dict>
3288 // CHECK-NEXT:         </array>
3289 // CHECK-NEXT:       </array>
3290 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
3291 // CHECK-NEXT:       <key>extended_message</key>
3292 // CHECK-NEXT:       <string>Calling &apos;function_with_leak1&apos;</string>
3293 // CHECK-NEXT:       <key>message</key>
3294 // CHECK-NEXT:       <string>Calling &apos;function_with_leak1&apos;</string>
3295 // CHECK-NEXT:      </dict>
3296 // CHECK-NEXT:      <dict>
3297 // CHECK-NEXT:       <key>kind</key><string>event</string>
3298 // CHECK-NEXT:       <key>location</key>
3299 // CHECK-NEXT:       <dict>
3300 // CHECK-NEXT:        <key>line</key><integer>117</integer>
3301 // CHECK-NEXT:        <key>col</key><integer>1</integer>
3302 // CHECK-NEXT:        <key>file</key><integer>0</integer>
3303 // CHECK-NEXT:       </dict>
3304 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
3305 // CHECK-NEXT:       <key>extended_message</key>
3306 // CHECK-NEXT:       <string>Entered call from &apos;use_function_with_leak1&apos;</string>
3307 // CHECK-NEXT:       <key>message</key>
3308 // CHECK-NEXT:       <string>Entered call from &apos;use_function_with_leak1&apos;</string>
3309 // CHECK-NEXT:      </dict>
3310 // CHECK-NEXT:      <dict>
3311 // CHECK-NEXT:       <key>kind</key><string>control</string>
3312 // CHECK-NEXT:       <key>edges</key>
3313 // CHECK-NEXT:        <array>
3314 // CHECK-NEXT:         <dict>
3315 // CHECK-NEXT:          <key>start</key>
3316 // CHECK-NEXT:           <array>
3317 // CHECK-NEXT:            <dict>
3318 // CHECK-NEXT:             <key>line</key><integer>117</integer>
3319 // CHECK-NEXT:             <key>col</key><integer>1</integer>
3320 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3321 // CHECK-NEXT:            </dict>
3322 // CHECK-NEXT:            <dict>
3323 // CHECK-NEXT:             <key>line</key><integer>117</integer>
3324 // CHECK-NEXT:             <key>col</key><integer>6</integer>
3325 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3326 // CHECK-NEXT:            </dict>
3327 // CHECK-NEXT:           </array>
3328 // CHECK-NEXT:          <key>end</key>
3329 // CHECK-NEXT:           <array>
3330 // CHECK-NEXT:            <dict>
3331 // CHECK-NEXT:             <key>line</key><integer>118</integer>
3332 // CHECK-NEXT:             <key>col</key><integer>5</integer>
3333 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3334 // CHECK-NEXT:            </dict>
3335 // CHECK-NEXT:            <dict>
3336 // CHECK-NEXT:             <key>line</key><integer>118</integer>
3337 // CHECK-NEXT:             <key>col</key><integer>8</integer>
3338 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3339 // CHECK-NEXT:            </dict>
3340 // CHECK-NEXT:           </array>
3341 // CHECK-NEXT:         </dict>
3342 // CHECK-NEXT:        </array>
3343 // CHECK-NEXT:      </dict>
3344 // CHECK-NEXT:      <dict>
3345 // CHECK-NEXT:       <key>kind</key><string>control</string>
3346 // CHECK-NEXT:       <key>edges</key>
3347 // CHECK-NEXT:        <array>
3348 // CHECK-NEXT:         <dict>
3349 // CHECK-NEXT:          <key>start</key>
3350 // CHECK-NEXT:           <array>
3351 // CHECK-NEXT:            <dict>
3352 // CHECK-NEXT:             <key>line</key><integer>118</integer>
3353 // CHECK-NEXT:             <key>col</key><integer>5</integer>
3354 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3355 // CHECK-NEXT:            </dict>
3356 // CHECK-NEXT:            <dict>
3357 // CHECK-NEXT:             <key>line</key><integer>118</integer>
3358 // CHECK-NEXT:             <key>col</key><integer>8</integer>
3359 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3360 // CHECK-NEXT:            </dict>
3361 // CHECK-NEXT:           </array>
3362 // CHECK-NEXT:          <key>end</key>
3363 // CHECK-NEXT:           <array>
3364 // CHECK-NEXT:            <dict>
3365 // CHECK-NEXT:             <key>line</key><integer>118</integer>
3366 // CHECK-NEXT:             <key>col</key><integer>22</integer>
3367 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3368 // CHECK-NEXT:            </dict>
3369 // CHECK-NEXT:            <dict>
3370 // CHECK-NEXT:             <key>line</key><integer>118</integer>
3371 // CHECK-NEXT:             <key>col</key><integer>27</integer>
3372 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3373 // CHECK-NEXT:            </dict>
3374 // CHECK-NEXT:           </array>
3375 // CHECK-NEXT:         </dict>
3376 // CHECK-NEXT:        </array>
3377 // CHECK-NEXT:      </dict>
3378 // CHECK-NEXT:      <dict>
3379 // CHECK-NEXT:       <key>kind</key><string>event</string>
3380 // CHECK-NEXT:       <key>location</key>
3381 // CHECK-NEXT:       <dict>
3382 // CHECK-NEXT:        <key>line</key><integer>118</integer>
3383 // CHECK-NEXT:        <key>col</key><integer>22</integer>
3384 // CHECK-NEXT:        <key>file</key><integer>0</integer>
3385 // CHECK-NEXT:       </dict>
3386 // CHECK-NEXT:       <key>ranges</key>
3387 // CHECK-NEXT:       <array>
3388 // CHECK-NEXT:         <array>
3389 // CHECK-NEXT:          <dict>
3390 // CHECK-NEXT:           <key>line</key><integer>118</integer>
3391 // CHECK-NEXT:           <key>col</key><integer>22</integer>
3392 // CHECK-NEXT:           <key>file</key><integer>0</integer>
3393 // CHECK-NEXT:          </dict>
3394 // CHECK-NEXT:          <dict>
3395 // CHECK-NEXT:           <key>line</key><integer>118</integer>
3396 // CHECK-NEXT:           <key>col</key><integer>31</integer>
3397 // CHECK-NEXT:           <key>file</key><integer>0</integer>
3398 // CHECK-NEXT:          </dict>
3399 // CHECK-NEXT:         </array>
3400 // CHECK-NEXT:       </array>
3401 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
3402 // CHECK-NEXT:       <key>extended_message</key>
3403 // CHECK-NEXT:       <string>Memory is allocated</string>
3404 // CHECK-NEXT:       <key>message</key>
3405 // CHECK-NEXT:       <string>Memory is allocated</string>
3406 // CHECK-NEXT:      </dict>
3407 // CHECK-NEXT:      <dict>
3408 // CHECK-NEXT:       <key>kind</key><string>control</string>
3409 // CHECK-NEXT:       <key>edges</key>
3410 // CHECK-NEXT:        <array>
3411 // CHECK-NEXT:         <dict>
3412 // CHECK-NEXT:          <key>start</key>
3413 // CHECK-NEXT:           <array>
3414 // CHECK-NEXT:            <dict>
3415 // CHECK-NEXT:             <key>line</key><integer>118</integer>
3416 // CHECK-NEXT:             <key>col</key><integer>22</integer>
3417 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3418 // CHECK-NEXT:            </dict>
3419 // CHECK-NEXT:            <dict>
3420 // CHECK-NEXT:             <key>line</key><integer>118</integer>
3421 // CHECK-NEXT:             <key>col</key><integer>27</integer>
3422 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3423 // CHECK-NEXT:            </dict>
3424 // CHECK-NEXT:           </array>
3425 // CHECK-NEXT:          <key>end</key>
3426 // CHECK-NEXT:           <array>
3427 // CHECK-NEXT:            <dict>
3428 // CHECK-NEXT:             <key>line</key><integer>119</integer>
3429 // CHECK-NEXT:             <key>col</key><integer>1</integer>
3430 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3431 // CHECK-NEXT:            </dict>
3432 // CHECK-NEXT:            <dict>
3433 // CHECK-NEXT:             <key>line</key><integer>119</integer>
3434 // CHECK-NEXT:             <key>col</key><integer>1</integer>
3435 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3436 // CHECK-NEXT:            </dict>
3437 // CHECK-NEXT:           </array>
3438 // CHECK-NEXT:         </dict>
3439 // CHECK-NEXT:        </array>
3440 // CHECK-NEXT:      </dict>
3441 // CHECK-NEXT:      <dict>
3442 // CHECK-NEXT:       <key>kind</key><string>event</string>
3443 // CHECK-NEXT:       <key>location</key>
3444 // CHECK-NEXT:       <dict>
3445 // CHECK-NEXT:        <key>line</key><integer>119</integer>
3446 // CHECK-NEXT:        <key>col</key><integer>1</integer>
3447 // CHECK-NEXT:        <key>file</key><integer>0</integer>
3448 // CHECK-NEXT:       </dict>
3449 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
3450 // CHECK-NEXT:       <key>extended_message</key>
3451 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;x&apos;</string>
3452 // CHECK-NEXT:       <key>message</key>
3453 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;x&apos;</string>
3454 // CHECK-NEXT:      </dict>
3455 // CHECK-NEXT:     </array>
3456 // CHECK-NEXT:     <key>description</key><string>Potential leak of memory pointed to by &apos;x&apos;</string>
3457 // CHECK-NEXT:     <key>category</key><string>Memory Error</string>
3458 // CHECK-NEXT:     <key>type</key><string>Memory leak</string>
3459 // CHECK-NEXT:     <key>check_name</key><string>unix.Malloc</string>
3460 // CHECK-NEXT:     <!-- This hash is experimental and going to change! -->
3461 // CHECK-NEXT:     <key>issue_hash_content_of_line_in_context</key><string>b07aebe89e4ba5ea104a9f957df9531b</string>
3462 // CHECK-NEXT:    <key>issue_context_kind</key><string>function</string>
3463 // CHECK-NEXT:    <key>issue_context</key><string>function_with_leak1</string>
3464 // CHECK-NEXT:    <key>issue_hash_function_offset</key><string>1</string>
3465 // CHECK-NEXT:    <key>location</key>
3466 // CHECK-NEXT:    <dict>
3467 // CHECK-NEXT:     <key>line</key><integer>119</integer>
3468 // CHECK-NEXT:     <key>col</key><integer>1</integer>
3469 // CHECK-NEXT:     <key>file</key><integer>0</integer>
3470 // CHECK-NEXT:    </dict>
3471 // CHECK-NEXT:    </dict>
3472 // CHECK-NEXT:    <dict>
3473 // CHECK-NEXT:     <key>path</key>
3474 // CHECK-NEXT:     <array>
3475 // CHECK-NEXT:      <dict>
3476 // CHECK-NEXT:       <key>kind</key><string>event</string>
3477 // CHECK-NEXT:       <key>location</key>
3478 // CHECK-NEXT:       <dict>
3479 // CHECK-NEXT:        <key>line</key><integer>130</integer>
3480 // CHECK-NEXT:        <key>col</key><integer>5</integer>
3481 // CHECK-NEXT:        <key>file</key><integer>0</integer>
3482 // CHECK-NEXT:       </dict>
3483 // CHECK-NEXT:       <key>ranges</key>
3484 // CHECK-NEXT:       <array>
3485 // CHECK-NEXT:         <array>
3486 // CHECK-NEXT:          <dict>
3487 // CHECK-NEXT:           <key>line</key><integer>130</integer>
3488 // CHECK-NEXT:           <key>col</key><integer>5</integer>
3489 // CHECK-NEXT:           <key>file</key><integer>0</integer>
3490 // CHECK-NEXT:          </dict>
3491 // CHECK-NEXT:          <dict>
3492 // CHECK-NEXT:           <key>line</key><integer>130</integer>
3493 // CHECK-NEXT:           <key>col</key><integer>25</integer>
3494 // CHECK-NEXT:           <key>file</key><integer>0</integer>
3495 // CHECK-NEXT:          </dict>
3496 // CHECK-NEXT:         </array>
3497 // CHECK-NEXT:       </array>
3498 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
3499 // CHECK-NEXT:       <key>extended_message</key>
3500 // CHECK-NEXT:       <string>Calling &apos;function_with_leak2&apos;</string>
3501 // CHECK-NEXT:       <key>message</key>
3502 // CHECK-NEXT:       <string>Calling &apos;function_with_leak2&apos;</string>
3503 // CHECK-NEXT:      </dict>
3504 // CHECK-NEXT:      <dict>
3505 // CHECK-NEXT:       <key>kind</key><string>event</string>
3506 // CHECK-NEXT:       <key>location</key>
3507 // CHECK-NEXT:       <dict>
3508 // CHECK-NEXT:        <key>line</key><integer>125</integer>
3509 // CHECK-NEXT:        <key>col</key><integer>1</integer>
3510 // CHECK-NEXT:        <key>file</key><integer>0</integer>
3511 // CHECK-NEXT:       </dict>
3512 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
3513 // CHECK-NEXT:       <key>extended_message</key>
3514 // CHECK-NEXT:       <string>Entered call from &apos;use_function_with_leak2&apos;</string>
3515 // CHECK-NEXT:       <key>message</key>
3516 // CHECK-NEXT:       <string>Entered call from &apos;use_function_with_leak2&apos;</string>
3517 // CHECK-NEXT:      </dict>
3518 // CHECK-NEXT:      <dict>
3519 // CHECK-NEXT:       <key>kind</key><string>control</string>
3520 // CHECK-NEXT:       <key>edges</key>
3521 // CHECK-NEXT:        <array>
3522 // CHECK-NEXT:         <dict>
3523 // CHECK-NEXT:          <key>start</key>
3524 // CHECK-NEXT:           <array>
3525 // CHECK-NEXT:            <dict>
3526 // CHECK-NEXT:             <key>line</key><integer>125</integer>
3527 // CHECK-NEXT:             <key>col</key><integer>1</integer>
3528 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3529 // CHECK-NEXT:            </dict>
3530 // CHECK-NEXT:            <dict>
3531 // CHECK-NEXT:             <key>line</key><integer>125</integer>
3532 // CHECK-NEXT:             <key>col</key><integer>6</integer>
3533 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3534 // CHECK-NEXT:            </dict>
3535 // CHECK-NEXT:           </array>
3536 // CHECK-NEXT:          <key>end</key>
3537 // CHECK-NEXT:           <array>
3538 // CHECK-NEXT:            <dict>
3539 // CHECK-NEXT:             <key>line</key><integer>126</integer>
3540 // CHECK-NEXT:             <key>col</key><integer>5</integer>
3541 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3542 // CHECK-NEXT:            </dict>
3543 // CHECK-NEXT:            <dict>
3544 // CHECK-NEXT:             <key>line</key><integer>126</integer>
3545 // CHECK-NEXT:             <key>col</key><integer>8</integer>
3546 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3547 // CHECK-NEXT:            </dict>
3548 // CHECK-NEXT:           </array>
3549 // CHECK-NEXT:         </dict>
3550 // CHECK-NEXT:        </array>
3551 // CHECK-NEXT:      </dict>
3552 // CHECK-NEXT:      <dict>
3553 // CHECK-NEXT:       <key>kind</key><string>control</string>
3554 // CHECK-NEXT:       <key>edges</key>
3555 // CHECK-NEXT:        <array>
3556 // CHECK-NEXT:         <dict>
3557 // CHECK-NEXT:          <key>start</key>
3558 // CHECK-NEXT:           <array>
3559 // CHECK-NEXT:            <dict>
3560 // CHECK-NEXT:             <key>line</key><integer>126</integer>
3561 // CHECK-NEXT:             <key>col</key><integer>5</integer>
3562 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3563 // CHECK-NEXT:            </dict>
3564 // CHECK-NEXT:            <dict>
3565 // CHECK-NEXT:             <key>line</key><integer>126</integer>
3566 // CHECK-NEXT:             <key>col</key><integer>8</integer>
3567 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3568 // CHECK-NEXT:            </dict>
3569 // CHECK-NEXT:           </array>
3570 // CHECK-NEXT:          <key>end</key>
3571 // CHECK-NEXT:           <array>
3572 // CHECK-NEXT:            <dict>
3573 // CHECK-NEXT:             <key>line</key><integer>126</integer>
3574 // CHECK-NEXT:             <key>col</key><integer>22</integer>
3575 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3576 // CHECK-NEXT:            </dict>
3577 // CHECK-NEXT:            <dict>
3578 // CHECK-NEXT:             <key>line</key><integer>126</integer>
3579 // CHECK-NEXT:             <key>col</key><integer>27</integer>
3580 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3581 // CHECK-NEXT:            </dict>
3582 // CHECK-NEXT:           </array>
3583 // CHECK-NEXT:         </dict>
3584 // CHECK-NEXT:        </array>
3585 // CHECK-NEXT:      </dict>
3586 // CHECK-NEXT:      <dict>
3587 // CHECK-NEXT:       <key>kind</key><string>event</string>
3588 // CHECK-NEXT:       <key>location</key>
3589 // CHECK-NEXT:       <dict>
3590 // CHECK-NEXT:        <key>line</key><integer>126</integer>
3591 // CHECK-NEXT:        <key>col</key><integer>22</integer>
3592 // CHECK-NEXT:        <key>file</key><integer>0</integer>
3593 // CHECK-NEXT:       </dict>
3594 // CHECK-NEXT:       <key>ranges</key>
3595 // CHECK-NEXT:       <array>
3596 // CHECK-NEXT:         <array>
3597 // CHECK-NEXT:          <dict>
3598 // CHECK-NEXT:           <key>line</key><integer>126</integer>
3599 // CHECK-NEXT:           <key>col</key><integer>22</integer>
3600 // CHECK-NEXT:           <key>file</key><integer>0</integer>
3601 // CHECK-NEXT:          </dict>
3602 // CHECK-NEXT:          <dict>
3603 // CHECK-NEXT:           <key>line</key><integer>126</integer>
3604 // CHECK-NEXT:           <key>col</key><integer>31</integer>
3605 // CHECK-NEXT:           <key>file</key><integer>0</integer>
3606 // CHECK-NEXT:          </dict>
3607 // CHECK-NEXT:         </array>
3608 // CHECK-NEXT:       </array>
3609 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
3610 // CHECK-NEXT:       <key>extended_message</key>
3611 // CHECK-NEXT:       <string>Memory is allocated</string>
3612 // CHECK-NEXT:       <key>message</key>
3613 // CHECK-NEXT:       <string>Memory is allocated</string>
3614 // CHECK-NEXT:      </dict>
3615 // CHECK-NEXT:      <dict>
3616 // CHECK-NEXT:       <key>kind</key><string>control</string>
3617 // CHECK-NEXT:       <key>edges</key>
3618 // CHECK-NEXT:        <array>
3619 // CHECK-NEXT:         <dict>
3620 // CHECK-NEXT:          <key>start</key>
3621 // CHECK-NEXT:           <array>
3622 // CHECK-NEXT:            <dict>
3623 // CHECK-NEXT:             <key>line</key><integer>126</integer>
3624 // CHECK-NEXT:             <key>col</key><integer>22</integer>
3625 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3626 // CHECK-NEXT:            </dict>
3627 // CHECK-NEXT:            <dict>
3628 // CHECK-NEXT:             <key>line</key><integer>126</integer>
3629 // CHECK-NEXT:             <key>col</key><integer>27</integer>
3630 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3631 // CHECK-NEXT:            </dict>
3632 // CHECK-NEXT:           </array>
3633 // CHECK-NEXT:          <key>end</key>
3634 // CHECK-NEXT:           <array>
3635 // CHECK-NEXT:            <dict>
3636 // CHECK-NEXT:             <key>line</key><integer>127</integer>
3637 // CHECK-NEXT:             <key>col</key><integer>5</integer>
3638 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3639 // CHECK-NEXT:            </dict>
3640 // CHECK-NEXT:            <dict>
3641 // CHECK-NEXT:             <key>line</key><integer>127</integer>
3642 // CHECK-NEXT:             <key>col</key><integer>7</integer>
3643 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3644 // CHECK-NEXT:            </dict>
3645 // CHECK-NEXT:           </array>
3646 // CHECK-NEXT:         </dict>
3647 // CHECK-NEXT:        </array>
3648 // CHECK-NEXT:      </dict>
3649 // CHECK-NEXT:      <dict>
3650 // CHECK-NEXT:       <key>kind</key><string>event</string>
3651 // CHECK-NEXT:       <key>location</key>
3652 // CHECK-NEXT:       <dict>
3653 // CHECK-NEXT:        <key>line</key><integer>127</integer>
3654 // CHECK-NEXT:        <key>col</key><integer>5</integer>
3655 // CHECK-NEXT:        <key>file</key><integer>0</integer>
3656 // CHECK-NEXT:       </dict>
3657 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
3658 // CHECK-NEXT:       <key>extended_message</key>
3659 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;x&apos;</string>
3660 // CHECK-NEXT:       <key>message</key>
3661 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;x&apos;</string>
3662 // CHECK-NEXT:      </dict>
3663 // CHECK-NEXT:     </array>
3664 // CHECK-NEXT:     <key>description</key><string>Potential leak of memory pointed to by &apos;x&apos;</string>
3665 // CHECK-NEXT:     <key>category</key><string>Memory Error</string>
3666 // CHECK-NEXT:     <key>type</key><string>Memory leak</string>
3667 // CHECK-NEXT:     <key>check_name</key><string>unix.Malloc</string>
3668 // CHECK-NEXT:     <!-- This hash is experimental and going to change! -->
3669 // CHECK-NEXT:     <key>issue_hash_content_of_line_in_context</key><string>efe2ffcb7c227e872aa732c5f793895d</string>
3670 // CHECK-NEXT:    <key>issue_context_kind</key><string>function</string>
3671 // CHECK-NEXT:    <key>issue_context</key><string>function_with_leak2</string>
3672 // CHECK-NEXT:    <key>issue_hash_function_offset</key><string>1</string>
3673 // CHECK-NEXT:    <key>location</key>
3674 // CHECK-NEXT:    <dict>
3675 // CHECK-NEXT:     <key>line</key><integer>127</integer>
3676 // CHECK-NEXT:     <key>col</key><integer>5</integer>
3677 // CHECK-NEXT:     <key>file</key><integer>0</integer>
3678 // CHECK-NEXT:    </dict>
3679 // CHECK-NEXT:    </dict>
3680 // CHECK-NEXT:    <dict>
3681 // CHECK-NEXT:     <key>path</key>
3682 // CHECK-NEXT:     <array>
3683 // CHECK-NEXT:      <dict>
3684 // CHECK-NEXT:       <key>kind</key><string>event</string>
3685 // CHECK-NEXT:       <key>location</key>
3686 // CHECK-NEXT:       <dict>
3687 // CHECK-NEXT:        <key>line</key><integer>139</integer>
3688 // CHECK-NEXT:        <key>col</key><integer>5</integer>
3689 // CHECK-NEXT:        <key>file</key><integer>0</integer>
3690 // CHECK-NEXT:       </dict>
3691 // CHECK-NEXT:       <key>ranges</key>
3692 // CHECK-NEXT:       <array>
3693 // CHECK-NEXT:         <array>
3694 // CHECK-NEXT:          <dict>
3695 // CHECK-NEXT:           <key>line</key><integer>139</integer>
3696 // CHECK-NEXT:           <key>col</key><integer>5</integer>
3697 // CHECK-NEXT:           <key>file</key><integer>0</integer>
3698 // CHECK-NEXT:          </dict>
3699 // CHECK-NEXT:          <dict>
3700 // CHECK-NEXT:           <key>line</key><integer>139</integer>
3701 // CHECK-NEXT:           <key>col</key><integer>26</integer>
3702 // CHECK-NEXT:           <key>file</key><integer>0</integer>
3703 // CHECK-NEXT:          </dict>
3704 // CHECK-NEXT:         </array>
3705 // CHECK-NEXT:       </array>
3706 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
3707 // CHECK-NEXT:       <key>extended_message</key>
3708 // CHECK-NEXT:       <string>Calling &apos;function_with_leak3&apos;</string>
3709 // CHECK-NEXT:       <key>message</key>
3710 // CHECK-NEXT:       <string>Calling &apos;function_with_leak3&apos;</string>
3711 // CHECK-NEXT:      </dict>
3712 // CHECK-NEXT:      <dict>
3713 // CHECK-NEXT:       <key>kind</key><string>event</string>
3714 // CHECK-NEXT:       <key>location</key>
3715 // CHECK-NEXT:       <dict>
3716 // CHECK-NEXT:        <key>line</key><integer>133</integer>
3717 // CHECK-NEXT:        <key>col</key><integer>1</integer>
3718 // CHECK-NEXT:        <key>file</key><integer>0</integer>
3719 // CHECK-NEXT:       </dict>
3720 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
3721 // CHECK-NEXT:       <key>extended_message</key>
3722 // CHECK-NEXT:       <string>Entered call from &apos;use_function_with_leak3&apos;</string>
3723 // CHECK-NEXT:       <key>message</key>
3724 // CHECK-NEXT:       <string>Entered call from &apos;use_function_with_leak3&apos;</string>
3725 // CHECK-NEXT:      </dict>
3726 // CHECK-NEXT:      <dict>
3727 // CHECK-NEXT:       <key>kind</key><string>control</string>
3728 // CHECK-NEXT:       <key>edges</key>
3729 // CHECK-NEXT:        <array>
3730 // CHECK-NEXT:         <dict>
3731 // CHECK-NEXT:          <key>start</key>
3732 // CHECK-NEXT:           <array>
3733 // CHECK-NEXT:            <dict>
3734 // CHECK-NEXT:             <key>line</key><integer>133</integer>
3735 // CHECK-NEXT:             <key>col</key><integer>1</integer>
3736 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3737 // CHECK-NEXT:            </dict>
3738 // CHECK-NEXT:            <dict>
3739 // CHECK-NEXT:             <key>line</key><integer>133</integer>
3740 // CHECK-NEXT:             <key>col</key><integer>6</integer>
3741 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3742 // CHECK-NEXT:            </dict>
3743 // CHECK-NEXT:           </array>
3744 // CHECK-NEXT:          <key>end</key>
3745 // CHECK-NEXT:           <array>
3746 // CHECK-NEXT:            <dict>
3747 // CHECK-NEXT:             <key>line</key><integer>134</integer>
3748 // CHECK-NEXT:             <key>col</key><integer>5</integer>
3749 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3750 // CHECK-NEXT:            </dict>
3751 // CHECK-NEXT:            <dict>
3752 // CHECK-NEXT:             <key>line</key><integer>134</integer>
3753 // CHECK-NEXT:             <key>col</key><integer>8</integer>
3754 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3755 // CHECK-NEXT:            </dict>
3756 // CHECK-NEXT:           </array>
3757 // CHECK-NEXT:         </dict>
3758 // CHECK-NEXT:        </array>
3759 // CHECK-NEXT:      </dict>
3760 // CHECK-NEXT:      <dict>
3761 // CHECK-NEXT:       <key>kind</key><string>control</string>
3762 // CHECK-NEXT:       <key>edges</key>
3763 // CHECK-NEXT:        <array>
3764 // CHECK-NEXT:         <dict>
3765 // CHECK-NEXT:          <key>start</key>
3766 // CHECK-NEXT:           <array>
3767 // CHECK-NEXT:            <dict>
3768 // CHECK-NEXT:             <key>line</key><integer>134</integer>
3769 // CHECK-NEXT:             <key>col</key><integer>5</integer>
3770 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3771 // CHECK-NEXT:            </dict>
3772 // CHECK-NEXT:            <dict>
3773 // CHECK-NEXT:             <key>line</key><integer>134</integer>
3774 // CHECK-NEXT:             <key>col</key><integer>8</integer>
3775 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3776 // CHECK-NEXT:            </dict>
3777 // CHECK-NEXT:           </array>
3778 // CHECK-NEXT:          <key>end</key>
3779 // CHECK-NEXT:           <array>
3780 // CHECK-NEXT:            <dict>
3781 // CHECK-NEXT:             <key>line</key><integer>134</integer>
3782 // CHECK-NEXT:             <key>col</key><integer>22</integer>
3783 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3784 // CHECK-NEXT:            </dict>
3785 // CHECK-NEXT:            <dict>
3786 // CHECK-NEXT:             <key>line</key><integer>134</integer>
3787 // CHECK-NEXT:             <key>col</key><integer>27</integer>
3788 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3789 // CHECK-NEXT:            </dict>
3790 // CHECK-NEXT:           </array>
3791 // CHECK-NEXT:         </dict>
3792 // CHECK-NEXT:        </array>
3793 // CHECK-NEXT:      </dict>
3794 // CHECK-NEXT:      <dict>
3795 // CHECK-NEXT:       <key>kind</key><string>event</string>
3796 // CHECK-NEXT:       <key>location</key>
3797 // CHECK-NEXT:       <dict>
3798 // CHECK-NEXT:        <key>line</key><integer>134</integer>
3799 // CHECK-NEXT:        <key>col</key><integer>22</integer>
3800 // CHECK-NEXT:        <key>file</key><integer>0</integer>
3801 // CHECK-NEXT:       </dict>
3802 // CHECK-NEXT:       <key>ranges</key>
3803 // CHECK-NEXT:       <array>
3804 // CHECK-NEXT:         <array>
3805 // CHECK-NEXT:          <dict>
3806 // CHECK-NEXT:           <key>line</key><integer>134</integer>
3807 // CHECK-NEXT:           <key>col</key><integer>22</integer>
3808 // CHECK-NEXT:           <key>file</key><integer>0</integer>
3809 // CHECK-NEXT:          </dict>
3810 // CHECK-NEXT:          <dict>
3811 // CHECK-NEXT:           <key>line</key><integer>134</integer>
3812 // CHECK-NEXT:           <key>col</key><integer>31</integer>
3813 // CHECK-NEXT:           <key>file</key><integer>0</integer>
3814 // CHECK-NEXT:          </dict>
3815 // CHECK-NEXT:         </array>
3816 // CHECK-NEXT:       </array>
3817 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
3818 // CHECK-NEXT:       <key>extended_message</key>
3819 // CHECK-NEXT:       <string>Memory is allocated</string>
3820 // CHECK-NEXT:       <key>message</key>
3821 // CHECK-NEXT:       <string>Memory is allocated</string>
3822 // CHECK-NEXT:      </dict>
3823 // CHECK-NEXT:      <dict>
3824 // CHECK-NEXT:       <key>kind</key><string>control</string>
3825 // CHECK-NEXT:       <key>edges</key>
3826 // CHECK-NEXT:        <array>
3827 // CHECK-NEXT:         <dict>
3828 // CHECK-NEXT:          <key>start</key>
3829 // CHECK-NEXT:           <array>
3830 // CHECK-NEXT:            <dict>
3831 // CHECK-NEXT:             <key>line</key><integer>134</integer>
3832 // CHECK-NEXT:             <key>col</key><integer>22</integer>
3833 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3834 // CHECK-NEXT:            </dict>
3835 // CHECK-NEXT:            <dict>
3836 // CHECK-NEXT:             <key>line</key><integer>134</integer>
3837 // CHECK-NEXT:             <key>col</key><integer>27</integer>
3838 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3839 // CHECK-NEXT:            </dict>
3840 // CHECK-NEXT:           </array>
3841 // CHECK-NEXT:          <key>end</key>
3842 // CHECK-NEXT:           <array>
3843 // CHECK-NEXT:            <dict>
3844 // CHECK-NEXT:             <key>line</key><integer>135</integer>
3845 // CHECK-NEXT:             <key>col</key><integer>5</integer>
3846 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3847 // CHECK-NEXT:            </dict>
3848 // CHECK-NEXT:            <dict>
3849 // CHECK-NEXT:             <key>line</key><integer>135</integer>
3850 // CHECK-NEXT:             <key>col</key><integer>6</integer>
3851 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3852 // CHECK-NEXT:            </dict>
3853 // CHECK-NEXT:           </array>
3854 // CHECK-NEXT:         </dict>
3855 // CHECK-NEXT:        </array>
3856 // CHECK-NEXT:      </dict>
3857 // CHECK-NEXT:      <dict>
3858 // CHECK-NEXT:       <key>kind</key><string>control</string>
3859 // CHECK-NEXT:       <key>edges</key>
3860 // CHECK-NEXT:        <array>
3861 // CHECK-NEXT:         <dict>
3862 // CHECK-NEXT:          <key>start</key>
3863 // CHECK-NEXT:           <array>
3864 // CHECK-NEXT:            <dict>
3865 // CHECK-NEXT:             <key>line</key><integer>135</integer>
3866 // CHECK-NEXT:             <key>col</key><integer>5</integer>
3867 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3868 // CHECK-NEXT:            </dict>
3869 // CHECK-NEXT:            <dict>
3870 // CHECK-NEXT:             <key>line</key><integer>135</integer>
3871 // CHECK-NEXT:             <key>col</key><integer>6</integer>
3872 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3873 // CHECK-NEXT:            </dict>
3874 // CHECK-NEXT:           </array>
3875 // CHECK-NEXT:          <key>end</key>
3876 // CHECK-NEXT:           <array>
3877 // CHECK-NEXT:            <dict>
3878 // CHECK-NEXT:             <key>line</key><integer>135</integer>
3879 // CHECK-NEXT:             <key>col</key><integer>9</integer>
3880 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3881 // CHECK-NEXT:            </dict>
3882 // CHECK-NEXT:            <dict>
3883 // CHECK-NEXT:             <key>line</key><integer>135</integer>
3884 // CHECK-NEXT:             <key>col</key><integer>9</integer>
3885 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3886 // CHECK-NEXT:            </dict>
3887 // CHECK-NEXT:           </array>
3888 // CHECK-NEXT:         </dict>
3889 // CHECK-NEXT:        </array>
3890 // CHECK-NEXT:      </dict>
3891 // CHECK-NEXT:      <dict>
3892 // CHECK-NEXT:       <key>kind</key><string>event</string>
3893 // CHECK-NEXT:       <key>location</key>
3894 // CHECK-NEXT:       <dict>
3895 // CHECK-NEXT:        <key>line</key><integer>135</integer>
3896 // CHECK-NEXT:        <key>col</key><integer>9</integer>
3897 // CHECK-NEXT:        <key>file</key><integer>0</integer>
3898 // CHECK-NEXT:       </dict>
3899 // CHECK-NEXT:       <key>ranges</key>
3900 // CHECK-NEXT:       <array>
3901 // CHECK-NEXT:         <array>
3902 // CHECK-NEXT:          <dict>
3903 // CHECK-NEXT:           <key>line</key><integer>135</integer>
3904 // CHECK-NEXT:           <key>col</key><integer>9</integer>
3905 // CHECK-NEXT:           <key>file</key><integer>0</integer>
3906 // CHECK-NEXT:          </dict>
3907 // CHECK-NEXT:          <dict>
3908 // CHECK-NEXT:           <key>line</key><integer>135</integer>
3909 // CHECK-NEXT:           <key>col</key><integer>9</integer>
3910 // CHECK-NEXT:           <key>file</key><integer>0</integer>
3911 // CHECK-NEXT:          </dict>
3912 // CHECK-NEXT:         </array>
3913 // CHECK-NEXT:       </array>
3914 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
3915 // CHECK-NEXT:       <key>extended_message</key>
3916 // CHECK-NEXT:       <string>Assuming &apos;y&apos; is not equal to 0</string>
3917 // CHECK-NEXT:       <key>message</key>
3918 // CHECK-NEXT:       <string>Assuming &apos;y&apos; is not equal to 0</string>
3919 // CHECK-NEXT:      </dict>
3920 // CHECK-NEXT:      <dict>
3921 // CHECK-NEXT:       <key>kind</key><string>control</string>
3922 // CHECK-NEXT:       <key>edges</key>
3923 // CHECK-NEXT:        <array>
3924 // CHECK-NEXT:         <dict>
3925 // CHECK-NEXT:          <key>start</key>
3926 // CHECK-NEXT:           <array>
3927 // CHECK-NEXT:            <dict>
3928 // CHECK-NEXT:             <key>line</key><integer>135</integer>
3929 // CHECK-NEXT:             <key>col</key><integer>9</integer>
3930 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3931 // CHECK-NEXT:            </dict>
3932 // CHECK-NEXT:            <dict>
3933 // CHECK-NEXT:             <key>line</key><integer>135</integer>
3934 // CHECK-NEXT:             <key>col</key><integer>9</integer>
3935 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3936 // CHECK-NEXT:            </dict>
3937 // CHECK-NEXT:           </array>
3938 // CHECK-NEXT:          <key>end</key>
3939 // CHECK-NEXT:           <array>
3940 // CHECK-NEXT:            <dict>
3941 // CHECK-NEXT:             <key>line</key><integer>136</integer>
3942 // CHECK-NEXT:             <key>col</key><integer>9</integer>
3943 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3944 // CHECK-NEXT:            </dict>
3945 // CHECK-NEXT:            <dict>
3946 // CHECK-NEXT:             <key>line</key><integer>136</integer>
3947 // CHECK-NEXT:             <key>col</key><integer>9</integer>
3948 // CHECK-NEXT:             <key>file</key><integer>0</integer>
3949 // CHECK-NEXT:            </dict>
3950 // CHECK-NEXT:           </array>
3951 // CHECK-NEXT:         </dict>
3952 // CHECK-NEXT:        </array>
3953 // CHECK-NEXT:      </dict>
3954 // CHECK-NEXT:      <dict>
3955 // CHECK-NEXT:       <key>kind</key><string>event</string>
3956 // CHECK-NEXT:       <key>location</key>
3957 // CHECK-NEXT:       <dict>
3958 // CHECK-NEXT:        <key>line</key><integer>136</integer>
3959 // CHECK-NEXT:        <key>col</key><integer>9</integer>
3960 // CHECK-NEXT:        <key>file</key><integer>0</integer>
3961 // CHECK-NEXT:       </dict>
3962 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
3963 // CHECK-NEXT:       <key>extended_message</key>
3964 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;x&apos;</string>
3965 // CHECK-NEXT:       <key>message</key>
3966 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;x&apos;</string>
3967 // CHECK-NEXT:      </dict>
3968 // CHECK-NEXT:     </array>
3969 // CHECK-NEXT:     <key>description</key><string>Potential leak of memory pointed to by &apos;x&apos;</string>
3970 // CHECK-NEXT:     <key>category</key><string>Memory Error</string>
3971 // CHECK-NEXT:     <key>type</key><string>Memory leak</string>
3972 // CHECK-NEXT:     <key>check_name</key><string>unix.Malloc</string>
3973 // CHECK-NEXT:     <!-- This hash is experimental and going to change! -->
3974 // CHECK-NEXT:     <key>issue_hash_content_of_line_in_context</key><string>0ddc87e8a7e7104428af3905f3057611</string>
3975 // CHECK-NEXT:    <key>issue_context_kind</key><string>function</string>
3976 // CHECK-NEXT:    <key>issue_context</key><string>function_with_leak3</string>
3977 // CHECK-NEXT:    <key>issue_hash_function_offset</key><string>1</string>
3978 // CHECK-NEXT:    <key>location</key>
3979 // CHECK-NEXT:    <dict>
3980 // CHECK-NEXT:     <key>line</key><integer>136</integer>
3981 // CHECK-NEXT:     <key>col</key><integer>9</integer>
3982 // CHECK-NEXT:     <key>file</key><integer>0</integer>
3983 // CHECK-NEXT:    </dict>
3984 // CHECK-NEXT:    </dict>
3985 // CHECK-NEXT:    <dict>
3986 // CHECK-NEXT:     <key>path</key>
3987 // CHECK-NEXT:     <array>
3988 // CHECK-NEXT:      <dict>
3989 // CHECK-NEXT:       <key>kind</key><string>event</string>
3990 // CHECK-NEXT:       <key>location</key>
3991 // CHECK-NEXT:       <dict>
3992 // CHECK-NEXT:        <key>line</key><integer>150</integer>
3993 // CHECK-NEXT:        <key>col</key><integer>5</integer>
3994 // CHECK-NEXT:        <key>file</key><integer>0</integer>
3995 // CHECK-NEXT:       </dict>
3996 // CHECK-NEXT:       <key>ranges</key>
3997 // CHECK-NEXT:       <array>
3998 // CHECK-NEXT:         <array>
3999 // CHECK-NEXT:          <dict>
4000 // CHECK-NEXT:           <key>line</key><integer>150</integer>
4001 // CHECK-NEXT:           <key>col</key><integer>5</integer>
4002 // CHECK-NEXT:           <key>file</key><integer>0</integer>
4003 // CHECK-NEXT:          </dict>
4004 // CHECK-NEXT:          <dict>
4005 // CHECK-NEXT:           <key>line</key><integer>150</integer>
4006 // CHECK-NEXT:           <key>col</key><integer>26</integer>
4007 // CHECK-NEXT:           <key>file</key><integer>0</integer>
4008 // CHECK-NEXT:          </dict>
4009 // CHECK-NEXT:         </array>
4010 // CHECK-NEXT:       </array>
4011 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
4012 // CHECK-NEXT:       <key>extended_message</key>
4013 // CHECK-NEXT:       <string>Calling &apos;function_with_leak4&apos;</string>
4014 // CHECK-NEXT:       <key>message</key>
4015 // CHECK-NEXT:       <string>Calling &apos;function_with_leak4&apos;</string>
4016 // CHECK-NEXT:      </dict>
4017 // CHECK-NEXT:      <dict>
4018 // CHECK-NEXT:       <key>kind</key><string>event</string>
4019 // CHECK-NEXT:       <key>location</key>
4020 // CHECK-NEXT:       <dict>
4021 // CHECK-NEXT:        <key>line</key><integer>142</integer>
4022 // CHECK-NEXT:        <key>col</key><integer>1</integer>
4023 // CHECK-NEXT:        <key>file</key><integer>0</integer>
4024 // CHECK-NEXT:       </dict>
4025 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
4026 // CHECK-NEXT:       <key>extended_message</key>
4027 // CHECK-NEXT:       <string>Entered call from &apos;use_function_with_leak4&apos;</string>
4028 // CHECK-NEXT:       <key>message</key>
4029 // CHECK-NEXT:       <string>Entered call from &apos;use_function_with_leak4&apos;</string>
4030 // CHECK-NEXT:      </dict>
4031 // CHECK-NEXT:      <dict>
4032 // CHECK-NEXT:       <key>kind</key><string>control</string>
4033 // CHECK-NEXT:       <key>edges</key>
4034 // CHECK-NEXT:        <array>
4035 // CHECK-NEXT:         <dict>
4036 // CHECK-NEXT:          <key>start</key>
4037 // CHECK-NEXT:           <array>
4038 // CHECK-NEXT:            <dict>
4039 // CHECK-NEXT:             <key>line</key><integer>142</integer>
4040 // CHECK-NEXT:             <key>col</key><integer>1</integer>
4041 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4042 // CHECK-NEXT:            </dict>
4043 // CHECK-NEXT:            <dict>
4044 // CHECK-NEXT:             <key>line</key><integer>142</integer>
4045 // CHECK-NEXT:             <key>col</key><integer>6</integer>
4046 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4047 // CHECK-NEXT:            </dict>
4048 // CHECK-NEXT:           </array>
4049 // CHECK-NEXT:          <key>end</key>
4050 // CHECK-NEXT:           <array>
4051 // CHECK-NEXT:            <dict>
4052 // CHECK-NEXT:             <key>line</key><integer>143</integer>
4053 // CHECK-NEXT:             <key>col</key><integer>5</integer>
4054 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4055 // CHECK-NEXT:            </dict>
4056 // CHECK-NEXT:            <dict>
4057 // CHECK-NEXT:             <key>line</key><integer>143</integer>
4058 // CHECK-NEXT:             <key>col</key><integer>8</integer>
4059 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4060 // CHECK-NEXT:            </dict>
4061 // CHECK-NEXT:           </array>
4062 // CHECK-NEXT:         </dict>
4063 // CHECK-NEXT:        </array>
4064 // CHECK-NEXT:      </dict>
4065 // CHECK-NEXT:      <dict>
4066 // CHECK-NEXT:       <key>kind</key><string>control</string>
4067 // CHECK-NEXT:       <key>edges</key>
4068 // CHECK-NEXT:        <array>
4069 // CHECK-NEXT:         <dict>
4070 // CHECK-NEXT:          <key>start</key>
4071 // CHECK-NEXT:           <array>
4072 // CHECK-NEXT:            <dict>
4073 // CHECK-NEXT:             <key>line</key><integer>143</integer>
4074 // CHECK-NEXT:             <key>col</key><integer>5</integer>
4075 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4076 // CHECK-NEXT:            </dict>
4077 // CHECK-NEXT:            <dict>
4078 // CHECK-NEXT:             <key>line</key><integer>143</integer>
4079 // CHECK-NEXT:             <key>col</key><integer>8</integer>
4080 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4081 // CHECK-NEXT:            </dict>
4082 // CHECK-NEXT:           </array>
4083 // CHECK-NEXT:          <key>end</key>
4084 // CHECK-NEXT:           <array>
4085 // CHECK-NEXT:            <dict>
4086 // CHECK-NEXT:             <key>line</key><integer>143</integer>
4087 // CHECK-NEXT:             <key>col</key><integer>22</integer>
4088 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4089 // CHECK-NEXT:            </dict>
4090 // CHECK-NEXT:            <dict>
4091 // CHECK-NEXT:             <key>line</key><integer>143</integer>
4092 // CHECK-NEXT:             <key>col</key><integer>27</integer>
4093 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4094 // CHECK-NEXT:            </dict>
4095 // CHECK-NEXT:           </array>
4096 // CHECK-NEXT:         </dict>
4097 // CHECK-NEXT:        </array>
4098 // CHECK-NEXT:      </dict>
4099 // CHECK-NEXT:      <dict>
4100 // CHECK-NEXT:       <key>kind</key><string>event</string>
4101 // CHECK-NEXT:       <key>location</key>
4102 // CHECK-NEXT:       <dict>
4103 // CHECK-NEXT:        <key>line</key><integer>143</integer>
4104 // CHECK-NEXT:        <key>col</key><integer>22</integer>
4105 // CHECK-NEXT:        <key>file</key><integer>0</integer>
4106 // CHECK-NEXT:       </dict>
4107 // CHECK-NEXT:       <key>ranges</key>
4108 // CHECK-NEXT:       <array>
4109 // CHECK-NEXT:         <array>
4110 // CHECK-NEXT:          <dict>
4111 // CHECK-NEXT:           <key>line</key><integer>143</integer>
4112 // CHECK-NEXT:           <key>col</key><integer>22</integer>
4113 // CHECK-NEXT:           <key>file</key><integer>0</integer>
4114 // CHECK-NEXT:          </dict>
4115 // CHECK-NEXT:          <dict>
4116 // CHECK-NEXT:           <key>line</key><integer>143</integer>
4117 // CHECK-NEXT:           <key>col</key><integer>31</integer>
4118 // CHECK-NEXT:           <key>file</key><integer>0</integer>
4119 // CHECK-NEXT:          </dict>
4120 // CHECK-NEXT:         </array>
4121 // CHECK-NEXT:       </array>
4122 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
4123 // CHECK-NEXT:       <key>extended_message</key>
4124 // CHECK-NEXT:       <string>Memory is allocated</string>
4125 // CHECK-NEXT:       <key>message</key>
4126 // CHECK-NEXT:       <string>Memory is allocated</string>
4127 // CHECK-NEXT:      </dict>
4128 // CHECK-NEXT:      <dict>
4129 // CHECK-NEXT:       <key>kind</key><string>control</string>
4130 // CHECK-NEXT:       <key>edges</key>
4131 // CHECK-NEXT:        <array>
4132 // CHECK-NEXT:         <dict>
4133 // CHECK-NEXT:          <key>start</key>
4134 // CHECK-NEXT:           <array>
4135 // CHECK-NEXT:            <dict>
4136 // CHECK-NEXT:             <key>line</key><integer>143</integer>
4137 // CHECK-NEXT:             <key>col</key><integer>22</integer>
4138 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4139 // CHECK-NEXT:            </dict>
4140 // CHECK-NEXT:            <dict>
4141 // CHECK-NEXT:             <key>line</key><integer>143</integer>
4142 // CHECK-NEXT:             <key>col</key><integer>27</integer>
4143 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4144 // CHECK-NEXT:            </dict>
4145 // CHECK-NEXT:           </array>
4146 // CHECK-NEXT:          <key>end</key>
4147 // CHECK-NEXT:           <array>
4148 // CHECK-NEXT:            <dict>
4149 // CHECK-NEXT:             <key>line</key><integer>144</integer>
4150 // CHECK-NEXT:             <key>col</key><integer>5</integer>
4151 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4152 // CHECK-NEXT:            </dict>
4153 // CHECK-NEXT:            <dict>
4154 // CHECK-NEXT:             <key>line</key><integer>144</integer>
4155 // CHECK-NEXT:             <key>col</key><integer>6</integer>
4156 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4157 // CHECK-NEXT:            </dict>
4158 // CHECK-NEXT:           </array>
4159 // CHECK-NEXT:         </dict>
4160 // CHECK-NEXT:        </array>
4161 // CHECK-NEXT:      </dict>
4162 // CHECK-NEXT:      <dict>
4163 // CHECK-NEXT:       <key>kind</key><string>control</string>
4164 // CHECK-NEXT:       <key>edges</key>
4165 // CHECK-NEXT:        <array>
4166 // CHECK-NEXT:         <dict>
4167 // CHECK-NEXT:          <key>start</key>
4168 // CHECK-NEXT:           <array>
4169 // CHECK-NEXT:            <dict>
4170 // CHECK-NEXT:             <key>line</key><integer>144</integer>
4171 // CHECK-NEXT:             <key>col</key><integer>5</integer>
4172 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4173 // CHECK-NEXT:            </dict>
4174 // CHECK-NEXT:            <dict>
4175 // CHECK-NEXT:             <key>line</key><integer>144</integer>
4176 // CHECK-NEXT:             <key>col</key><integer>6</integer>
4177 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4178 // CHECK-NEXT:            </dict>
4179 // CHECK-NEXT:           </array>
4180 // CHECK-NEXT:          <key>end</key>
4181 // CHECK-NEXT:           <array>
4182 // CHECK-NEXT:            <dict>
4183 // CHECK-NEXT:             <key>line</key><integer>144</integer>
4184 // CHECK-NEXT:             <key>col</key><integer>9</integer>
4185 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4186 // CHECK-NEXT:            </dict>
4187 // CHECK-NEXT:            <dict>
4188 // CHECK-NEXT:             <key>line</key><integer>144</integer>
4189 // CHECK-NEXT:             <key>col</key><integer>9</integer>
4190 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4191 // CHECK-NEXT:            </dict>
4192 // CHECK-NEXT:           </array>
4193 // CHECK-NEXT:         </dict>
4194 // CHECK-NEXT:        </array>
4195 // CHECK-NEXT:      </dict>
4196 // CHECK-NEXT:      <dict>
4197 // CHECK-NEXT:       <key>kind</key><string>event</string>
4198 // CHECK-NEXT:       <key>location</key>
4199 // CHECK-NEXT:       <dict>
4200 // CHECK-NEXT:        <key>line</key><integer>144</integer>
4201 // CHECK-NEXT:        <key>col</key><integer>9</integer>
4202 // CHECK-NEXT:        <key>file</key><integer>0</integer>
4203 // CHECK-NEXT:       </dict>
4204 // CHECK-NEXT:       <key>ranges</key>
4205 // CHECK-NEXT:       <array>
4206 // CHECK-NEXT:         <array>
4207 // CHECK-NEXT:          <dict>
4208 // CHECK-NEXT:           <key>line</key><integer>144</integer>
4209 // CHECK-NEXT:           <key>col</key><integer>9</integer>
4210 // CHECK-NEXT:           <key>file</key><integer>0</integer>
4211 // CHECK-NEXT:          </dict>
4212 // CHECK-NEXT:          <dict>
4213 // CHECK-NEXT:           <key>line</key><integer>144</integer>
4214 // CHECK-NEXT:           <key>col</key><integer>9</integer>
4215 // CHECK-NEXT:           <key>file</key><integer>0</integer>
4216 // CHECK-NEXT:          </dict>
4217 // CHECK-NEXT:         </array>
4218 // CHECK-NEXT:       </array>
4219 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
4220 // CHECK-NEXT:       <key>extended_message</key>
4221 // CHECK-NEXT:       <string>Assuming &apos;y&apos; is 0</string>
4222 // CHECK-NEXT:       <key>message</key>
4223 // CHECK-NEXT:       <string>Assuming &apos;y&apos; is 0</string>
4224 // CHECK-NEXT:      </dict>
4225 // CHECK-NEXT:      <dict>
4226 // CHECK-NEXT:       <key>kind</key><string>control</string>
4227 // CHECK-NEXT:       <key>edges</key>
4228 // CHECK-NEXT:        <array>
4229 // CHECK-NEXT:         <dict>
4230 // CHECK-NEXT:          <key>start</key>
4231 // CHECK-NEXT:           <array>
4232 // CHECK-NEXT:            <dict>
4233 // CHECK-NEXT:             <key>line</key><integer>144</integer>
4234 // CHECK-NEXT:             <key>col</key><integer>9</integer>
4235 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4236 // CHECK-NEXT:            </dict>
4237 // CHECK-NEXT:            <dict>
4238 // CHECK-NEXT:             <key>line</key><integer>144</integer>
4239 // CHECK-NEXT:             <key>col</key><integer>9</integer>
4240 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4241 // CHECK-NEXT:            </dict>
4242 // CHECK-NEXT:           </array>
4243 // CHECK-NEXT:          <key>end</key>
4244 // CHECK-NEXT:           <array>
4245 // CHECK-NEXT:            <dict>
4246 // CHECK-NEXT:             <key>line</key><integer>147</integer>
4247 // CHECK-NEXT:             <key>col</key><integer>9</integer>
4248 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4249 // CHECK-NEXT:            </dict>
4250 // CHECK-NEXT:            <dict>
4251 // CHECK-NEXT:             <key>line</key><integer>147</integer>
4252 // CHECK-NEXT:             <key>col</key><integer>9</integer>
4253 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4254 // CHECK-NEXT:            </dict>
4255 // CHECK-NEXT:           </array>
4256 // CHECK-NEXT:         </dict>
4257 // CHECK-NEXT:        </array>
4258 // CHECK-NEXT:      </dict>
4259 // CHECK-NEXT:      <dict>
4260 // CHECK-NEXT:       <key>kind</key><string>event</string>
4261 // CHECK-NEXT:       <key>location</key>
4262 // CHECK-NEXT:       <dict>
4263 // CHECK-NEXT:        <key>line</key><integer>147</integer>
4264 // CHECK-NEXT:        <key>col</key><integer>9</integer>
4265 // CHECK-NEXT:        <key>file</key><integer>0</integer>
4266 // CHECK-NEXT:       </dict>
4267 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
4268 // CHECK-NEXT:       <key>extended_message</key>
4269 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;x&apos;</string>
4270 // CHECK-NEXT:       <key>message</key>
4271 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;x&apos;</string>
4272 // CHECK-NEXT:      </dict>
4273 // CHECK-NEXT:     </array>
4274 // CHECK-NEXT:     <key>description</key><string>Potential leak of memory pointed to by &apos;x&apos;</string>
4275 // CHECK-NEXT:     <key>category</key><string>Memory Error</string>
4276 // CHECK-NEXT:     <key>type</key><string>Memory leak</string>
4277 // CHECK-NEXT:     <key>check_name</key><string>unix.Malloc</string>
4278 // CHECK-NEXT:     <!-- This hash is experimental and going to change! -->
4279 // CHECK-NEXT:     <key>issue_hash_content_of_line_in_context</key><string>948d356840e67fc4baa8cc5d0600463c</string>
4280 // CHECK-NEXT:    <key>issue_context_kind</key><string>function</string>
4281 // CHECK-NEXT:    <key>issue_context</key><string>function_with_leak4</string>
4282 // CHECK-NEXT:    <key>issue_hash_function_offset</key><string>1</string>
4283 // CHECK-NEXT:    <key>location</key>
4284 // CHECK-NEXT:    <dict>
4285 // CHECK-NEXT:     <key>line</key><integer>147</integer>
4286 // CHECK-NEXT:     <key>col</key><integer>9</integer>
4287 // CHECK-NEXT:     <key>file</key><integer>0</integer>
4288 // CHECK-NEXT:    </dict>
4289 // CHECK-NEXT:    </dict>
4290 // CHECK-NEXT:    <dict>
4291 // CHECK-NEXT:     <key>path</key>
4292 // CHECK-NEXT:     <array>
4293 // CHECK-NEXT:      <dict>
4294 // CHECK-NEXT:       <key>kind</key><string>event</string>
4295 // CHECK-NEXT:       <key>location</key>
4296 // CHECK-NEXT:       <dict>
4297 // CHECK-NEXT:        <key>line</key><integer>161</integer>
4298 // CHECK-NEXT:        <key>col</key><integer>5</integer>
4299 // CHECK-NEXT:        <key>file</key><integer>0</integer>
4300 // CHECK-NEXT:       </dict>
4301 // CHECK-NEXT:       <key>ranges</key>
4302 // CHECK-NEXT:       <array>
4303 // CHECK-NEXT:         <array>
4304 // CHECK-NEXT:          <dict>
4305 // CHECK-NEXT:           <key>line</key><integer>161</integer>
4306 // CHECK-NEXT:           <key>col</key><integer>5</integer>
4307 // CHECK-NEXT:           <key>file</key><integer>0</integer>
4308 // CHECK-NEXT:          </dict>
4309 // CHECK-NEXT:          <dict>
4310 // CHECK-NEXT:           <key>line</key><integer>161</integer>
4311 // CHECK-NEXT:           <key>col</key><integer>25</integer>
4312 // CHECK-NEXT:           <key>file</key><integer>0</integer>
4313 // CHECK-NEXT:          </dict>
4314 // CHECK-NEXT:         </array>
4315 // CHECK-NEXT:       </array>
4316 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
4317 // CHECK-NEXT:       <key>extended_message</key>
4318 // CHECK-NEXT:       <string>Calling &apos;function_with_leak5&apos;</string>
4319 // CHECK-NEXT:       <key>message</key>
4320 // CHECK-NEXT:       <string>Calling &apos;function_with_leak5&apos;</string>
4321 // CHECK-NEXT:      </dict>
4322 // CHECK-NEXT:      <dict>
4323 // CHECK-NEXT:       <key>kind</key><string>event</string>
4324 // CHECK-NEXT:       <key>location</key>
4325 // CHECK-NEXT:       <dict>
4326 // CHECK-NEXT:        <key>line</key><integer>156</integer>
4327 // CHECK-NEXT:        <key>col</key><integer>1</integer>
4328 // CHECK-NEXT:        <key>file</key><integer>0</integer>
4329 // CHECK-NEXT:       </dict>
4330 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
4331 // CHECK-NEXT:       <key>extended_message</key>
4332 // CHECK-NEXT:       <string>Entered call from &apos;use_function_with_leak5&apos;</string>
4333 // CHECK-NEXT:       <key>message</key>
4334 // CHECK-NEXT:       <string>Entered call from &apos;use_function_with_leak5&apos;</string>
4335 // CHECK-NEXT:      </dict>
4336 // CHECK-NEXT:      <dict>
4337 // CHECK-NEXT:       <key>kind</key><string>control</string>
4338 // CHECK-NEXT:       <key>edges</key>
4339 // CHECK-NEXT:        <array>
4340 // CHECK-NEXT:         <dict>
4341 // CHECK-NEXT:          <key>start</key>
4342 // CHECK-NEXT:           <array>
4343 // CHECK-NEXT:            <dict>
4344 // CHECK-NEXT:             <key>line</key><integer>156</integer>
4345 // CHECK-NEXT:             <key>col</key><integer>1</integer>
4346 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4347 // CHECK-NEXT:            </dict>
4348 // CHECK-NEXT:            <dict>
4349 // CHECK-NEXT:             <key>line</key><integer>156</integer>
4350 // CHECK-NEXT:             <key>col</key><integer>6</integer>
4351 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4352 // CHECK-NEXT:            </dict>
4353 // CHECK-NEXT:           </array>
4354 // CHECK-NEXT:          <key>end</key>
4355 // CHECK-NEXT:           <array>
4356 // CHECK-NEXT:            <dict>
4357 // CHECK-NEXT:             <key>line</key><integer>157</integer>
4358 // CHECK-NEXT:             <key>col</key><integer>5</integer>
4359 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4360 // CHECK-NEXT:            </dict>
4361 // CHECK-NEXT:            <dict>
4362 // CHECK-NEXT:             <key>line</key><integer>157</integer>
4363 // CHECK-NEXT:             <key>col</key><integer>8</integer>
4364 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4365 // CHECK-NEXT:            </dict>
4366 // CHECK-NEXT:           </array>
4367 // CHECK-NEXT:         </dict>
4368 // CHECK-NEXT:        </array>
4369 // CHECK-NEXT:      </dict>
4370 // CHECK-NEXT:      <dict>
4371 // CHECK-NEXT:       <key>kind</key><string>control</string>
4372 // CHECK-NEXT:       <key>edges</key>
4373 // CHECK-NEXT:        <array>
4374 // CHECK-NEXT:         <dict>
4375 // CHECK-NEXT:          <key>start</key>
4376 // CHECK-NEXT:           <array>
4377 // CHECK-NEXT:            <dict>
4378 // CHECK-NEXT:             <key>line</key><integer>157</integer>
4379 // CHECK-NEXT:             <key>col</key><integer>5</integer>
4380 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4381 // CHECK-NEXT:            </dict>
4382 // CHECK-NEXT:            <dict>
4383 // CHECK-NEXT:             <key>line</key><integer>157</integer>
4384 // CHECK-NEXT:             <key>col</key><integer>8</integer>
4385 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4386 // CHECK-NEXT:            </dict>
4387 // CHECK-NEXT:           </array>
4388 // CHECK-NEXT:          <key>end</key>
4389 // CHECK-NEXT:           <array>
4390 // CHECK-NEXT:            <dict>
4391 // CHECK-NEXT:             <key>line</key><integer>157</integer>
4392 // CHECK-NEXT:             <key>col</key><integer>22</integer>
4393 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4394 // CHECK-NEXT:            </dict>
4395 // CHECK-NEXT:            <dict>
4396 // CHECK-NEXT:             <key>line</key><integer>157</integer>
4397 // CHECK-NEXT:             <key>col</key><integer>27</integer>
4398 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4399 // CHECK-NEXT:            </dict>
4400 // CHECK-NEXT:           </array>
4401 // CHECK-NEXT:         </dict>
4402 // CHECK-NEXT:        </array>
4403 // CHECK-NEXT:      </dict>
4404 // CHECK-NEXT:      <dict>
4405 // CHECK-NEXT:       <key>kind</key><string>event</string>
4406 // CHECK-NEXT:       <key>location</key>
4407 // CHECK-NEXT:       <dict>
4408 // CHECK-NEXT:        <key>line</key><integer>157</integer>
4409 // CHECK-NEXT:        <key>col</key><integer>22</integer>
4410 // CHECK-NEXT:        <key>file</key><integer>0</integer>
4411 // CHECK-NEXT:       </dict>
4412 // CHECK-NEXT:       <key>ranges</key>
4413 // CHECK-NEXT:       <array>
4414 // CHECK-NEXT:         <array>
4415 // CHECK-NEXT:          <dict>
4416 // CHECK-NEXT:           <key>line</key><integer>157</integer>
4417 // CHECK-NEXT:           <key>col</key><integer>22</integer>
4418 // CHECK-NEXT:           <key>file</key><integer>0</integer>
4419 // CHECK-NEXT:          </dict>
4420 // CHECK-NEXT:          <dict>
4421 // CHECK-NEXT:           <key>line</key><integer>157</integer>
4422 // CHECK-NEXT:           <key>col</key><integer>31</integer>
4423 // CHECK-NEXT:           <key>file</key><integer>0</integer>
4424 // CHECK-NEXT:          </dict>
4425 // CHECK-NEXT:         </array>
4426 // CHECK-NEXT:       </array>
4427 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
4428 // CHECK-NEXT:       <key>extended_message</key>
4429 // CHECK-NEXT:       <string>Memory is allocated</string>
4430 // CHECK-NEXT:       <key>message</key>
4431 // CHECK-NEXT:       <string>Memory is allocated</string>
4432 // CHECK-NEXT:      </dict>
4433 // CHECK-NEXT:      <dict>
4434 // CHECK-NEXT:       <key>kind</key><string>control</string>
4435 // CHECK-NEXT:       <key>edges</key>
4436 // CHECK-NEXT:        <array>
4437 // CHECK-NEXT:         <dict>
4438 // CHECK-NEXT:          <key>start</key>
4439 // CHECK-NEXT:           <array>
4440 // CHECK-NEXT:            <dict>
4441 // CHECK-NEXT:             <key>line</key><integer>157</integer>
4442 // CHECK-NEXT:             <key>col</key><integer>22</integer>
4443 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4444 // CHECK-NEXT:            </dict>
4445 // CHECK-NEXT:            <dict>
4446 // CHECK-NEXT:             <key>line</key><integer>157</integer>
4447 // CHECK-NEXT:             <key>col</key><integer>27</integer>
4448 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4449 // CHECK-NEXT:            </dict>
4450 // CHECK-NEXT:           </array>
4451 // CHECK-NEXT:          <key>end</key>
4452 // CHECK-NEXT:           <array>
4453 // CHECK-NEXT:            <dict>
4454 // CHECK-NEXT:             <key>line</key><integer>158</integer>
4455 // CHECK-NEXT:             <key>col</key><integer>12</integer>
4456 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4457 // CHECK-NEXT:            </dict>
4458 // CHECK-NEXT:            <dict>
4459 // CHECK-NEXT:             <key>line</key><integer>158</integer>
4460 // CHECK-NEXT:             <key>col</key><integer>27</integer>
4461 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4462 // CHECK-NEXT:            </dict>
4463 // CHECK-NEXT:           </array>
4464 // CHECK-NEXT:         </dict>
4465 // CHECK-NEXT:        </array>
4466 // CHECK-NEXT:      </dict>
4467 // CHECK-NEXT:      <dict>
4468 // CHECK-NEXT:       <key>kind</key><string>event</string>
4469 // CHECK-NEXT:       <key>location</key>
4470 // CHECK-NEXT:       <dict>
4471 // CHECK-NEXT:        <key>line</key><integer>158</integer>
4472 // CHECK-NEXT:        <key>col</key><integer>12</integer>
4473 // CHECK-NEXT:        <key>file</key><integer>0</integer>
4474 // CHECK-NEXT:       </dict>
4475 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
4476 // CHECK-NEXT:       <key>extended_message</key>
4477 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;x&apos;</string>
4478 // CHECK-NEXT:       <key>message</key>
4479 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;x&apos;</string>
4480 // CHECK-NEXT:      </dict>
4481 // CHECK-NEXT:     </array>
4482 // CHECK-NEXT:     <key>description</key><string>Potential leak of memory pointed to by &apos;x&apos;</string>
4483 // CHECK-NEXT:     <key>category</key><string>Memory Error</string>
4484 // CHECK-NEXT:     <key>type</key><string>Memory leak</string>
4485 // CHECK-NEXT:     <key>check_name</key><string>unix.Malloc</string>
4486 // CHECK-NEXT:     <!-- This hash is experimental and going to change! -->
4487 // CHECK-NEXT:     <key>issue_hash_content_of_line_in_context</key><string>2b0361060027060b94915ff4de8aa782</string>
4488 // CHECK-NEXT:    <key>issue_context_kind</key><string>function</string>
4489 // CHECK-NEXT:    <key>issue_context</key><string>function_with_leak5</string>
4490 // CHECK-NEXT:    <key>issue_hash_function_offset</key><string>1</string>
4491 // CHECK-NEXT:    <key>location</key>
4492 // CHECK-NEXT:    <dict>
4493 // CHECK-NEXT:     <key>line</key><integer>158</integer>
4494 // CHECK-NEXT:     <key>col</key><integer>12</integer>
4495 // CHECK-NEXT:     <key>file</key><integer>0</integer>
4496 // CHECK-NEXT:    </dict>
4497 // CHECK-NEXT:    </dict>
4498 // CHECK-NEXT:    <dict>
4499 // CHECK-NEXT:     <key>path</key>
4500 // CHECK-NEXT:     <array>
4501 // CHECK-NEXT:      <dict>
4502 // CHECK-NEXT:       <key>kind</key><string>event</string>
4503 // CHECK-NEXT:       <key>location</key>
4504 // CHECK-NEXT:       <dict>
4505 // CHECK-NEXT:        <key>line</key><integer>172</integer>
4506 // CHECK-NEXT:        <key>col</key><integer>5</integer>
4507 // CHECK-NEXT:        <key>file</key><integer>0</integer>
4508 // CHECK-NEXT:       </dict>
4509 // CHECK-NEXT:       <key>ranges</key>
4510 // CHECK-NEXT:       <array>
4511 // CHECK-NEXT:         <array>
4512 // CHECK-NEXT:          <dict>
4513 // CHECK-NEXT:           <key>line</key><integer>172</integer>
4514 // CHECK-NEXT:           <key>col</key><integer>5</integer>
4515 // CHECK-NEXT:           <key>file</key><integer>0</integer>
4516 // CHECK-NEXT:          </dict>
4517 // CHECK-NEXT:          <dict>
4518 // CHECK-NEXT:           <key>line</key><integer>172</integer>
4519 // CHECK-NEXT:           <key>col</key><integer>25</integer>
4520 // CHECK-NEXT:           <key>file</key><integer>0</integer>
4521 // CHECK-NEXT:          </dict>
4522 // CHECK-NEXT:         </array>
4523 // CHECK-NEXT:       </array>
4524 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
4525 // CHECK-NEXT:       <key>extended_message</key>
4526 // CHECK-NEXT:       <string>Calling &apos;function_with_leak6&apos;</string>
4527 // CHECK-NEXT:       <key>message</key>
4528 // CHECK-NEXT:       <string>Calling &apos;function_with_leak6&apos;</string>
4529 // CHECK-NEXT:      </dict>
4530 // CHECK-NEXT:      <dict>
4531 // CHECK-NEXT:       <key>kind</key><string>event</string>
4532 // CHECK-NEXT:       <key>location</key>
4533 // CHECK-NEXT:       <dict>
4534 // CHECK-NEXT:        <key>line</key><integer>167</integer>
4535 // CHECK-NEXT:        <key>col</key><integer>1</integer>
4536 // CHECK-NEXT:        <key>file</key><integer>0</integer>
4537 // CHECK-NEXT:       </dict>
4538 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
4539 // CHECK-NEXT:       <key>extended_message</key>
4540 // CHECK-NEXT:       <string>Entered call from &apos;use_function_with_leak6&apos;</string>
4541 // CHECK-NEXT:       <key>message</key>
4542 // CHECK-NEXT:       <string>Entered call from &apos;use_function_with_leak6&apos;</string>
4543 // CHECK-NEXT:      </dict>
4544 // CHECK-NEXT:      <dict>
4545 // CHECK-NEXT:       <key>kind</key><string>control</string>
4546 // CHECK-NEXT:       <key>edges</key>
4547 // CHECK-NEXT:        <array>
4548 // CHECK-NEXT:         <dict>
4549 // CHECK-NEXT:          <key>start</key>
4550 // CHECK-NEXT:           <array>
4551 // CHECK-NEXT:            <dict>
4552 // CHECK-NEXT:             <key>line</key><integer>167</integer>
4553 // CHECK-NEXT:             <key>col</key><integer>1</integer>
4554 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4555 // CHECK-NEXT:            </dict>
4556 // CHECK-NEXT:            <dict>
4557 // CHECK-NEXT:             <key>line</key><integer>167</integer>
4558 // CHECK-NEXT:             <key>col</key><integer>6</integer>
4559 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4560 // CHECK-NEXT:            </dict>
4561 // CHECK-NEXT:           </array>
4562 // CHECK-NEXT:          <key>end</key>
4563 // CHECK-NEXT:           <array>
4564 // CHECK-NEXT:            <dict>
4565 // CHECK-NEXT:             <key>line</key><integer>168</integer>
4566 // CHECK-NEXT:             <key>col</key><integer>5</integer>
4567 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4568 // CHECK-NEXT:            </dict>
4569 // CHECK-NEXT:            <dict>
4570 // CHECK-NEXT:             <key>line</key><integer>168</integer>
4571 // CHECK-NEXT:             <key>col</key><integer>8</integer>
4572 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4573 // CHECK-NEXT:            </dict>
4574 // CHECK-NEXT:           </array>
4575 // CHECK-NEXT:         </dict>
4576 // CHECK-NEXT:        </array>
4577 // CHECK-NEXT:      </dict>
4578 // CHECK-NEXT:      <dict>
4579 // CHECK-NEXT:       <key>kind</key><string>control</string>
4580 // CHECK-NEXT:       <key>edges</key>
4581 // CHECK-NEXT:        <array>
4582 // CHECK-NEXT:         <dict>
4583 // CHECK-NEXT:          <key>start</key>
4584 // CHECK-NEXT:           <array>
4585 // CHECK-NEXT:            <dict>
4586 // CHECK-NEXT:             <key>line</key><integer>168</integer>
4587 // CHECK-NEXT:             <key>col</key><integer>5</integer>
4588 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4589 // CHECK-NEXT:            </dict>
4590 // CHECK-NEXT:            <dict>
4591 // CHECK-NEXT:             <key>line</key><integer>168</integer>
4592 // CHECK-NEXT:             <key>col</key><integer>8</integer>
4593 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4594 // CHECK-NEXT:            </dict>
4595 // CHECK-NEXT:           </array>
4596 // CHECK-NEXT:          <key>end</key>
4597 // CHECK-NEXT:           <array>
4598 // CHECK-NEXT:            <dict>
4599 // CHECK-NEXT:             <key>line</key><integer>168</integer>
4600 // CHECK-NEXT:             <key>col</key><integer>22</integer>
4601 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4602 // CHECK-NEXT:            </dict>
4603 // CHECK-NEXT:            <dict>
4604 // CHECK-NEXT:             <key>line</key><integer>168</integer>
4605 // CHECK-NEXT:             <key>col</key><integer>27</integer>
4606 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4607 // CHECK-NEXT:            </dict>
4608 // CHECK-NEXT:           </array>
4609 // CHECK-NEXT:         </dict>
4610 // CHECK-NEXT:        </array>
4611 // CHECK-NEXT:      </dict>
4612 // CHECK-NEXT:      <dict>
4613 // CHECK-NEXT:       <key>kind</key><string>event</string>
4614 // CHECK-NEXT:       <key>location</key>
4615 // CHECK-NEXT:       <dict>
4616 // CHECK-NEXT:        <key>line</key><integer>168</integer>
4617 // CHECK-NEXT:        <key>col</key><integer>22</integer>
4618 // CHECK-NEXT:        <key>file</key><integer>0</integer>
4619 // CHECK-NEXT:       </dict>
4620 // CHECK-NEXT:       <key>ranges</key>
4621 // CHECK-NEXT:       <array>
4622 // CHECK-NEXT:         <array>
4623 // CHECK-NEXT:          <dict>
4624 // CHECK-NEXT:           <key>line</key><integer>168</integer>
4625 // CHECK-NEXT:           <key>col</key><integer>22</integer>
4626 // CHECK-NEXT:           <key>file</key><integer>0</integer>
4627 // CHECK-NEXT:          </dict>
4628 // CHECK-NEXT:          <dict>
4629 // CHECK-NEXT:           <key>line</key><integer>168</integer>
4630 // CHECK-NEXT:           <key>col</key><integer>31</integer>
4631 // CHECK-NEXT:           <key>file</key><integer>0</integer>
4632 // CHECK-NEXT:          </dict>
4633 // CHECK-NEXT:         </array>
4634 // CHECK-NEXT:       </array>
4635 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
4636 // CHECK-NEXT:       <key>extended_message</key>
4637 // CHECK-NEXT:       <string>Memory is allocated</string>
4638 // CHECK-NEXT:       <key>message</key>
4639 // CHECK-NEXT:       <string>Memory is allocated</string>
4640 // CHECK-NEXT:      </dict>
4641 // CHECK-NEXT:      <dict>
4642 // CHECK-NEXT:       <key>kind</key><string>control</string>
4643 // CHECK-NEXT:       <key>edges</key>
4644 // CHECK-NEXT:        <array>
4645 // CHECK-NEXT:         <dict>
4646 // CHECK-NEXT:          <key>start</key>
4647 // CHECK-NEXT:           <array>
4648 // CHECK-NEXT:            <dict>
4649 // CHECK-NEXT:             <key>line</key><integer>168</integer>
4650 // CHECK-NEXT:             <key>col</key><integer>22</integer>
4651 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4652 // CHECK-NEXT:            </dict>
4653 // CHECK-NEXT:            <dict>
4654 // CHECK-NEXT:             <key>line</key><integer>168</integer>
4655 // CHECK-NEXT:             <key>col</key><integer>27</integer>
4656 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4657 // CHECK-NEXT:            </dict>
4658 // CHECK-NEXT:           </array>
4659 // CHECK-NEXT:          <key>end</key>
4660 // CHECK-NEXT:           <array>
4661 // CHECK-NEXT:            <dict>
4662 // CHECK-NEXT:             <key>line</key><integer>169</integer>
4663 // CHECK-NEXT:             <key>col</key><integer>5</integer>
4664 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4665 // CHECK-NEXT:            </dict>
4666 // CHECK-NEXT:            <dict>
4667 // CHECK-NEXT:             <key>line</key><integer>169</integer>
4668 // CHECK-NEXT:             <key>col</key><integer>20</integer>
4669 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4670 // CHECK-NEXT:            </dict>
4671 // CHECK-NEXT:           </array>
4672 // CHECK-NEXT:         </dict>
4673 // CHECK-NEXT:        </array>
4674 // CHECK-NEXT:      </dict>
4675 // CHECK-NEXT:      <dict>
4676 // CHECK-NEXT:       <key>kind</key><string>event</string>
4677 // CHECK-NEXT:       <key>location</key>
4678 // CHECK-NEXT:       <dict>
4679 // CHECK-NEXT:        <key>line</key><integer>169</integer>
4680 // CHECK-NEXT:        <key>col</key><integer>5</integer>
4681 // CHECK-NEXT:        <key>file</key><integer>0</integer>
4682 // CHECK-NEXT:       </dict>
4683 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
4684 // CHECK-NEXT:       <key>extended_message</key>
4685 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;x&apos;</string>
4686 // CHECK-NEXT:       <key>message</key>
4687 // CHECK-NEXT:       <string>Potential leak of memory pointed to by &apos;x&apos;</string>
4688 // CHECK-NEXT:      </dict>
4689 // CHECK-NEXT:     </array>
4690 // CHECK-NEXT:     <key>description</key><string>Potential leak of memory pointed to by &apos;x&apos;</string>
4691 // CHECK-NEXT:     <key>category</key><string>Memory Error</string>
4692 // CHECK-NEXT:     <key>type</key><string>Memory leak</string>
4693 // CHECK-NEXT:     <key>check_name</key><string>unix.Malloc</string>
4694 // CHECK-NEXT:     <!-- This hash is experimental and going to change! -->
4695 // CHECK-NEXT:     <key>issue_hash_content_of_line_in_context</key><string>73f573faa903ad4308d5155ef979cf31</string>
4696 // CHECK-NEXT:    <key>issue_context_kind</key><string>function</string>
4697 // CHECK-NEXT:    <key>issue_context</key><string>function_with_leak6</string>
4698 // CHECK-NEXT:    <key>issue_hash_function_offset</key><string>1</string>
4699 // CHECK-NEXT:    <key>location</key>
4700 // CHECK-NEXT:    <dict>
4701 // CHECK-NEXT:     <key>line</key><integer>169</integer>
4702 // CHECK-NEXT:     <key>col</key><integer>5</integer>
4703 // CHECK-NEXT:     <key>file</key><integer>0</integer>
4704 // CHECK-NEXT:    </dict>
4705 // CHECK-NEXT:    </dict>
4706 // CHECK-NEXT:    <dict>
4707 // CHECK-NEXT:     <key>path</key>
4708 // CHECK-NEXT:     <array>
4709 // CHECK-NEXT:      <dict>
4710 // CHECK-NEXT:       <key>kind</key><string>event</string>
4711 // CHECK-NEXT:       <key>location</key>
4712 // CHECK-NEXT:       <dict>
4713 // CHECK-NEXT:        <key>line</key><integer>184</integer>
4714 // CHECK-NEXT:        <key>col</key><integer>5</integer>
4715 // CHECK-NEXT:        <key>file</key><integer>0</integer>
4716 // CHECK-NEXT:       </dict>
4717 // CHECK-NEXT:       <key>ranges</key>
4718 // CHECK-NEXT:       <array>
4719 // CHECK-NEXT:         <array>
4720 // CHECK-NEXT:          <dict>
4721 // CHECK-NEXT:           <key>line</key><integer>184</integer>
4722 // CHECK-NEXT:           <key>col</key><integer>5</integer>
4723 // CHECK-NEXT:           <key>file</key><integer>0</integer>
4724 // CHECK-NEXT:          </dict>
4725 // CHECK-NEXT:          <dict>
4726 // CHECK-NEXT:           <key>line</key><integer>184</integer>
4727 // CHECK-NEXT:           <key>col</key><integer>25</integer>
4728 // CHECK-NEXT:           <key>file</key><integer>0</integer>
4729 // CHECK-NEXT:          </dict>
4730 // CHECK-NEXT:         </array>
4731 // CHECK-NEXT:       </array>
4732 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
4733 // CHECK-NEXT:       <key>extended_message</key>
4734 // CHECK-NEXT:       <string>Calling &apos;function_with_leak7&apos;</string>
4735 // CHECK-NEXT:       <key>message</key>
4736 // CHECK-NEXT:       <string>Calling &apos;function_with_leak7&apos;</string>
4737 // CHECK-NEXT:      </dict>
4738 // CHECK-NEXT:      <dict>
4739 // CHECK-NEXT:       <key>kind</key><string>event</string>
4740 // CHECK-NEXT:       <key>location</key>
4741 // CHECK-NEXT:       <dict>
4742 // CHECK-NEXT:        <key>line</key><integer>180</integer>
4743 // CHECK-NEXT:        <key>col</key><integer>1</integer>
4744 // CHECK-NEXT:        <key>file</key><integer>0</integer>
4745 // CHECK-NEXT:       </dict>
4746 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
4747 // CHECK-NEXT:       <key>extended_message</key>
4748 // CHECK-NEXT:       <string>Entered call from &apos;use_function_with_leak7&apos;</string>
4749 // CHECK-NEXT:       <key>message</key>
4750 // CHECK-NEXT:       <string>Entered call from &apos;use_function_with_leak7&apos;</string>
4751 // CHECK-NEXT:      </dict>
4752 // CHECK-NEXT:      <dict>
4753 // CHECK-NEXT:       <key>kind</key><string>control</string>
4754 // CHECK-NEXT:       <key>edges</key>
4755 // CHECK-NEXT:        <array>
4756 // CHECK-NEXT:         <dict>
4757 // CHECK-NEXT:          <key>start</key>
4758 // CHECK-NEXT:           <array>
4759 // CHECK-NEXT:            <dict>
4760 // CHECK-NEXT:             <key>line</key><integer>180</integer>
4761 // CHECK-NEXT:             <key>col</key><integer>1</integer>
4762 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4763 // CHECK-NEXT:            </dict>
4764 // CHECK-NEXT:            <dict>
4765 // CHECK-NEXT:             <key>line</key><integer>180</integer>
4766 // CHECK-NEXT:             <key>col</key><integer>6</integer>
4767 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4768 // CHECK-NEXT:            </dict>
4769 // CHECK-NEXT:           </array>
4770 // CHECK-NEXT:          <key>end</key>
4771 // CHECK-NEXT:           <array>
4772 // CHECK-NEXT:            <dict>
4773 // CHECK-NEXT:             <key>line</key><integer>181</integer>
4774 // CHECK-NEXT:             <key>col</key><integer>5</integer>
4775 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4776 // CHECK-NEXT:            </dict>
4777 // CHECK-NEXT:            <dict>
4778 // CHECK-NEXT:             <key>line</key><integer>181</integer>
4779 // CHECK-NEXT:             <key>col</key><integer>10</integer>
4780 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4781 // CHECK-NEXT:            </dict>
4782 // CHECK-NEXT:           </array>
4783 // CHECK-NEXT:         </dict>
4784 // CHECK-NEXT:        </array>
4785 // CHECK-NEXT:      </dict>
4786 // CHECK-NEXT:      <dict>
4787 // CHECK-NEXT:       <key>kind</key><string>control</string>
4788 // CHECK-NEXT:       <key>edges</key>
4789 // CHECK-NEXT:        <array>
4790 // CHECK-NEXT:         <dict>
4791 // CHECK-NEXT:          <key>start</key>
4792 // CHECK-NEXT:           <array>
4793 // CHECK-NEXT:            <dict>
4794 // CHECK-NEXT:             <key>line</key><integer>181</integer>
4795 // CHECK-NEXT:             <key>col</key><integer>5</integer>
4796 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4797 // CHECK-NEXT:            </dict>
4798 // CHECK-NEXT:            <dict>
4799 // CHECK-NEXT:             <key>line</key><integer>181</integer>
4800 // CHECK-NEXT:             <key>col</key><integer>10</integer>
4801 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4802 // CHECK-NEXT:            </dict>
4803 // CHECK-NEXT:           </array>
4804 // CHECK-NEXT:          <key>end</key>
4805 // CHECK-NEXT:           <array>
4806 // CHECK-NEXT:            <dict>
4807 // CHECK-NEXT:             <key>line</key><integer>181</integer>
4808 // CHECK-NEXT:             <key>col</key><integer>19</integer>
4809 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4810 // CHECK-NEXT:            </dict>
4811 // CHECK-NEXT:            <dict>
4812 // CHECK-NEXT:             <key>line</key><integer>181</integer>
4813 // CHECK-NEXT:             <key>col</key><integer>24</integer>
4814 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4815 // CHECK-NEXT:            </dict>
4816 // CHECK-NEXT:           </array>
4817 // CHECK-NEXT:         </dict>
4818 // CHECK-NEXT:        </array>
4819 // CHECK-NEXT:      </dict>
4820 // CHECK-NEXT:      <dict>
4821 // CHECK-NEXT:       <key>kind</key><string>event</string>
4822 // CHECK-NEXT:       <key>location</key>
4823 // CHECK-NEXT:       <dict>
4824 // CHECK-NEXT:        <key>line</key><integer>181</integer>
4825 // CHECK-NEXT:        <key>col</key><integer>19</integer>
4826 // CHECK-NEXT:        <key>file</key><integer>0</integer>
4827 // CHECK-NEXT:       </dict>
4828 // CHECK-NEXT:       <key>ranges</key>
4829 // CHECK-NEXT:       <array>
4830 // CHECK-NEXT:         <array>
4831 // CHECK-NEXT:          <dict>
4832 // CHECK-NEXT:           <key>line</key><integer>181</integer>
4833 // CHECK-NEXT:           <key>col</key><integer>19</integer>
4834 // CHECK-NEXT:           <key>file</key><integer>0</integer>
4835 // CHECK-NEXT:          </dict>
4836 // CHECK-NEXT:          <dict>
4837 // CHECK-NEXT:           <key>line</key><integer>181</integer>
4838 // CHECK-NEXT:           <key>col</key><integer>28</integer>
4839 // CHECK-NEXT:           <key>file</key><integer>0</integer>
4840 // CHECK-NEXT:          </dict>
4841 // CHECK-NEXT:         </array>
4842 // CHECK-NEXT:       </array>
4843 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
4844 // CHECK-NEXT:       <key>extended_message</key>
4845 // CHECK-NEXT:       <string>Memory is allocated</string>
4846 // CHECK-NEXT:       <key>message</key>
4847 // CHECK-NEXT:       <string>Memory is allocated</string>
4848 // CHECK-NEXT:      </dict>
4849 // CHECK-NEXT:      <dict>
4850 // CHECK-NEXT:       <key>kind</key><string>event</string>
4851 // CHECK-NEXT:       <key>location</key>
4852 // CHECK-NEXT:       <dict>
4853 // CHECK-NEXT:        <key>line</key><integer>184</integer>
4854 // CHECK-NEXT:        <key>col</key><integer>5</integer>
4855 // CHECK-NEXT:        <key>file</key><integer>0</integer>
4856 // CHECK-NEXT:       </dict>
4857 // CHECK-NEXT:       <key>ranges</key>
4858 // CHECK-NEXT:       <array>
4859 // CHECK-NEXT:         <array>
4860 // CHECK-NEXT:          <dict>
4861 // CHECK-NEXT:           <key>line</key><integer>184</integer>
4862 // CHECK-NEXT:           <key>col</key><integer>5</integer>
4863 // CHECK-NEXT:           <key>file</key><integer>0</integer>
4864 // CHECK-NEXT:          </dict>
4865 // CHECK-NEXT:          <dict>
4866 // CHECK-NEXT:           <key>line</key><integer>184</integer>
4867 // CHECK-NEXT:           <key>col</key><integer>25</integer>
4868 // CHECK-NEXT:           <key>file</key><integer>0</integer>
4869 // CHECK-NEXT:          </dict>
4870 // CHECK-NEXT:         </array>
4871 // CHECK-NEXT:       </array>
4872 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
4873 // CHECK-NEXT:       <key>extended_message</key>
4874 // CHECK-NEXT:       <string>Returned allocated memory</string>
4875 // CHECK-NEXT:       <key>message</key>
4876 // CHECK-NEXT:       <string>Returned allocated memory</string>
4877 // CHECK-NEXT:      </dict>
4878 // CHECK-NEXT:      <dict>
4879 // CHECK-NEXT:       <key>kind</key><string>control</string>
4880 // CHECK-NEXT:       <key>edges</key>
4881 // CHECK-NEXT:        <array>
4882 // CHECK-NEXT:         <dict>
4883 // CHECK-NEXT:          <key>start</key>
4884 // CHECK-NEXT:           <array>
4885 // CHECK-NEXT:            <dict>
4886 // CHECK-NEXT:             <key>line</key><integer>184</integer>
4887 // CHECK-NEXT:             <key>col</key><integer>5</integer>
4888 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4889 // CHECK-NEXT:            </dict>
4890 // CHECK-NEXT:            <dict>
4891 // CHECK-NEXT:             <key>line</key><integer>184</integer>
4892 // CHECK-NEXT:             <key>col</key><integer>23</integer>
4893 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4894 // CHECK-NEXT:            </dict>
4895 // CHECK-NEXT:           </array>
4896 // CHECK-NEXT:          <key>end</key>
4897 // CHECK-NEXT:           <array>
4898 // CHECK-NEXT:            <dict>
4899 // CHECK-NEXT:             <key>line</key><integer>185</integer>
4900 // CHECK-NEXT:             <key>col</key><integer>1</integer>
4901 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4902 // CHECK-NEXT:            </dict>
4903 // CHECK-NEXT:            <dict>
4904 // CHECK-NEXT:             <key>line</key><integer>185</integer>
4905 // CHECK-NEXT:             <key>col</key><integer>1</integer>
4906 // CHECK-NEXT:             <key>file</key><integer>0</integer>
4907 // CHECK-NEXT:            </dict>
4908 // CHECK-NEXT:           </array>
4909 // CHECK-NEXT:         </dict>
4910 // CHECK-NEXT:        </array>
4911 // CHECK-NEXT:      </dict>
4912 // CHECK-NEXT:      <dict>
4913 // CHECK-NEXT:       <key>kind</key><string>event</string>
4914 // CHECK-NEXT:       <key>location</key>
4915 // CHECK-NEXT:       <dict>
4916 // CHECK-NEXT:        <key>line</key><integer>185</integer>
4917 // CHECK-NEXT:        <key>col</key><integer>1</integer>
4918 // CHECK-NEXT:        <key>file</key><integer>0</integer>
4919 // CHECK-NEXT:       </dict>
4920 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
4921 // CHECK-NEXT:       <key>extended_message</key>
4922 // CHECK-NEXT:       <string>Potential memory leak</string>
4923 // CHECK-NEXT:       <key>message</key>
4924 // CHECK-NEXT:       <string>Potential memory leak</string>
4925 // CHECK-NEXT:      </dict>
4926 // CHECK-NEXT:     </array>
4927 // CHECK-NEXT:     <key>description</key><string>Potential memory leak</string>
4928 // CHECK-NEXT:     <key>category</key><string>Memory Error</string>
4929 // CHECK-NEXT:     <key>type</key><string>Memory leak</string>
4930 // CHECK-NEXT:     <key>check_name</key><string>unix.Malloc</string>
4931 // CHECK-NEXT:     <!-- This hash is experimental and going to change! -->
4932 // CHECK-NEXT:     <key>issue_hash_content_of_line_in_context</key><string>eb5628850b9b9118fbda903e721436a5</string>
4933 // CHECK-NEXT:    <key>issue_context_kind</key><string>function</string>
4934 // CHECK-NEXT:    <key>issue_context</key><string>use_function_with_leak7</string>
4935 // CHECK-NEXT:    <key>issue_hash_function_offset</key><string>1</string>
4936 // CHECK-NEXT:    <key>location</key>
4937 // CHECK-NEXT:    <dict>
4938 // CHECK-NEXT:     <key>line</key><integer>185</integer>
4939 // CHECK-NEXT:     <key>col</key><integer>1</integer>
4940 // CHECK-NEXT:     <key>file</key><integer>0</integer>
4941 // CHECK-NEXT:    </dict>
4942 // CHECK-NEXT:    </dict>
4943 // CHECK-NEXT:    <dict>
4944 // CHECK-NEXT:     <key>path</key>
4945 // CHECK-NEXT:     <array>
4946 // CHECK-NEXT:      <dict>
4947 // CHECK-NEXT:       <key>kind</key><string>event</string>
4948 // CHECK-NEXT:       <key>location</key>
4949 // CHECK-NEXT:       <dict>
4950 // CHECK-NEXT:        <key>line</key><integer>194</integer>
4951 // CHECK-NEXT:        <key>col</key><integer>3</integer>
4952 // CHECK-NEXT:        <key>file</key><integer>0</integer>
4953 // CHECK-NEXT:       </dict>
4954 // CHECK-NEXT:       <key>ranges</key>
4955 // CHECK-NEXT:       <array>
4956 // CHECK-NEXT:         <array>
4957 // CHECK-NEXT:          <dict>
4958 // CHECK-NEXT:           <key>line</key><integer>194</integer>
4959 // CHECK-NEXT:           <key>col</key><integer>3</integer>
4960 // CHECK-NEXT:           <key>file</key><integer>0</integer>
4961 // CHECK-NEXT:          </dict>
4962 // CHECK-NEXT:          <dict>
4963 // CHECK-NEXT:           <key>line</key><integer>194</integer>
4964 // CHECK-NEXT:           <key>col</key><integer>13</integer>
4965 // CHECK-NEXT:           <key>file</key><integer>0</integer>
4966 // CHECK-NEXT:          </dict>
4967 // CHECK-NEXT:         </array>
4968 // CHECK-NEXT:       </array>
4969 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
4970 // CHECK-NEXT:       <key>extended_message</key>
4971 // CHECK-NEXT:       <string>Calling &apos;my_malloc&apos;</string>
4972 // CHECK-NEXT:       <key>message</key>
4973 // CHECK-NEXT:       <string>Calling &apos;my_malloc&apos;</string>
4974 // CHECK-NEXT:      </dict>
4975 // CHECK-NEXT:      <dict>
4976 // CHECK-NEXT:       <key>kind</key><string>event</string>
4977 // CHECK-NEXT:       <key>location</key>
4978 // CHECK-NEXT:       <dict>
4979 // CHECK-NEXT:        <key>line</key><integer>189</integer>
4980 // CHECK-NEXT:        <key>col</key><integer>1</integer>
4981 // CHECK-NEXT:        <key>file</key><integer>0</integer>
4982 // CHECK-NEXT:       </dict>
4983 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
4984 // CHECK-NEXT:       <key>extended_message</key>
4985 // CHECK-NEXT:       <string>Entered call from &apos;testOnlyRefferToVisibleVariables&apos;</string>
4986 // CHECK-NEXT:       <key>message</key>
4987 // CHECK-NEXT:       <string>Entered call from &apos;testOnlyRefferToVisibleVariables&apos;</string>
4988 // CHECK-NEXT:      </dict>
4989 // CHECK-NEXT:      <dict>
4990 // CHECK-NEXT:       <key>kind</key><string>control</string>
4991 // CHECK-NEXT:       <key>edges</key>
4992 // CHECK-NEXT:        <array>
4993 // CHECK-NEXT:         <dict>
4994 // CHECK-NEXT:          <key>start</key>
4995 // CHECK-NEXT:           <array>
4996 // CHECK-NEXT:            <dict>
4997 // CHECK-NEXT:             <key>line</key><integer>189</integer>
4998 // CHECK-NEXT:             <key>col</key><integer>1</integer>
4999 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5000 // CHECK-NEXT:            </dict>
5001 // CHECK-NEXT:            <dict>
5002 // CHECK-NEXT:             <key>line</key><integer>189</integer>
5003 // CHECK-NEXT:             <key>col</key><integer>3</integer>
5004 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5005 // CHECK-NEXT:            </dict>
5006 // CHECK-NEXT:           </array>
5007 // CHECK-NEXT:          <key>end</key>
5008 // CHECK-NEXT:           <array>
5009 // CHECK-NEXT:            <dict>
5010 // CHECK-NEXT:             <key>line</key><integer>190</integer>
5011 // CHECK-NEXT:             <key>col</key><integer>3</integer>
5012 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5013 // CHECK-NEXT:            </dict>
5014 // CHECK-NEXT:            <dict>
5015 // CHECK-NEXT:             <key>line</key><integer>190</integer>
5016 // CHECK-NEXT:             <key>col</key><integer>5</integer>
5017 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5018 // CHECK-NEXT:            </dict>
5019 // CHECK-NEXT:           </array>
5020 // CHECK-NEXT:         </dict>
5021 // CHECK-NEXT:        </array>
5022 // CHECK-NEXT:      </dict>
5023 // CHECK-NEXT:      <dict>
5024 // CHECK-NEXT:       <key>kind</key><string>control</string>
5025 // CHECK-NEXT:       <key>edges</key>
5026 // CHECK-NEXT:        <array>
5027 // CHECK-NEXT:         <dict>
5028 // CHECK-NEXT:          <key>start</key>
5029 // CHECK-NEXT:           <array>
5030 // CHECK-NEXT:            <dict>
5031 // CHECK-NEXT:             <key>line</key><integer>190</integer>
5032 // CHECK-NEXT:             <key>col</key><integer>3</integer>
5033 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5034 // CHECK-NEXT:            </dict>
5035 // CHECK-NEXT:            <dict>
5036 // CHECK-NEXT:             <key>line</key><integer>190</integer>
5037 // CHECK-NEXT:             <key>col</key><integer>5</integer>
5038 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5039 // CHECK-NEXT:            </dict>
5040 // CHECK-NEXT:           </array>
5041 // CHECK-NEXT:          <key>end</key>
5042 // CHECK-NEXT:           <array>
5043 // CHECK-NEXT:            <dict>
5044 // CHECK-NEXT:             <key>line</key><integer>190</integer>
5045 // CHECK-NEXT:             <key>col</key><integer>12</integer>
5046 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5047 // CHECK-NEXT:            </dict>
5048 // CHECK-NEXT:            <dict>
5049 // CHECK-NEXT:             <key>line</key><integer>190</integer>
5050 // CHECK-NEXT:             <key>col</key><integer>17</integer>
5051 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5052 // CHECK-NEXT:            </dict>
5053 // CHECK-NEXT:           </array>
5054 // CHECK-NEXT:         </dict>
5055 // CHECK-NEXT:        </array>
5056 // CHECK-NEXT:      </dict>
5057 // CHECK-NEXT:      <dict>
5058 // CHECK-NEXT:       <key>kind</key><string>event</string>
5059 // CHECK-NEXT:       <key>location</key>
5060 // CHECK-NEXT:       <dict>
5061 // CHECK-NEXT:        <key>line</key><integer>190</integer>
5062 // CHECK-NEXT:        <key>col</key><integer>12</integer>
5063 // CHECK-NEXT:        <key>file</key><integer>0</integer>
5064 // CHECK-NEXT:       </dict>
5065 // CHECK-NEXT:       <key>ranges</key>
5066 // CHECK-NEXT:       <array>
5067 // CHECK-NEXT:         <array>
5068 // CHECK-NEXT:          <dict>
5069 // CHECK-NEXT:           <key>line</key><integer>190</integer>
5070 // CHECK-NEXT:           <key>col</key><integer>12</integer>
5071 // CHECK-NEXT:           <key>file</key><integer>0</integer>
5072 // CHECK-NEXT:          </dict>
5073 // CHECK-NEXT:          <dict>
5074 // CHECK-NEXT:           <key>line</key><integer>190</integer>
5075 // CHECK-NEXT:           <key>col</key><integer>21</integer>
5076 // CHECK-NEXT:           <key>file</key><integer>0</integer>
5077 // CHECK-NEXT:          </dict>
5078 // CHECK-NEXT:         </array>
5079 // CHECK-NEXT:       </array>
5080 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
5081 // CHECK-NEXT:       <key>extended_message</key>
5082 // CHECK-NEXT:       <string>Memory is allocated</string>
5083 // CHECK-NEXT:       <key>message</key>
5084 // CHECK-NEXT:       <string>Memory is allocated</string>
5085 // CHECK-NEXT:      </dict>
5086 // CHECK-NEXT:      <dict>
5087 // CHECK-NEXT:       <key>kind</key><string>event</string>
5088 // CHECK-NEXT:       <key>location</key>
5089 // CHECK-NEXT:       <dict>
5090 // CHECK-NEXT:        <key>line</key><integer>194</integer>
5091 // CHECK-NEXT:        <key>col</key><integer>3</integer>
5092 // CHECK-NEXT:        <key>file</key><integer>0</integer>
5093 // CHECK-NEXT:       </dict>
5094 // CHECK-NEXT:       <key>ranges</key>
5095 // CHECK-NEXT:       <array>
5096 // CHECK-NEXT:         <array>
5097 // CHECK-NEXT:          <dict>
5098 // CHECK-NEXT:           <key>line</key><integer>194</integer>
5099 // CHECK-NEXT:           <key>col</key><integer>3</integer>
5100 // CHECK-NEXT:           <key>file</key><integer>0</integer>
5101 // CHECK-NEXT:          </dict>
5102 // CHECK-NEXT:          <dict>
5103 // CHECK-NEXT:           <key>line</key><integer>194</integer>
5104 // CHECK-NEXT:           <key>col</key><integer>13</integer>
5105 // CHECK-NEXT:           <key>file</key><integer>0</integer>
5106 // CHECK-NEXT:          </dict>
5107 // CHECK-NEXT:         </array>
5108 // CHECK-NEXT:       </array>
5109 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
5110 // CHECK-NEXT:       <key>extended_message</key>
5111 // CHECK-NEXT:       <string>Returned allocated memory</string>
5112 // CHECK-NEXT:       <key>message</key>
5113 // CHECK-NEXT:       <string>Returned allocated memory</string>
5114 // CHECK-NEXT:      </dict>
5115 // CHECK-NEXT:      <dict>
5116 // CHECK-NEXT:       <key>kind</key><string>control</string>
5117 // CHECK-NEXT:       <key>edges</key>
5118 // CHECK-NEXT:        <array>
5119 // CHECK-NEXT:         <dict>
5120 // CHECK-NEXT:          <key>start</key>
5121 // CHECK-NEXT:           <array>
5122 // CHECK-NEXT:            <dict>
5123 // CHECK-NEXT:             <key>line</key><integer>194</integer>
5124 // CHECK-NEXT:             <key>col</key><integer>3</integer>
5125 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5126 // CHECK-NEXT:            </dict>
5127 // CHECK-NEXT:            <dict>
5128 // CHECK-NEXT:             <key>line</key><integer>194</integer>
5129 // CHECK-NEXT:             <key>col</key><integer>11</integer>
5130 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5131 // CHECK-NEXT:            </dict>
5132 // CHECK-NEXT:           </array>
5133 // CHECK-NEXT:          <key>end</key>
5134 // CHECK-NEXT:           <array>
5135 // CHECK-NEXT:            <dict>
5136 // CHECK-NEXT:             <key>line</key><integer>195</integer>
5137 // CHECK-NEXT:             <key>col</key><integer>1</integer>
5138 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5139 // CHECK-NEXT:            </dict>
5140 // CHECK-NEXT:            <dict>
5141 // CHECK-NEXT:             <key>line</key><integer>195</integer>
5142 // CHECK-NEXT:             <key>col</key><integer>1</integer>
5143 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5144 // CHECK-NEXT:            </dict>
5145 // CHECK-NEXT:           </array>
5146 // CHECK-NEXT:         </dict>
5147 // CHECK-NEXT:        </array>
5148 // CHECK-NEXT:      </dict>
5149 // CHECK-NEXT:      <dict>
5150 // CHECK-NEXT:       <key>kind</key><string>event</string>
5151 // CHECK-NEXT:       <key>location</key>
5152 // CHECK-NEXT:       <dict>
5153 // CHECK-NEXT:        <key>line</key><integer>195</integer>
5154 // CHECK-NEXT:        <key>col</key><integer>1</integer>
5155 // CHECK-NEXT:        <key>file</key><integer>0</integer>
5156 // CHECK-NEXT:       </dict>
5157 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
5158 // CHECK-NEXT:       <key>extended_message</key>
5159 // CHECK-NEXT:       <string>Potential memory leak</string>
5160 // CHECK-NEXT:       <key>message</key>
5161 // CHECK-NEXT:       <string>Potential memory leak</string>
5162 // CHECK-NEXT:      </dict>
5163 // CHECK-NEXT:     </array>
5164 // CHECK-NEXT:     <key>description</key><string>Potential memory leak</string>
5165 // CHECK-NEXT:     <key>category</key><string>Memory Error</string>
5166 // CHECK-NEXT:     <key>type</key><string>Memory leak</string>
5167 // CHECK-NEXT:     <key>check_name</key><string>unix.Malloc</string>
5168 // CHECK-NEXT:     <!-- This hash is experimental and going to change! -->
5169 // CHECK-NEXT:     <key>issue_hash_content_of_line_in_context</key><string>ad5b603037bc3581ff94947e86dbb1c8</string>
5170 // CHECK-NEXT:    <key>issue_context_kind</key><string>function</string>
5171 // CHECK-NEXT:    <key>issue_context</key><string>testOnlyRefferToVisibleVariables</string>
5172 // CHECK-NEXT:    <key>issue_hash_function_offset</key><string>1</string>
5173 // CHECK-NEXT:    <key>location</key>
5174 // CHECK-NEXT:    <dict>
5175 // CHECK-NEXT:     <key>line</key><integer>195</integer>
5176 // CHECK-NEXT:     <key>col</key><integer>1</integer>
5177 // CHECK-NEXT:     <key>file</key><integer>0</integer>
5178 // CHECK-NEXT:    </dict>
5179 // CHECK-NEXT:    </dict>
5180 // CHECK-NEXT:    <dict>
5181 // CHECK-NEXT:     <key>path</key>
5182 // CHECK-NEXT:     <array>
5183 // CHECK-NEXT:      <dict>
5184 // CHECK-NEXT:       <key>kind</key><string>event</string>
5185 // CHECK-NEXT:       <key>location</key>
5186 // CHECK-NEXT:       <dict>
5187 // CHECK-NEXT:        <key>line</key><integer>206</integer>
5188 // CHECK-NEXT:        <key>col</key><integer>3</integer>
5189 // CHECK-NEXT:        <key>file</key><integer>0</integer>
5190 // CHECK-NEXT:       </dict>
5191 // CHECK-NEXT:       <key>ranges</key>
5192 // CHECK-NEXT:       <array>
5193 // CHECK-NEXT:         <array>
5194 // CHECK-NEXT:          <dict>
5195 // CHECK-NEXT:           <key>line</key><integer>206</integer>
5196 // CHECK-NEXT:           <key>col</key><integer>3</integer>
5197 // CHECK-NEXT:           <key>file</key><integer>0</integer>
5198 // CHECK-NEXT:          </dict>
5199 // CHECK-NEXT:          <dict>
5200 // CHECK-NEXT:           <key>line</key><integer>206</integer>
5201 // CHECK-NEXT:           <key>col</key><integer>25</integer>
5202 // CHECK-NEXT:           <key>file</key><integer>0</integer>
5203 // CHECK-NEXT:          </dict>
5204 // CHECK-NEXT:         </array>
5205 // CHECK-NEXT:       </array>
5206 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
5207 // CHECK-NEXT:       <key>extended_message</key>
5208 // CHECK-NEXT:       <string>Calling &apos;my_malloc_into_struct&apos;</string>
5209 // CHECK-NEXT:       <key>message</key>
5210 // CHECK-NEXT:       <string>Calling &apos;my_malloc_into_struct&apos;</string>
5211 // CHECK-NEXT:      </dict>
5212 // CHECK-NEXT:      <dict>
5213 // CHECK-NEXT:       <key>kind</key><string>event</string>
5214 // CHECK-NEXT:       <key>location</key>
5215 // CHECK-NEXT:       <dict>
5216 // CHECK-NEXT:        <key>line</key><integer>200</integer>
5217 // CHECK-NEXT:        <key>col</key><integer>1</integer>
5218 // CHECK-NEXT:        <key>file</key><integer>0</integer>
5219 // CHECK-NEXT:       </dict>
5220 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
5221 // CHECK-NEXT:       <key>extended_message</key>
5222 // CHECK-NEXT:       <string>Entered call from &apos;testMyMalloc&apos;</string>
5223 // CHECK-NEXT:       <key>message</key>
5224 // CHECK-NEXT:       <string>Entered call from &apos;testMyMalloc&apos;</string>
5225 // CHECK-NEXT:      </dict>
5226 // CHECK-NEXT:      <dict>
5227 // CHECK-NEXT:       <key>kind</key><string>control</string>
5228 // CHECK-NEXT:       <key>edges</key>
5229 // CHECK-NEXT:        <array>
5230 // CHECK-NEXT:         <dict>
5231 // CHECK-NEXT:          <key>start</key>
5232 // CHECK-NEXT:           <array>
5233 // CHECK-NEXT:            <dict>
5234 // CHECK-NEXT:             <key>line</key><integer>200</integer>
5235 // CHECK-NEXT:             <key>col</key><integer>1</integer>
5236 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5237 // CHECK-NEXT:            </dict>
5238 // CHECK-NEXT:            <dict>
5239 // CHECK-NEXT:             <key>line</key><integer>200</integer>
5240 // CHECK-NEXT:             <key>col</key><integer>3</integer>
5241 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5242 // CHECK-NEXT:            </dict>
5243 // CHECK-NEXT:           </array>
5244 // CHECK-NEXT:          <key>end</key>
5245 // CHECK-NEXT:           <array>
5246 // CHECK-NEXT:            <dict>
5247 // CHECK-NEXT:             <key>line</key><integer>201</integer>
5248 // CHECK-NEXT:             <key>col</key><integer>3</integer>
5249 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5250 // CHECK-NEXT:            </dict>
5251 // CHECK-NEXT:            <dict>
5252 // CHECK-NEXT:             <key>line</key><integer>201</integer>
5253 // CHECK-NEXT:             <key>col</key><integer>8</integer>
5254 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5255 // CHECK-NEXT:            </dict>
5256 // CHECK-NEXT:           </array>
5257 // CHECK-NEXT:         </dict>
5258 // CHECK-NEXT:        </array>
5259 // CHECK-NEXT:      </dict>
5260 // CHECK-NEXT:      <dict>
5261 // CHECK-NEXT:       <key>kind</key><string>control</string>
5262 // CHECK-NEXT:       <key>edges</key>
5263 // CHECK-NEXT:        <array>
5264 // CHECK-NEXT:         <dict>
5265 // CHECK-NEXT:          <key>start</key>
5266 // CHECK-NEXT:           <array>
5267 // CHECK-NEXT:            <dict>
5268 // CHECK-NEXT:             <key>line</key><integer>201</integer>
5269 // CHECK-NEXT:             <key>col</key><integer>3</integer>
5270 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5271 // CHECK-NEXT:            </dict>
5272 // CHECK-NEXT:            <dict>
5273 // CHECK-NEXT:             <key>line</key><integer>201</integer>
5274 // CHECK-NEXT:             <key>col</key><integer>8</integer>
5275 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5276 // CHECK-NEXT:            </dict>
5277 // CHECK-NEXT:           </array>
5278 // CHECK-NEXT:          <key>end</key>
5279 // CHECK-NEXT:           <array>
5280 // CHECK-NEXT:            <dict>
5281 // CHECK-NEXT:             <key>line</key><integer>202</integer>
5282 // CHECK-NEXT:             <key>col</key><integer>3</integer>
5283 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5284 // CHECK-NEXT:            </dict>
5285 // CHECK-NEXT:            <dict>
5286 // CHECK-NEXT:             <key>line</key><integer>202</integer>
5287 // CHECK-NEXT:             <key>col</key><integer>3</integer>
5288 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5289 // CHECK-NEXT:            </dict>
5290 // CHECK-NEXT:           </array>
5291 // CHECK-NEXT:         </dict>
5292 // CHECK-NEXT:        </array>
5293 // CHECK-NEXT:      </dict>
5294 // CHECK-NEXT:      <dict>
5295 // CHECK-NEXT:       <key>kind</key><string>control</string>
5296 // CHECK-NEXT:       <key>edges</key>
5297 // CHECK-NEXT:        <array>
5298 // CHECK-NEXT:         <dict>
5299 // CHECK-NEXT:          <key>start</key>
5300 // CHECK-NEXT:           <array>
5301 // CHECK-NEXT:            <dict>
5302 // CHECK-NEXT:             <key>line</key><integer>202</integer>
5303 // CHECK-NEXT:             <key>col</key><integer>3</integer>
5304 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5305 // CHECK-NEXT:            </dict>
5306 // CHECK-NEXT:            <dict>
5307 // CHECK-NEXT:             <key>line</key><integer>202</integer>
5308 // CHECK-NEXT:             <key>col</key><integer>3</integer>
5309 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5310 // CHECK-NEXT:            </dict>
5311 // CHECK-NEXT:           </array>
5312 // CHECK-NEXT:          <key>end</key>
5313 // CHECK-NEXT:           <array>
5314 // CHECK-NEXT:            <dict>
5315 // CHECK-NEXT:             <key>line</key><integer>202</integer>
5316 // CHECK-NEXT:             <key>col</key><integer>9</integer>
5317 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5318 // CHECK-NEXT:            </dict>
5319 // CHECK-NEXT:            <dict>
5320 // CHECK-NEXT:             <key>line</key><integer>202</integer>
5321 // CHECK-NEXT:             <key>col</key><integer>14</integer>
5322 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5323 // CHECK-NEXT:            </dict>
5324 // CHECK-NEXT:           </array>
5325 // CHECK-NEXT:         </dict>
5326 // CHECK-NEXT:        </array>
5327 // CHECK-NEXT:      </dict>
5328 // CHECK-NEXT:      <dict>
5329 // CHECK-NEXT:       <key>kind</key><string>event</string>
5330 // CHECK-NEXT:       <key>location</key>
5331 // CHECK-NEXT:       <dict>
5332 // CHECK-NEXT:        <key>line</key><integer>202</integer>
5333 // CHECK-NEXT:        <key>col</key><integer>9</integer>
5334 // CHECK-NEXT:        <key>file</key><integer>0</integer>
5335 // CHECK-NEXT:       </dict>
5336 // CHECK-NEXT:       <key>ranges</key>
5337 // CHECK-NEXT:       <array>
5338 // CHECK-NEXT:         <array>
5339 // CHECK-NEXT:          <dict>
5340 // CHECK-NEXT:           <key>line</key><integer>202</integer>
5341 // CHECK-NEXT:           <key>col</key><integer>9</integer>
5342 // CHECK-NEXT:           <key>file</key><integer>0</integer>
5343 // CHECK-NEXT:          </dict>
5344 // CHECK-NEXT:          <dict>
5345 // CHECK-NEXT:           <key>line</key><integer>202</integer>
5346 // CHECK-NEXT:           <key>col</key><integer>18</integer>
5347 // CHECK-NEXT:           <key>file</key><integer>0</integer>
5348 // CHECK-NEXT:          </dict>
5349 // CHECK-NEXT:         </array>
5350 // CHECK-NEXT:       </array>
5351 // CHECK-NEXT:       <key>depth</key><integer>1</integer>
5352 // CHECK-NEXT:       <key>extended_message</key>
5353 // CHECK-NEXT:       <string>Memory is allocated</string>
5354 // CHECK-NEXT:       <key>message</key>
5355 // CHECK-NEXT:       <string>Memory is allocated</string>
5356 // CHECK-NEXT:      </dict>
5357 // CHECK-NEXT:      <dict>
5358 // CHECK-NEXT:       <key>kind</key><string>event</string>
5359 // CHECK-NEXT:       <key>location</key>
5360 // CHECK-NEXT:       <dict>
5361 // CHECK-NEXT:        <key>line</key><integer>206</integer>
5362 // CHECK-NEXT:        <key>col</key><integer>3</integer>
5363 // CHECK-NEXT:        <key>file</key><integer>0</integer>
5364 // CHECK-NEXT:       </dict>
5365 // CHECK-NEXT:       <key>ranges</key>
5366 // CHECK-NEXT:       <array>
5367 // CHECK-NEXT:         <array>
5368 // CHECK-NEXT:          <dict>
5369 // CHECK-NEXT:           <key>line</key><integer>206</integer>
5370 // CHECK-NEXT:           <key>col</key><integer>3</integer>
5371 // CHECK-NEXT:           <key>file</key><integer>0</integer>
5372 // CHECK-NEXT:          </dict>
5373 // CHECK-NEXT:          <dict>
5374 // CHECK-NEXT:           <key>line</key><integer>206</integer>
5375 // CHECK-NEXT:           <key>col</key><integer>25</integer>
5376 // CHECK-NEXT:           <key>file</key><integer>0</integer>
5377 // CHECK-NEXT:          </dict>
5378 // CHECK-NEXT:         </array>
5379 // CHECK-NEXT:       </array>
5380 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
5381 // CHECK-NEXT:       <key>extended_message</key>
5382 // CHECK-NEXT:       <string>Returned allocated memory</string>
5383 // CHECK-NEXT:       <key>message</key>
5384 // CHECK-NEXT:       <string>Returned allocated memory</string>
5385 // CHECK-NEXT:      </dict>
5386 // CHECK-NEXT:      <dict>
5387 // CHECK-NEXT:       <key>kind</key><string>control</string>
5388 // CHECK-NEXT:       <key>edges</key>
5389 // CHECK-NEXT:        <array>
5390 // CHECK-NEXT:         <dict>
5391 // CHECK-NEXT:          <key>start</key>
5392 // CHECK-NEXT:           <array>
5393 // CHECK-NEXT:            <dict>
5394 // CHECK-NEXT:             <key>line</key><integer>206</integer>
5395 // CHECK-NEXT:             <key>col</key><integer>3</integer>
5396 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5397 // CHECK-NEXT:            </dict>
5398 // CHECK-NEXT:            <dict>
5399 // CHECK-NEXT:             <key>line</key><integer>206</integer>
5400 // CHECK-NEXT:             <key>col</key><integer>23</integer>
5401 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5402 // CHECK-NEXT:            </dict>
5403 // CHECK-NEXT:           </array>
5404 // CHECK-NEXT:          <key>end</key>
5405 // CHECK-NEXT:           <array>
5406 // CHECK-NEXT:            <dict>
5407 // CHECK-NEXT:             <key>line</key><integer>207</integer>
5408 // CHECK-NEXT:             <key>col</key><integer>1</integer>
5409 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5410 // CHECK-NEXT:            </dict>
5411 // CHECK-NEXT:            <dict>
5412 // CHECK-NEXT:             <key>line</key><integer>207</integer>
5413 // CHECK-NEXT:             <key>col</key><integer>1</integer>
5414 // CHECK-NEXT:             <key>file</key><integer>0</integer>
5415 // CHECK-NEXT:            </dict>
5416 // CHECK-NEXT:           </array>
5417 // CHECK-NEXT:         </dict>
5418 // CHECK-NEXT:        </array>
5419 // CHECK-NEXT:      </dict>
5420 // CHECK-NEXT:      <dict>
5421 // CHECK-NEXT:       <key>kind</key><string>event</string>
5422 // CHECK-NEXT:       <key>location</key>
5423 // CHECK-NEXT:       <dict>
5424 // CHECK-NEXT:        <key>line</key><integer>207</integer>
5425 // CHECK-NEXT:        <key>col</key><integer>1</integer>
5426 // CHECK-NEXT:        <key>file</key><integer>0</integer>
5427 // CHECK-NEXT:       </dict>
5428 // CHECK-NEXT:       <key>depth</key><integer>0</integer>
5429 // CHECK-NEXT:       <key>extended_message</key>
5430 // CHECK-NEXT:       <string>Potential memory leak</string>
5431 // CHECK-NEXT:       <key>message</key>
5432 // CHECK-NEXT:       <string>Potential memory leak</string>
5433 // CHECK-NEXT:      </dict>
5434 // CHECK-NEXT:     </array>
5435 // CHECK-NEXT:     <key>description</key><string>Potential memory leak</string>
5436 // CHECK-NEXT:     <key>category</key><string>Memory Error</string>
5437 // CHECK-NEXT:     <key>type</key><string>Memory leak</string>
5438 // CHECK-NEXT:     <key>check_name</key><string>unix.Malloc</string>
5439 // CHECK-NEXT:     <!-- This hash is experimental and going to change! -->
5440 // CHECK-NEXT:     <key>issue_hash_content_of_line_in_context</key><string>8d59cc5cc4b7db55d432abc18b0e6c23</string>
5441 // CHECK-NEXT:    <key>issue_context_kind</key><string>function</string>
5442 // CHECK-NEXT:    <key>issue_context</key><string>testMyMalloc</string>
5443 // CHECK-NEXT:    <key>issue_hash_function_offset</key><string>1</string>
5444 // CHECK-NEXT:    <key>location</key>
5445 // CHECK-NEXT:    <dict>
5446 // CHECK-NEXT:     <key>line</key><integer>207</integer>
5447 // CHECK-NEXT:     <key>col</key><integer>1</integer>
5448 // CHECK-NEXT:     <key>file</key><integer>0</integer>
5449 // CHECK-NEXT:    </dict>
5450 // CHECK-NEXT:    </dict>
5451 // CHECK-NEXT:   </array>
5452 // CHECK-NEXT:  </dict>
5453 // CHECK-NEXT:  </plist>
5454