Home | History | Annotate | Download | only in Analysis
      1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -analyze -analyzer-checker=core,unix.API,osx.API %s -analyzer-store=region -analyzer-output=plist -analyzer-eagerly-assume -analyzer-config faux-bodies=true -analyzer-config path-diagnostics-alternate=false -fblocks -verify -o %t.plist
      2 // RUN: FileCheck --input-file=%t.plist %s
      3 // RUN: mkdir -p %t.dir
      4 // RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.API,osx.API -analyzer-output=html -analyzer-config faux-bodies=true -fblocks -o %t.dir %s
      5 // RUN: rm -fR %t.dir
      6 struct _opaque_pthread_once_t {
      7   long __sig;
      8   char __opaque[8];
      9 };
     10 typedef struct _opaque_pthread_once_t    __darwin_pthread_once_t;
     11 typedef __darwin_pthread_once_t pthread_once_t;
     12 int pthread_once(pthread_once_t *, void (*)(void));
     13 typedef long unsigned int __darwin_size_t;
     14 typedef __darwin_size_t size_t;
     15 void *calloc(size_t, size_t);
     16 void *malloc(size_t);
     17 void *realloc(void *, size_t);
     18 void *reallocf(void *, size_t);
     19 void *alloca(size_t);
     20 void *valloc(size_t);
     21 typedef union {
     22  struct _os_object_s *_os_obj;
     23  struct dispatch_object_s *_do;
     24  struct dispatch_continuation_s *_dc;
     25  struct dispatch_queue_s *_dq;
     26  struct dispatch_queue_attr_s *_dqa;
     27  struct dispatch_group_s *_dg;
     28  struct dispatch_source_s *_ds;
     29  struct dispatch_source_attr_s *_dsa;
     30  struct dispatch_semaphore_s *_dsema;
     31  struct dispatch_data_s *_ddata;
     32  struct dispatch_io_s *_dchannel;
     33  struct dispatch_operation_s *_doperation;
     34  struct dispatch_disk_s *_ddisk;
     35 } dispatch_object_t __attribute__((__transparent_union__));
     36 typedef void (^dispatch_block_t)(void);
     37 typedef long dispatch_once_t;
     38 typedef struct dispatch_queue_s *dispatch_queue_t;
     39 void dispatch_once(dispatch_once_t *predicate, dispatch_block_t block);
     40 void dispatch_sync(dispatch_queue_t queue, dispatch_block_t block);
     41 
     42 #ifndef O_CREAT
     43 #define O_CREAT 0x0200
     44 #define O_RDONLY 0x0000
     45 #endif
     46 int open(const char *, int, ...);
     47 int close(int fildes);
     48 
     49 void test_open(const char *path) {
     50   int fd;
     51   fd = open(path, O_RDONLY); // no-warning
     52   if (!fd)
     53     close(fd);
     54 
     55   fd = open(path, O_CREAT); // expected-warning{{Call to 'open' requires a third argument when the 'O_CREAT' flag is set}}
     56   if (!fd)
     57     close(fd);
     58 }
     59 
     60 void test_dispatch_once() {
     61   dispatch_once_t pred = 0;
     62   do { if (__builtin_expect(*(&pred), ~0l) != ~0l) dispatch_once((&pred), (^() {})); } while (0); // expected-warning{{Call to 'dispatch_once' uses the local variable 'pred' for the predicate value}}
     63 }
     64 void test_dispatch_once_neg() {
     65   static dispatch_once_t pred = 0;
     66   do { if (__builtin_expect(*(&pred), ~0l) != ~0l) dispatch_once((&pred), (^() {})); } while (0); // no-warning
     67 }
     68 
     69 void test_pthread_once_aux();
     70 
     71 void test_pthread_once() {
     72   pthread_once_t pred = {0x30B1BCBA, {0}};
     73   pthread_once(&pred, test_pthread_once_aux); // expected-warning{{Call to 'pthread_once' uses the local variable 'pred' for the "control" value}}
     74 }
     75 void test_pthread_once_neg() {
     76   static pthread_once_t pred = {0x30B1BCBA, {0}};
     77   pthread_once(&pred, test_pthread_once_aux); // no-warning
     78 }
     79 
     80 // PR 2899 - warn of zero-sized allocations to malloc().
     81 void pr2899() {
     82   char* foo = malloc(0); // expected-warning{{Call to 'malloc' has an allocation size of 0 bytes}}
     83   for (unsigned i = 0; i < 100; i++) {
     84     foo[i] = 0;
     85   }
     86 }
     87 void pr2899_nowarn(size_t size) {
     88   char* foo = malloc(size); // no-warning
     89   for (unsigned i = 0; i < 100; i++) {
     90     foo[i] = 0;
     91   }
     92 }
     93 void test_calloc(void) {
     94   char *foo = calloc(0, 42); // expected-warning{{Call to 'calloc' has an allocation size of 0 bytes}}
     95   for (unsigned i = 0; i < 100; i++) {
     96     foo[i] = 0;
     97   }
     98 }
     99 void test_calloc2(void) {
    100   char *foo = calloc(42, 0); // expected-warning{{Call to 'calloc' has an allocation size of 0 bytes}}
    101   for (unsigned i = 0; i < 100; i++) {
    102     foo[i] = 0;
    103   }
    104 }
    105 void test_calloc_nowarn(size_t nmemb, size_t size) {
    106   char *foo = calloc(nmemb, size); // no-warning
    107   for (unsigned i = 0; i < 100; i++) {
    108     foo[i] = 0;
    109   }
    110 }
    111 void test_realloc(char *ptr) {
    112   char *foo = realloc(ptr, 0); // expected-warning{{Call to 'realloc' has an allocation size of 0 bytes}}
    113   for (unsigned i = 0; i < 100; i++) {
    114     foo[i] = 0;
    115   }
    116 }
    117 void test_reallocf(char *ptr) {
    118   char *foo = reallocf(ptr, 0); // expected-warning{{Call to 'reallocf' has an allocation size of 0 bytes}}
    119   for (unsigned i = 0; i < 100; i++) {
    120     foo[i] = 0;
    121   }
    122 }
    123 void test_realloc_nowarn(char *ptr, size_t size) {
    124   char *foo = realloc(ptr, size); // no-warning
    125   for (unsigned i = 0; i < 100; i++) {
    126     foo[i] = 0;
    127   }
    128 }
    129 void test_reallocf_nowarn(char *ptr, size_t size) {
    130   char *foo = reallocf(ptr, size); // no-warning
    131   for (unsigned i = 0; i < 100; i++) {
    132     foo[i] = 0;
    133   }
    134 }
    135 void test_alloca() {
    136   char *foo = alloca(0); // expected-warning{{Call to 'alloca' has an allocation size of 0 bytes}}
    137   for(unsigned i = 0; i < 100; i++) {
    138     foo[i] = 0;
    139   }
    140 }
    141 void test_alloca_nowarn(size_t sz) {
    142   char *foo = alloca(sz); // no-warning
    143   for(unsigned i = 0; i < 100; i++) {
    144     foo[i] = 0;
    145   }
    146 }
    147 void test_builtin_alloca() {
    148   char *foo2 = __builtin_alloca(0); // expected-warning{{Call to 'alloca' has an allocation size of 0 bytes}}
    149   for(unsigned i = 0; i < 100; i++) {
    150     foo2[i] = 0;
    151   }
    152 }
    153 void test_builtin_alloca_nowarn(size_t sz) {
    154   char *foo2 = __builtin_alloca(sz); // no-warning
    155   for(unsigned i = 0; i < 100; i++) {
    156     foo2[i] = 0;
    157   }
    158 }
    159 void test_valloc() {
    160   char *foo = valloc(0); // expected-warning{{Call to 'valloc' has an allocation size of 0 bytes}}
    161   for(unsigned i = 0; i < 100; i++) {
    162     foo[i] = 0;
    163   }
    164 }
    165 void test_valloc_nowarn(size_t sz) {
    166   char *foo = valloc(sz); // no-warning
    167   for(unsigned i = 0; i < 100; i++) {
    168     foo[i] = 0;
    169   }
    170 }
    171 
    172 // Test dispatch_once being a macro that wraps a call to _dispatch_once, which in turn
    173 // calls the real dispatch_once.
    174 
    175 static inline void _dispatch_once(dispatch_once_t *predicate, dispatch_block_t block)
    176 {
    177   dispatch_once(predicate, block);
    178 }
    179 
    180 #define dispatch_once _dispatch_once
    181 
    182 void test_dispatch_once_in_macro() {
    183   dispatch_once_t pred = 0;
    184   dispatch_once(&pred, ^(){});  // expected-warning {{Call to 'dispatch_once' uses the local variable 'pred' for the predicate value}}
    185 }
    186 
    187 // Test inlining of dispatch_sync.
    188 void test_dispatch_sync(dispatch_queue_t queue, int *q) {
    189   int *p = 0;
    190   dispatch_sync(queue, ^(void){
    191 	  if (q) {
    192 		*p = 1; // expected-warning {{null pointer}}
    193 	   }
    194   });
    195 }
    196 
    197 // Test inlining if dispatch_once.
    198 void test_inline_dispatch_once() {
    199   static dispatch_once_t pred;
    200   int *p = 0;
    201   dispatch_once(&pred, ^(void) {
    202 	  *p = 1; // expected-warning {{null}}
    203   });
    204 }
    205 
    206 // CHECK:  <key>diagnostics</key>
    207 // CHECK-NEXT:  <array>
    208 // CHECK-NEXT:   <dict>
    209 // CHECK-NEXT:    <key>path</key>
    210 // CHECK-NEXT:    <array>
    211 // CHECK-NEXT:     <dict>
    212 // CHECK-NEXT:      <key>kind</key><string>control</string>
    213 // CHECK-NEXT:      <key>edges</key>
    214 // CHECK-NEXT:       <array>
    215 // CHECK-NEXT:        <dict>
    216 // CHECK-NEXT:         <key>start</key>
    217 // CHECK-NEXT:          <array>
    218 // CHECK-NEXT:           <dict>
    219 // CHECK-NEXT:            <key>line</key><integer>50</integer>
    220 // CHECK-NEXT:            <key>col</key><integer>3</integer>
    221 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    222 // CHECK-NEXT:           </dict>
    223 // CHECK-NEXT:           <dict>
    224 // CHECK-NEXT:            <key>line</key><integer>50</integer>
    225 // CHECK-NEXT:            <key>col</key><integer>5</integer>
    226 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    227 // CHECK-NEXT:           </dict>
    228 // CHECK-NEXT:          </array>
    229 // CHECK-NEXT:         <key>end</key>
    230 // CHECK-NEXT:          <array>
    231 // CHECK-NEXT:           <dict>
    232 // CHECK-NEXT:            <key>line</key><integer>52</integer>
    233 // CHECK-NEXT:            <key>col</key><integer>3</integer>
    234 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    235 // CHECK-NEXT:           </dict>
    236 // CHECK-NEXT:           <dict>
    237 // CHECK-NEXT:            <key>line</key><integer>52</integer>
    238 // CHECK-NEXT:            <key>col</key><integer>4</integer>
    239 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    240 // CHECK-NEXT:           </dict>
    241 // CHECK-NEXT:          </array>
    242 // CHECK-NEXT:        </dict>
    243 // CHECK-NEXT:       </array>
    244 // CHECK-NEXT:     </dict>
    245 // CHECK-NEXT:     <dict>
    246 // CHECK-NEXT:      <key>kind</key><string>control</string>
    247 // CHECK-NEXT:      <key>edges</key>
    248 // CHECK-NEXT:       <array>
    249 // CHECK-NEXT:        <dict>
    250 // CHECK-NEXT:         <key>start</key>
    251 // CHECK-NEXT:          <array>
    252 // CHECK-NEXT:           <dict>
    253 // CHECK-NEXT:            <key>line</key><integer>52</integer>
    254 // CHECK-NEXT:            <key>col</key><integer>3</integer>
    255 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    256 // CHECK-NEXT:           </dict>
    257 // CHECK-NEXT:           <dict>
    258 // CHECK-NEXT:            <key>line</key><integer>52</integer>
    259 // CHECK-NEXT:            <key>col</key><integer>4</integer>
    260 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    261 // CHECK-NEXT:           </dict>
    262 // CHECK-NEXT:          </array>
    263 // CHECK-NEXT:         <key>end</key>
    264 // CHECK-NEXT:          <array>
    265 // CHECK-NEXT:           <dict>
    266 // CHECK-NEXT:            <key>line</key><integer>52</integer>
    267 // CHECK-NEXT:            <key>col</key><integer>7</integer>
    268 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    269 // CHECK-NEXT:           </dict>
    270 // CHECK-NEXT:           <dict>
    271 // CHECK-NEXT:            <key>line</key><integer>52</integer>
    272 // CHECK-NEXT:            <key>col</key><integer>7</integer>
    273 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    274 // CHECK-NEXT:           </dict>
    275 // CHECK-NEXT:          </array>
    276 // CHECK-NEXT:        </dict>
    277 // CHECK-NEXT:       </array>
    278 // CHECK-NEXT:     </dict>
    279 // CHECK-NEXT:     <dict>
    280 // CHECK-NEXT:      <key>kind</key><string>event</string>
    281 // CHECK-NEXT:      <key>location</key>
    282 // CHECK-NEXT:      <dict>
    283 // CHECK-NEXT:       <key>line</key><integer>52</integer>
    284 // CHECK-NEXT:       <key>col</key><integer>7</integer>
    285 // CHECK-NEXT:       <key>file</key><integer>0</integer>
    286 // CHECK-NEXT:      </dict>
    287 // CHECK-NEXT:      <key>ranges</key>
    288 // CHECK-NEXT:      <array>
    289 // CHECK-NEXT:        <array>
    290 // CHECK-NEXT:         <dict>
    291 // CHECK-NEXT:          <key>line</key><integer>52</integer>
    292 // CHECK-NEXT:          <key>col</key><integer>7</integer>
    293 // CHECK-NEXT:          <key>file</key><integer>0</integer>
    294 // CHECK-NEXT:         </dict>
    295 // CHECK-NEXT:         <dict>
    296 // CHECK-NEXT:          <key>line</key><integer>52</integer>
    297 // CHECK-NEXT:          <key>col</key><integer>9</integer>
    298 // CHECK-NEXT:          <key>file</key><integer>0</integer>
    299 // CHECK-NEXT:         </dict>
    300 // CHECK-NEXT:        </array>
    301 // CHECK-NEXT:      </array>
    302 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
    303 // CHECK-NEXT:      <key>extended_message</key>
    304 // CHECK-NEXT:      <string>Assuming &apos;fd&apos; is not equal to 0</string>
    305 // CHECK-NEXT:      <key>message</key>
    306 // CHECK-NEXT:      <string>Assuming &apos;fd&apos; is not equal to 0</string>
    307 // CHECK-NEXT:     </dict>
    308 // CHECK-NEXT:     <dict>
    309 // CHECK-NEXT:      <key>kind</key><string>control</string>
    310 // CHECK-NEXT:      <key>edges</key>
    311 // CHECK-NEXT:       <array>
    312 // CHECK-NEXT:        <dict>
    313 // CHECK-NEXT:         <key>start</key>
    314 // CHECK-NEXT:          <array>
    315 // CHECK-NEXT:           <dict>
    316 // CHECK-NEXT:            <key>line</key><integer>52</integer>
    317 // CHECK-NEXT:            <key>col</key><integer>7</integer>
    318 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    319 // CHECK-NEXT:           </dict>
    320 // CHECK-NEXT:           <dict>
    321 // CHECK-NEXT:            <key>line</key><integer>52</integer>
    322 // CHECK-NEXT:            <key>col</key><integer>7</integer>
    323 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    324 // CHECK-NEXT:           </dict>
    325 // CHECK-NEXT:          </array>
    326 // CHECK-NEXT:         <key>end</key>
    327 // CHECK-NEXT:          <array>
    328 // CHECK-NEXT:           <dict>
    329 // CHECK-NEXT:            <key>line</key><integer>55</integer>
    330 // CHECK-NEXT:            <key>col</key><integer>3</integer>
    331 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    332 // CHECK-NEXT:           </dict>
    333 // CHECK-NEXT:           <dict>
    334 // CHECK-NEXT:            <key>line</key><integer>55</integer>
    335 // CHECK-NEXT:            <key>col</key><integer>4</integer>
    336 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    337 // CHECK-NEXT:           </dict>
    338 // CHECK-NEXT:          </array>
    339 // CHECK-NEXT:        </dict>
    340 // CHECK-NEXT:       </array>
    341 // CHECK-NEXT:     </dict>
    342 // CHECK-NEXT:     <dict>
    343 // CHECK-NEXT:      <key>kind</key><string>control</string>
    344 // CHECK-NEXT:      <key>edges</key>
    345 // CHECK-NEXT:       <array>
    346 // CHECK-NEXT:        <dict>
    347 // CHECK-NEXT:         <key>start</key>
    348 // CHECK-NEXT:          <array>
    349 // CHECK-NEXT:           <dict>
    350 // CHECK-NEXT:            <key>line</key><integer>55</integer>
    351 // CHECK-NEXT:            <key>col</key><integer>3</integer>
    352 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    353 // CHECK-NEXT:           </dict>
    354 // CHECK-NEXT:           <dict>
    355 // CHECK-NEXT:            <key>line</key><integer>55</integer>
    356 // CHECK-NEXT:            <key>col</key><integer>4</integer>
    357 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    358 // CHECK-NEXT:           </dict>
    359 // CHECK-NEXT:          </array>
    360 // CHECK-NEXT:         <key>end</key>
    361 // CHECK-NEXT:          <array>
    362 // CHECK-NEXT:           <dict>
    363 // CHECK-NEXT:            <key>line</key><integer>55</integer>
    364 // CHECK-NEXT:            <key>col</key><integer>8</integer>
    365 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    366 // CHECK-NEXT:           </dict>
    367 // CHECK-NEXT:           <dict>
    368 // CHECK-NEXT:            <key>line</key><integer>55</integer>
    369 // CHECK-NEXT:            <key>col</key><integer>11</integer>
    370 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    371 // CHECK-NEXT:           </dict>
    372 // CHECK-NEXT:          </array>
    373 // CHECK-NEXT:        </dict>
    374 // CHECK-NEXT:       </array>
    375 // CHECK-NEXT:     </dict>
    376 // CHECK-NEXT:     <dict>
    377 // CHECK-NEXT:      <key>kind</key><string>event</string>
    378 // CHECK-NEXT:      <key>location</key>
    379 // CHECK-NEXT:      <dict>
    380 // CHECK-NEXT:       <key>line</key><integer>55</integer>
    381 // CHECK-NEXT:       <key>col</key><integer>8</integer>
    382 // CHECK-NEXT:       <key>file</key><integer>0</integer>
    383 // CHECK-NEXT:      </dict>
    384 // CHECK-NEXT:      <key>ranges</key>
    385 // CHECK-NEXT:      <array>
    386 // CHECK-NEXT:        <array>
    387 // CHECK-NEXT:         <dict>
    388 // CHECK-NEXT:          <key>line</key><integer>55</integer>
    389 // CHECK-NEXT:          <key>col</key><integer>19</integer>
    390 // CHECK-NEXT:          <key>file</key><integer>0</integer>
    391 // CHECK-NEXT:         </dict>
    392 // CHECK-NEXT:         <dict>
    393 // CHECK-NEXT:          <key>line</key><integer>55</integer>
    394 // CHECK-NEXT:          <key>col</key><integer>25</integer>
    395 // CHECK-NEXT:          <key>file</key><integer>0</integer>
    396 // CHECK-NEXT:         </dict>
    397 // CHECK-NEXT:        </array>
    398 // CHECK-NEXT:      </array>
    399 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
    400 // CHECK-NEXT:      <key>extended_message</key>
    401 // CHECK-NEXT:      <string>Call to &apos;open&apos; requires a third argument when the &apos;O_CREAT&apos; flag is set</string>
    402 // CHECK-NEXT:      <key>message</key>
    403 // CHECK-NEXT:      <string>Call to &apos;open&apos; requires a third argument when the &apos;O_CREAT&apos; flag is set</string>
    404 // CHECK-NEXT:     </dict>
    405 // CHECK-NEXT:    </array>
    406 // CHECK-NEXT:    <key>description</key><string>Call to &apos;open&apos; requires a third argument when the &apos;O_CREAT&apos; flag is set</string>
    407 // CHECK-NEXT:    <key>category</key><string>Unix API</string>
    408 // CHECK-NEXT:    <key>type</key><string>Improper use of &apos;open&apos;</string>
    409 // CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
    410 // CHECK-NEXT:   <key>issue_context</key><string>test_open</string>
    411 // CHECK-NEXT:   <key>issue_hash</key><string>6</string>
    412 // CHECK-NEXT:   <key>location</key>
    413 // CHECK-NEXT:   <dict>
    414 // CHECK-NEXT:    <key>line</key><integer>55</integer>
    415 // CHECK-NEXT:    <key>col</key><integer>8</integer>
    416 // CHECK-NEXT:    <key>file</key><integer>0</integer>
    417 // CHECK-NEXT:   </dict>
    418 // CHECK-NEXT:   </dict>
    419 // CHECK-NEXT:   <dict>
    420 // CHECK-NEXT:    <key>path</key>
    421 // CHECK-NEXT:    <array>
    422 // CHECK-NEXT:     <dict>
    423 // CHECK-NEXT:      <key>kind</key><string>control</string>
    424 // CHECK-NEXT:      <key>edges</key>
    425 // CHECK-NEXT:       <array>
    426 // CHECK-NEXT:        <dict>
    427 // CHECK-NEXT:         <key>start</key>
    428 // CHECK-NEXT:          <array>
    429 // CHECK-NEXT:           <dict>
    430 // CHECK-NEXT:            <key>line</key><integer>61</integer>
    431 // CHECK-NEXT:            <key>col</key><integer>3</integer>
    432 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    433 // CHECK-NEXT:           </dict>
    434 // CHECK-NEXT:           <dict>
    435 // CHECK-NEXT:            <key>line</key><integer>61</integer>
    436 // CHECK-NEXT:            <key>col</key><integer>17</integer>
    437 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    438 // CHECK-NEXT:           </dict>
    439 // CHECK-NEXT:          </array>
    440 // CHECK-NEXT:         <key>end</key>
    441 // CHECK-NEXT:          <array>
    442 // CHECK-NEXT:           <dict>
    443 // CHECK-NEXT:            <key>line</key><integer>62</integer>
    444 // CHECK-NEXT:            <key>col</key><integer>3</integer>
    445 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    446 // CHECK-NEXT:           </dict>
    447 // CHECK-NEXT:           <dict>
    448 // CHECK-NEXT:            <key>line</key><integer>62</integer>
    449 // CHECK-NEXT:            <key>col</key><integer>4</integer>
    450 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    451 // CHECK-NEXT:           </dict>
    452 // CHECK-NEXT:          </array>
    453 // CHECK-NEXT:        </dict>
    454 // CHECK-NEXT:       </array>
    455 // CHECK-NEXT:     </dict>
    456 // CHECK-NEXT:     <dict>
    457 // CHECK-NEXT:      <key>kind</key><string>control</string>
    458 // CHECK-NEXT:      <key>edges</key>
    459 // CHECK-NEXT:       <array>
    460 // CHECK-NEXT:        <dict>
    461 // CHECK-NEXT:         <key>start</key>
    462 // CHECK-NEXT:          <array>
    463 // CHECK-NEXT:           <dict>
    464 // CHECK-NEXT:            <key>line</key><integer>62</integer>
    465 // CHECK-NEXT:            <key>col</key><integer>3</integer>
    466 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    467 // CHECK-NEXT:           </dict>
    468 // CHECK-NEXT:           <dict>
    469 // CHECK-NEXT:            <key>line</key><integer>62</integer>
    470 // CHECK-NEXT:            <key>col</key><integer>4</integer>
    471 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    472 // CHECK-NEXT:           </dict>
    473 // CHECK-NEXT:          </array>
    474 // CHECK-NEXT:         <key>end</key>
    475 // CHECK-NEXT:          <array>
    476 // CHECK-NEXT:           <dict>
    477 // CHECK-NEXT:            <key>line</key><integer>62</integer>
    478 // CHECK-NEXT:            <key>col</key><integer>8</integer>
    479 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    480 // CHECK-NEXT:           </dict>
    481 // CHECK-NEXT:           <dict>
    482 // CHECK-NEXT:            <key>line</key><integer>62</integer>
    483 // CHECK-NEXT:            <key>col</key><integer>9</integer>
    484 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    485 // CHECK-NEXT:           </dict>
    486 // CHECK-NEXT:          </array>
    487 // CHECK-NEXT:        </dict>
    488 // CHECK-NEXT:       </array>
    489 // CHECK-NEXT:     </dict>
    490 // CHECK-NEXT:     <dict>
    491 // CHECK-NEXT:      <key>kind</key><string>control</string>
    492 // CHECK-NEXT:      <key>edges</key>
    493 // CHECK-NEXT:       <array>
    494 // CHECK-NEXT:        <dict>
    495 // CHECK-NEXT:         <key>start</key>
    496 // CHECK-NEXT:          <array>
    497 // CHECK-NEXT:           <dict>
    498 // CHECK-NEXT:            <key>line</key><integer>62</integer>
    499 // CHECK-NEXT:            <key>col</key><integer>8</integer>
    500 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    501 // CHECK-NEXT:           </dict>
    502 // CHECK-NEXT:           <dict>
    503 // CHECK-NEXT:            <key>line</key><integer>62</integer>
    504 // CHECK-NEXT:            <key>col</key><integer>9</integer>
    505 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    506 // CHECK-NEXT:           </dict>
    507 // CHECK-NEXT:          </array>
    508 // CHECK-NEXT:         <key>end</key>
    509 // CHECK-NEXT:          <array>
    510 // CHECK-NEXT:           <dict>
    511 // CHECK-NEXT:            <key>line</key><integer>62</integer>
    512 // CHECK-NEXT:            <key>col</key><integer>52</integer>
    513 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    514 // CHECK-NEXT:           </dict>
    515 // CHECK-NEXT:           <dict>
    516 // CHECK-NEXT:            <key>line</key><integer>62</integer>
    517 // CHECK-NEXT:            <key>col</key><integer>64</integer>
    518 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    519 // CHECK-NEXT:           </dict>
    520 // CHECK-NEXT:          </array>
    521 // CHECK-NEXT:        </dict>
    522 // CHECK-NEXT:       </array>
    523 // CHECK-NEXT:     </dict>
    524 // CHECK-NEXT:     <dict>
    525 // CHECK-NEXT:      <key>kind</key><string>event</string>
    526 // CHECK-NEXT:      <key>location</key>
    527 // CHECK-NEXT:      <dict>
    528 // CHECK-NEXT:       <key>line</key><integer>62</integer>
    529 // CHECK-NEXT:       <key>col</key><integer>52</integer>
    530 // CHECK-NEXT:       <key>file</key><integer>0</integer>
    531 // CHECK-NEXT:      </dict>
    532 // CHECK-NEXT:      <key>ranges</key>
    533 // CHECK-NEXT:      <array>
    534 // CHECK-NEXT:        <array>
    535 // CHECK-NEXT:         <dict>
    536 // CHECK-NEXT:          <key>line</key><integer>62</integer>
    537 // CHECK-NEXT:          <key>col</key><integer>66</integer>
    538 // CHECK-NEXT:          <key>file</key><integer>0</integer>
    539 // CHECK-NEXT:         </dict>
    540 // CHECK-NEXT:         <dict>
    541 // CHECK-NEXT:          <key>line</key><integer>62</integer>
    542 // CHECK-NEXT:          <key>col</key><integer>72</integer>
    543 // CHECK-NEXT:          <key>file</key><integer>0</integer>
    544 // CHECK-NEXT:         </dict>
    545 // CHECK-NEXT:        </array>
    546 // CHECK-NEXT:      </array>
    547 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
    548 // CHECK-NEXT:      <key>extended_message</key>
    549 // CHECK-NEXT:      <string>Call to &apos;dispatch_once&apos; uses the local variable &apos;pred&apos; for the predicate value.  Using such transient memory for the predicate is potentially dangerous.  Perhaps you intended to declare the variable as &apos;static&apos;?</string>
    550 // CHECK-NEXT:      <key>message</key>
    551 // CHECK-NEXT:      <string>Call to &apos;dispatch_once&apos; uses the local variable &apos;pred&apos; for the predicate value.  Using such transient memory for the predicate is potentially dangerous.  Perhaps you intended to declare the variable as &apos;static&apos;?</string>
    552 // CHECK-NEXT:     </dict>
    553 // CHECK-NEXT:    </array>
    554 // CHECK-NEXT:    <key>description</key><string>Call to &apos;dispatch_once&apos; uses the local variable &apos;pred&apos; for the predicate value.  Using such transient memory for the predicate is potentially dangerous.  Perhaps you intended to declare the variable as &apos;static&apos;?</string>
    555 // CHECK-NEXT:    <key>category</key><string>API Misuse (Apple)</string>
    556 // CHECK-NEXT:    <key>type</key><string>Improper use of &apos;dispatch_once&apos;</string>
    557 // CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
    558 // CHECK-NEXT:   <key>issue_context</key><string>test_dispatch_once</string>
    559 // CHECK-NEXT:   <key>issue_hash</key><string>2</string>
    560 // CHECK-NEXT:   <key>location</key>
    561 // CHECK-NEXT:   <dict>
    562 // CHECK-NEXT:    <key>line</key><integer>62</integer>
    563 // CHECK-NEXT:    <key>col</key><integer>52</integer>
    564 // CHECK-NEXT:    <key>file</key><integer>0</integer>
    565 // CHECK-NEXT:   </dict>
    566 // CHECK-NEXT:   </dict>
    567 // CHECK-NEXT:   <dict>
    568 // CHECK-NEXT:    <key>path</key>
    569 // CHECK-NEXT:    <array>
    570 // CHECK-NEXT:     <dict>
    571 // CHECK-NEXT:      <key>kind</key><string>control</string>
    572 // CHECK-NEXT:      <key>edges</key>
    573 // CHECK-NEXT:       <array>
    574 // CHECK-NEXT:        <dict>
    575 // CHECK-NEXT:         <key>start</key>
    576 // CHECK-NEXT:          <array>
    577 // CHECK-NEXT:           <dict>
    578 // CHECK-NEXT:            <key>line</key><integer>72</integer>
    579 // CHECK-NEXT:            <key>col</key><integer>3</integer>
    580 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    581 // CHECK-NEXT:           </dict>
    582 // CHECK-NEXT:           <dict>
    583 // CHECK-NEXT:            <key>line</key><integer>72</integer>
    584 // CHECK-NEXT:            <key>col</key><integer>16</integer>
    585 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    586 // CHECK-NEXT:           </dict>
    587 // CHECK-NEXT:          </array>
    588 // CHECK-NEXT:         <key>end</key>
    589 // CHECK-NEXT:          <array>
    590 // CHECK-NEXT:           <dict>
    591 // CHECK-NEXT:            <key>line</key><integer>73</integer>
    592 // CHECK-NEXT:            <key>col</key><integer>3</integer>
    593 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    594 // CHECK-NEXT:           </dict>
    595 // CHECK-NEXT:           <dict>
    596 // CHECK-NEXT:            <key>line</key><integer>73</integer>
    597 // CHECK-NEXT:            <key>col</key><integer>14</integer>
    598 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    599 // CHECK-NEXT:           </dict>
    600 // CHECK-NEXT:          </array>
    601 // CHECK-NEXT:        </dict>
    602 // CHECK-NEXT:       </array>
    603 // CHECK-NEXT:     </dict>
    604 // CHECK-NEXT:     <dict>
    605 // CHECK-NEXT:      <key>kind</key><string>event</string>
    606 // CHECK-NEXT:      <key>location</key>
    607 // CHECK-NEXT:      <dict>
    608 // CHECK-NEXT:       <key>line</key><integer>73</integer>
    609 // CHECK-NEXT:       <key>col</key><integer>3</integer>
    610 // CHECK-NEXT:       <key>file</key><integer>0</integer>
    611 // CHECK-NEXT:      </dict>
    612 // CHECK-NEXT:      <key>ranges</key>
    613 // CHECK-NEXT:      <array>
    614 // CHECK-NEXT:        <array>
    615 // CHECK-NEXT:         <dict>
    616 // CHECK-NEXT:          <key>line</key><integer>73</integer>
    617 // CHECK-NEXT:          <key>col</key><integer>16</integer>
    618 // CHECK-NEXT:          <key>file</key><integer>0</integer>
    619 // CHECK-NEXT:         </dict>
    620 // CHECK-NEXT:         <dict>
    621 // CHECK-NEXT:          <key>line</key><integer>73</integer>
    622 // CHECK-NEXT:          <key>col</key><integer>20</integer>
    623 // CHECK-NEXT:          <key>file</key><integer>0</integer>
    624 // CHECK-NEXT:         </dict>
    625 // CHECK-NEXT:        </array>
    626 // CHECK-NEXT:      </array>
    627 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
    628 // CHECK-NEXT:      <key>extended_message</key>
    629 // CHECK-NEXT:      <string>Call to &apos;pthread_once&apos; uses the local variable &apos;pred&apos; for the &quot;control&quot; value.  Using such transient memory for the control value is potentially dangerous.  Perhaps you intended to declare the variable as &apos;static&apos;?</string>
    630 // CHECK-NEXT:      <key>message</key>
    631 // CHECK-NEXT:      <string>Call to &apos;pthread_once&apos; uses the local variable &apos;pred&apos; for the &quot;control&quot; value.  Using such transient memory for the control value is potentially dangerous.  Perhaps you intended to declare the variable as &apos;static&apos;?</string>
    632 // CHECK-NEXT:     </dict>
    633 // CHECK-NEXT:    </array>
    634 // CHECK-NEXT:    <key>description</key><string>Call to &apos;pthread_once&apos; uses the local variable &apos;pred&apos; for the &quot;control&quot; value.  Using such transient memory for the control value is potentially dangerous.  Perhaps you intended to declare the variable as &apos;static&apos;?</string>
    635 // CHECK-NEXT:    <key>category</key><string>Unix API</string>
    636 // CHECK-NEXT:    <key>type</key><string>Improper use of &apos;pthread_once&apos;</string>
    637 // CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
    638 // CHECK-NEXT:   <key>issue_context</key><string>test_pthread_once</string>
    639 // CHECK-NEXT:   <key>issue_hash</key><string>2</string>
    640 // CHECK-NEXT:   <key>location</key>
    641 // CHECK-NEXT:   <dict>
    642 // CHECK-NEXT:    <key>line</key><integer>73</integer>
    643 // CHECK-NEXT:    <key>col</key><integer>3</integer>
    644 // CHECK-NEXT:    <key>file</key><integer>0</integer>
    645 // CHECK-NEXT:   </dict>
    646 // CHECK-NEXT:   </dict>
    647 // CHECK-NEXT:   <dict>
    648 // CHECK-NEXT:    <key>path</key>
    649 // CHECK-NEXT:    <array>
    650 // CHECK-NEXT:     <dict>
    651 // CHECK-NEXT:      <key>kind</key><string>control</string>
    652 // CHECK-NEXT:      <key>edges</key>
    653 // CHECK-NEXT:       <array>
    654 // CHECK-NEXT:        <dict>
    655 // CHECK-NEXT:         <key>start</key>
    656 // CHECK-NEXT:          <array>
    657 // CHECK-NEXT:           <dict>
    658 // CHECK-NEXT:            <key>line</key><integer>82</integer>
    659 // CHECK-NEXT:            <key>col</key><integer>3</integer>
    660 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    661 // CHECK-NEXT:           </dict>
    662 // CHECK-NEXT:           <dict>
    663 // CHECK-NEXT:            <key>line</key><integer>82</integer>
    664 // CHECK-NEXT:            <key>col</key><integer>6</integer>
    665 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    666 // CHECK-NEXT:           </dict>
    667 // CHECK-NEXT:          </array>
    668 // CHECK-NEXT:         <key>end</key>
    669 // CHECK-NEXT:          <array>
    670 // CHECK-NEXT:           <dict>
    671 // CHECK-NEXT:            <key>line</key><integer>82</integer>
    672 // CHECK-NEXT:            <key>col</key><integer>15</integer>
    673 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    674 // CHECK-NEXT:           </dict>
    675 // CHECK-NEXT:           <dict>
    676 // CHECK-NEXT:            <key>line</key><integer>82</integer>
    677 // CHECK-NEXT:            <key>col</key><integer>20</integer>
    678 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    679 // CHECK-NEXT:           </dict>
    680 // CHECK-NEXT:          </array>
    681 // CHECK-NEXT:        </dict>
    682 // CHECK-NEXT:       </array>
    683 // CHECK-NEXT:     </dict>
    684 // CHECK-NEXT:     <dict>
    685 // CHECK-NEXT:      <key>kind</key><string>event</string>
    686 // CHECK-NEXT:      <key>location</key>
    687 // CHECK-NEXT:      <dict>
    688 // CHECK-NEXT:       <key>line</key><integer>82</integer>
    689 // CHECK-NEXT:       <key>col</key><integer>15</integer>
    690 // CHECK-NEXT:       <key>file</key><integer>0</integer>
    691 // CHECK-NEXT:      </dict>
    692 // CHECK-NEXT:      <key>ranges</key>
    693 // CHECK-NEXT:      <array>
    694 // CHECK-NEXT:        <array>
    695 // CHECK-NEXT:         <dict>
    696 // CHECK-NEXT:          <key>line</key><integer>82</integer>
    697 // CHECK-NEXT:          <key>col</key><integer>22</integer>
    698 // CHECK-NEXT:          <key>file</key><integer>0</integer>
    699 // CHECK-NEXT:         </dict>
    700 // CHECK-NEXT:         <dict>
    701 // CHECK-NEXT:          <key>line</key><integer>82</integer>
    702 // CHECK-NEXT:          <key>col</key><integer>22</integer>
    703 // CHECK-NEXT:          <key>file</key><integer>0</integer>
    704 // CHECK-NEXT:         </dict>
    705 // CHECK-NEXT:        </array>
    706 // CHECK-NEXT:      </array>
    707 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
    708 // CHECK-NEXT:      <key>extended_message</key>
    709 // CHECK-NEXT:      <string>Call to &apos;malloc&apos; has an allocation size of 0 bytes</string>
    710 // CHECK-NEXT:      <key>message</key>
    711 // CHECK-NEXT:      <string>Call to &apos;malloc&apos; has an allocation size of 0 bytes</string>
    712 // CHECK-NEXT:     </dict>
    713 // CHECK-NEXT:    </array>
    714 // CHECK-NEXT:    <key>description</key><string>Call to &apos;malloc&apos; has an allocation size of 0 bytes</string>
    715 // CHECK-NEXT:    <key>category</key><string>Unix API</string>
    716 // CHECK-NEXT:    <key>type</key><string>Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)</string>
    717 // CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
    718 // CHECK-NEXT:   <key>issue_context</key><string>pr2899</string>
    719 // CHECK-NEXT:   <key>issue_hash</key><string>1</string>
    720 // CHECK-NEXT:   <key>location</key>
    721 // CHECK-NEXT:   <dict>
    722 // CHECK-NEXT:    <key>line</key><integer>82</integer>
    723 // CHECK-NEXT:    <key>col</key><integer>15</integer>
    724 // CHECK-NEXT:    <key>file</key><integer>0</integer>
    725 // CHECK-NEXT:   </dict>
    726 // CHECK-NEXT:   </dict>
    727 // CHECK-NEXT:   <dict>
    728 // CHECK-NEXT:    <key>path</key>
    729 // CHECK-NEXT:    <array>
    730 // CHECK-NEXT:     <dict>
    731 // CHECK-NEXT:      <key>kind</key><string>control</string>
    732 // CHECK-NEXT:      <key>edges</key>
    733 // CHECK-NEXT:       <array>
    734 // CHECK-NEXT:        <dict>
    735 // CHECK-NEXT:         <key>start</key>
    736 // CHECK-NEXT:          <array>
    737 // CHECK-NEXT:           <dict>
    738 // CHECK-NEXT:            <key>line</key><integer>94</integer>
    739 // CHECK-NEXT:            <key>col</key><integer>3</integer>
    740 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    741 // CHECK-NEXT:           </dict>
    742 // CHECK-NEXT:           <dict>
    743 // CHECK-NEXT:            <key>line</key><integer>94</integer>
    744 // CHECK-NEXT:            <key>col</key><integer>6</integer>
    745 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    746 // CHECK-NEXT:           </dict>
    747 // CHECK-NEXT:          </array>
    748 // CHECK-NEXT:         <key>end</key>
    749 // CHECK-NEXT:          <array>
    750 // CHECK-NEXT:           <dict>
    751 // CHECK-NEXT:            <key>line</key><integer>94</integer>
    752 // CHECK-NEXT:            <key>col</key><integer>15</integer>
    753 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    754 // CHECK-NEXT:           </dict>
    755 // CHECK-NEXT:           <dict>
    756 // CHECK-NEXT:            <key>line</key><integer>94</integer>
    757 // CHECK-NEXT:            <key>col</key><integer>20</integer>
    758 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    759 // CHECK-NEXT:           </dict>
    760 // CHECK-NEXT:          </array>
    761 // CHECK-NEXT:        </dict>
    762 // CHECK-NEXT:       </array>
    763 // CHECK-NEXT:     </dict>
    764 // CHECK-NEXT:     <dict>
    765 // CHECK-NEXT:      <key>kind</key><string>event</string>
    766 // CHECK-NEXT:      <key>location</key>
    767 // CHECK-NEXT:      <dict>
    768 // CHECK-NEXT:       <key>line</key><integer>94</integer>
    769 // CHECK-NEXT:       <key>col</key><integer>15</integer>
    770 // CHECK-NEXT:       <key>file</key><integer>0</integer>
    771 // CHECK-NEXT:      </dict>
    772 // CHECK-NEXT:      <key>ranges</key>
    773 // CHECK-NEXT:      <array>
    774 // CHECK-NEXT:        <array>
    775 // CHECK-NEXT:         <dict>
    776 // CHECK-NEXT:          <key>line</key><integer>94</integer>
    777 // CHECK-NEXT:          <key>col</key><integer>22</integer>
    778 // CHECK-NEXT:          <key>file</key><integer>0</integer>
    779 // CHECK-NEXT:         </dict>
    780 // CHECK-NEXT:         <dict>
    781 // CHECK-NEXT:          <key>line</key><integer>94</integer>
    782 // CHECK-NEXT:          <key>col</key><integer>22</integer>
    783 // CHECK-NEXT:          <key>file</key><integer>0</integer>
    784 // CHECK-NEXT:         </dict>
    785 // CHECK-NEXT:        </array>
    786 // CHECK-NEXT:      </array>
    787 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
    788 // CHECK-NEXT:      <key>extended_message</key>
    789 // CHECK-NEXT:      <string>Call to &apos;calloc&apos; has an allocation size of 0 bytes</string>
    790 // CHECK-NEXT:      <key>message</key>
    791 // CHECK-NEXT:      <string>Call to &apos;calloc&apos; has an allocation size of 0 bytes</string>
    792 // CHECK-NEXT:     </dict>
    793 // CHECK-NEXT:    </array>
    794 // CHECK-NEXT:    <key>description</key><string>Call to &apos;calloc&apos; has an allocation size of 0 bytes</string>
    795 // CHECK-NEXT:    <key>category</key><string>Unix API</string>
    796 // CHECK-NEXT:    <key>type</key><string>Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)</string>
    797 // CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
    798 // CHECK-NEXT:   <key>issue_context</key><string>test_calloc</string>
    799 // CHECK-NEXT:   <key>issue_hash</key><string>1</string>
    800 // CHECK-NEXT:   <key>location</key>
    801 // CHECK-NEXT:   <dict>
    802 // CHECK-NEXT:    <key>line</key><integer>94</integer>
    803 // CHECK-NEXT:    <key>col</key><integer>15</integer>
    804 // CHECK-NEXT:    <key>file</key><integer>0</integer>
    805 // CHECK-NEXT:   </dict>
    806 // CHECK-NEXT:   </dict>
    807 // CHECK-NEXT:   <dict>
    808 // CHECK-NEXT:    <key>path</key>
    809 // CHECK-NEXT:    <array>
    810 // CHECK-NEXT:     <dict>
    811 // CHECK-NEXT:      <key>kind</key><string>control</string>
    812 // CHECK-NEXT:      <key>edges</key>
    813 // CHECK-NEXT:       <array>
    814 // CHECK-NEXT:        <dict>
    815 // CHECK-NEXT:         <key>start</key>
    816 // CHECK-NEXT:          <array>
    817 // CHECK-NEXT:           <dict>
    818 // CHECK-NEXT:            <key>line</key><integer>100</integer>
    819 // CHECK-NEXT:            <key>col</key><integer>3</integer>
    820 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    821 // CHECK-NEXT:           </dict>
    822 // CHECK-NEXT:           <dict>
    823 // CHECK-NEXT:            <key>line</key><integer>100</integer>
    824 // CHECK-NEXT:            <key>col</key><integer>6</integer>
    825 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    826 // CHECK-NEXT:           </dict>
    827 // CHECK-NEXT:          </array>
    828 // CHECK-NEXT:         <key>end</key>
    829 // CHECK-NEXT:          <array>
    830 // CHECK-NEXT:           <dict>
    831 // CHECK-NEXT:            <key>line</key><integer>100</integer>
    832 // CHECK-NEXT:            <key>col</key><integer>15</integer>
    833 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    834 // CHECK-NEXT:           </dict>
    835 // CHECK-NEXT:           <dict>
    836 // CHECK-NEXT:            <key>line</key><integer>100</integer>
    837 // CHECK-NEXT:            <key>col</key><integer>20</integer>
    838 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    839 // CHECK-NEXT:           </dict>
    840 // CHECK-NEXT:          </array>
    841 // CHECK-NEXT:        </dict>
    842 // CHECK-NEXT:       </array>
    843 // CHECK-NEXT:     </dict>
    844 // CHECK-NEXT:     <dict>
    845 // CHECK-NEXT:      <key>kind</key><string>event</string>
    846 // CHECK-NEXT:      <key>location</key>
    847 // CHECK-NEXT:      <dict>
    848 // CHECK-NEXT:       <key>line</key><integer>100</integer>
    849 // CHECK-NEXT:       <key>col</key><integer>15</integer>
    850 // CHECK-NEXT:       <key>file</key><integer>0</integer>
    851 // CHECK-NEXT:      </dict>
    852 // CHECK-NEXT:      <key>ranges</key>
    853 // CHECK-NEXT:      <array>
    854 // CHECK-NEXT:        <array>
    855 // CHECK-NEXT:         <dict>
    856 // CHECK-NEXT:          <key>line</key><integer>100</integer>
    857 // CHECK-NEXT:          <key>col</key><integer>26</integer>
    858 // CHECK-NEXT:          <key>file</key><integer>0</integer>
    859 // CHECK-NEXT:         </dict>
    860 // CHECK-NEXT:         <dict>
    861 // CHECK-NEXT:          <key>line</key><integer>100</integer>
    862 // CHECK-NEXT:          <key>col</key><integer>26</integer>
    863 // CHECK-NEXT:          <key>file</key><integer>0</integer>
    864 // CHECK-NEXT:         </dict>
    865 // CHECK-NEXT:        </array>
    866 // CHECK-NEXT:      </array>
    867 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
    868 // CHECK-NEXT:      <key>extended_message</key>
    869 // CHECK-NEXT:      <string>Call to &apos;calloc&apos; has an allocation size of 0 bytes</string>
    870 // CHECK-NEXT:      <key>message</key>
    871 // CHECK-NEXT:      <string>Call to &apos;calloc&apos; has an allocation size of 0 bytes</string>
    872 // CHECK-NEXT:     </dict>
    873 // CHECK-NEXT:    </array>
    874 // CHECK-NEXT:    <key>description</key><string>Call to &apos;calloc&apos; has an allocation size of 0 bytes</string>
    875 // CHECK-NEXT:    <key>category</key><string>Unix API</string>
    876 // CHECK-NEXT:    <key>type</key><string>Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)</string>
    877 // CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
    878 // CHECK-NEXT:   <key>issue_context</key><string>test_calloc2</string>
    879 // CHECK-NEXT:   <key>issue_hash</key><string>1</string>
    880 // CHECK-NEXT:   <key>location</key>
    881 // CHECK-NEXT:   <dict>
    882 // CHECK-NEXT:    <key>line</key><integer>100</integer>
    883 // CHECK-NEXT:    <key>col</key><integer>15</integer>
    884 // CHECK-NEXT:    <key>file</key><integer>0</integer>
    885 // CHECK-NEXT:   </dict>
    886 // CHECK-NEXT:   </dict>
    887 // CHECK-NEXT:   <dict>
    888 // CHECK-NEXT:    <key>path</key>
    889 // CHECK-NEXT:    <array>
    890 // CHECK-NEXT:     <dict>
    891 // CHECK-NEXT:      <key>kind</key><string>control</string>
    892 // CHECK-NEXT:      <key>edges</key>
    893 // CHECK-NEXT:       <array>
    894 // CHECK-NEXT:        <dict>
    895 // CHECK-NEXT:         <key>start</key>
    896 // CHECK-NEXT:          <array>
    897 // CHECK-NEXT:           <dict>
    898 // CHECK-NEXT:            <key>line</key><integer>112</integer>
    899 // CHECK-NEXT:            <key>col</key><integer>3</integer>
    900 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    901 // CHECK-NEXT:           </dict>
    902 // CHECK-NEXT:           <dict>
    903 // CHECK-NEXT:            <key>line</key><integer>112</integer>
    904 // CHECK-NEXT:            <key>col</key><integer>6</integer>
    905 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    906 // CHECK-NEXT:           </dict>
    907 // CHECK-NEXT:          </array>
    908 // CHECK-NEXT:         <key>end</key>
    909 // CHECK-NEXT:          <array>
    910 // CHECK-NEXT:           <dict>
    911 // CHECK-NEXT:            <key>line</key><integer>112</integer>
    912 // CHECK-NEXT:            <key>col</key><integer>15</integer>
    913 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    914 // CHECK-NEXT:           </dict>
    915 // CHECK-NEXT:           <dict>
    916 // CHECK-NEXT:            <key>line</key><integer>112</integer>
    917 // CHECK-NEXT:            <key>col</key><integer>21</integer>
    918 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    919 // CHECK-NEXT:           </dict>
    920 // CHECK-NEXT:          </array>
    921 // CHECK-NEXT:        </dict>
    922 // CHECK-NEXT:       </array>
    923 // CHECK-NEXT:     </dict>
    924 // CHECK-NEXT:     <dict>
    925 // CHECK-NEXT:      <key>kind</key><string>event</string>
    926 // CHECK-NEXT:      <key>location</key>
    927 // CHECK-NEXT:      <dict>
    928 // CHECK-NEXT:       <key>line</key><integer>112</integer>
    929 // CHECK-NEXT:       <key>col</key><integer>15</integer>
    930 // CHECK-NEXT:       <key>file</key><integer>0</integer>
    931 // CHECK-NEXT:      </dict>
    932 // CHECK-NEXT:      <key>ranges</key>
    933 // CHECK-NEXT:      <array>
    934 // CHECK-NEXT:        <array>
    935 // CHECK-NEXT:         <dict>
    936 // CHECK-NEXT:          <key>line</key><integer>112</integer>
    937 // CHECK-NEXT:          <key>col</key><integer>28</integer>
    938 // CHECK-NEXT:          <key>file</key><integer>0</integer>
    939 // CHECK-NEXT:         </dict>
    940 // CHECK-NEXT:         <dict>
    941 // CHECK-NEXT:          <key>line</key><integer>112</integer>
    942 // CHECK-NEXT:          <key>col</key><integer>28</integer>
    943 // CHECK-NEXT:          <key>file</key><integer>0</integer>
    944 // CHECK-NEXT:         </dict>
    945 // CHECK-NEXT:        </array>
    946 // CHECK-NEXT:      </array>
    947 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
    948 // CHECK-NEXT:      <key>extended_message</key>
    949 // CHECK-NEXT:      <string>Call to &apos;realloc&apos; has an allocation size of 0 bytes</string>
    950 // CHECK-NEXT:      <key>message</key>
    951 // CHECK-NEXT:      <string>Call to &apos;realloc&apos; has an allocation size of 0 bytes</string>
    952 // CHECK-NEXT:     </dict>
    953 // CHECK-NEXT:    </array>
    954 // CHECK-NEXT:    <key>description</key><string>Call to &apos;realloc&apos; has an allocation size of 0 bytes</string>
    955 // CHECK-NEXT:    <key>category</key><string>Unix API</string>
    956 // CHECK-NEXT:    <key>type</key><string>Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)</string>
    957 // CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
    958 // CHECK-NEXT:   <key>issue_context</key><string>test_realloc</string>
    959 // CHECK-NEXT:   <key>issue_hash</key><string>1</string>
    960 // CHECK-NEXT:   <key>location</key>
    961 // CHECK-NEXT:   <dict>
    962 // CHECK-NEXT:    <key>line</key><integer>112</integer>
    963 // CHECK-NEXT:    <key>col</key><integer>15</integer>
    964 // CHECK-NEXT:    <key>file</key><integer>0</integer>
    965 // CHECK-NEXT:   </dict>
    966 // CHECK-NEXT:   </dict>
    967 // CHECK-NEXT:   <dict>
    968 // CHECK-NEXT:    <key>path</key>
    969 // CHECK-NEXT:    <array>
    970 // CHECK-NEXT:     <dict>
    971 // CHECK-NEXT:      <key>kind</key><string>control</string>
    972 // CHECK-NEXT:      <key>edges</key>
    973 // CHECK-NEXT:       <array>
    974 // CHECK-NEXT:        <dict>
    975 // CHECK-NEXT:         <key>start</key>
    976 // CHECK-NEXT:          <array>
    977 // CHECK-NEXT:           <dict>
    978 // CHECK-NEXT:            <key>line</key><integer>118</integer>
    979 // CHECK-NEXT:            <key>col</key><integer>3</integer>
    980 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    981 // CHECK-NEXT:           </dict>
    982 // CHECK-NEXT:           <dict>
    983 // CHECK-NEXT:            <key>line</key><integer>118</integer>
    984 // CHECK-NEXT:            <key>col</key><integer>6</integer>
    985 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    986 // CHECK-NEXT:           </dict>
    987 // CHECK-NEXT:          </array>
    988 // CHECK-NEXT:         <key>end</key>
    989 // CHECK-NEXT:          <array>
    990 // CHECK-NEXT:           <dict>
    991 // CHECK-NEXT:            <key>line</key><integer>118</integer>
    992 // CHECK-NEXT:            <key>col</key><integer>15</integer>
    993 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    994 // CHECK-NEXT:           </dict>
    995 // CHECK-NEXT:           <dict>
    996 // CHECK-NEXT:            <key>line</key><integer>118</integer>
    997 // CHECK-NEXT:            <key>col</key><integer>22</integer>
    998 // CHECK-NEXT:            <key>file</key><integer>0</integer>
    999 // CHECK-NEXT:           </dict>
   1000 // CHECK-NEXT:          </array>
   1001 // CHECK-NEXT:        </dict>
   1002 // CHECK-NEXT:       </array>
   1003 // CHECK-NEXT:     </dict>
   1004 // CHECK-NEXT:     <dict>
   1005 // CHECK-NEXT:      <key>kind</key><string>event</string>
   1006 // CHECK-NEXT:      <key>location</key>
   1007 // CHECK-NEXT:      <dict>
   1008 // CHECK-NEXT:       <key>line</key><integer>118</integer>
   1009 // CHECK-NEXT:       <key>col</key><integer>15</integer>
   1010 // CHECK-NEXT:       <key>file</key><integer>0</integer>
   1011 // CHECK-NEXT:      </dict>
   1012 // CHECK-NEXT:      <key>ranges</key>
   1013 // CHECK-NEXT:      <array>
   1014 // CHECK-NEXT:        <array>
   1015 // CHECK-NEXT:         <dict>
   1016 // CHECK-NEXT:          <key>line</key><integer>118</integer>
   1017 // CHECK-NEXT:          <key>col</key><integer>29</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>118</integer>
   1022 // CHECK-NEXT:          <key>col</key><integer>29</integer>
   1023 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1024 // CHECK-NEXT:         </dict>
   1025 // CHECK-NEXT:        </array>
   1026 // CHECK-NEXT:      </array>
   1027 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
   1028 // CHECK-NEXT:      <key>extended_message</key>
   1029 // CHECK-NEXT:      <string>Call to &apos;reallocf&apos; has an allocation size of 0 bytes</string>
   1030 // CHECK-NEXT:      <key>message</key>
   1031 // CHECK-NEXT:      <string>Call to &apos;reallocf&apos; has an allocation size of 0 bytes</string>
   1032 // CHECK-NEXT:     </dict>
   1033 // CHECK-NEXT:    </array>
   1034 // CHECK-NEXT:    <key>description</key><string>Call to &apos;reallocf&apos; has an allocation size of 0 bytes</string>
   1035 // CHECK-NEXT:    <key>category</key><string>Unix API</string>
   1036 // CHECK-NEXT:    <key>type</key><string>Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)</string>
   1037 // CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
   1038 // CHECK-NEXT:   <key>issue_context</key><string>test_reallocf</string>
   1039 // CHECK-NEXT:   <key>issue_hash</key><string>1</string>
   1040 // CHECK-NEXT:   <key>location</key>
   1041 // CHECK-NEXT:   <dict>
   1042 // CHECK-NEXT:    <key>line</key><integer>118</integer>
   1043 // CHECK-NEXT:    <key>col</key><integer>15</integer>
   1044 // CHECK-NEXT:    <key>file</key><integer>0</integer>
   1045 // CHECK-NEXT:   </dict>
   1046 // CHECK-NEXT:   </dict>
   1047 // CHECK-NEXT:   <dict>
   1048 // CHECK-NEXT:    <key>path</key>
   1049 // CHECK-NEXT:    <array>
   1050 // CHECK-NEXT:     <dict>
   1051 // CHECK-NEXT:      <key>kind</key><string>control</string>
   1052 // CHECK-NEXT:      <key>edges</key>
   1053 // CHECK-NEXT:       <array>
   1054 // CHECK-NEXT:        <dict>
   1055 // CHECK-NEXT:         <key>start</key>
   1056 // CHECK-NEXT:          <array>
   1057 // CHECK-NEXT:           <dict>
   1058 // CHECK-NEXT:            <key>line</key><integer>136</integer>
   1059 // CHECK-NEXT:            <key>col</key><integer>3</integer>
   1060 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1061 // CHECK-NEXT:           </dict>
   1062 // CHECK-NEXT:           <dict>
   1063 // CHECK-NEXT:            <key>line</key><integer>136</integer>
   1064 // CHECK-NEXT:            <key>col</key><integer>6</integer>
   1065 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1066 // CHECK-NEXT:           </dict>
   1067 // CHECK-NEXT:          </array>
   1068 // CHECK-NEXT:         <key>end</key>
   1069 // CHECK-NEXT:          <array>
   1070 // CHECK-NEXT:           <dict>
   1071 // CHECK-NEXT:            <key>line</key><integer>136</integer>
   1072 // CHECK-NEXT:            <key>col</key><integer>15</integer>
   1073 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1074 // CHECK-NEXT:           </dict>
   1075 // CHECK-NEXT:           <dict>
   1076 // CHECK-NEXT:            <key>line</key><integer>136</integer>
   1077 // CHECK-NEXT:            <key>col</key><integer>20</integer>
   1078 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1079 // CHECK-NEXT:           </dict>
   1080 // CHECK-NEXT:          </array>
   1081 // CHECK-NEXT:        </dict>
   1082 // CHECK-NEXT:       </array>
   1083 // CHECK-NEXT:     </dict>
   1084 // CHECK-NEXT:     <dict>
   1085 // CHECK-NEXT:      <key>kind</key><string>event</string>
   1086 // CHECK-NEXT:      <key>location</key>
   1087 // CHECK-NEXT:      <dict>
   1088 // CHECK-NEXT:       <key>line</key><integer>136</integer>
   1089 // CHECK-NEXT:       <key>col</key><integer>15</integer>
   1090 // CHECK-NEXT:       <key>file</key><integer>0</integer>
   1091 // CHECK-NEXT:      </dict>
   1092 // CHECK-NEXT:      <key>ranges</key>
   1093 // CHECK-NEXT:      <array>
   1094 // CHECK-NEXT:        <array>
   1095 // CHECK-NEXT:         <dict>
   1096 // CHECK-NEXT:          <key>line</key><integer>136</integer>
   1097 // CHECK-NEXT:          <key>col</key><integer>22</integer>
   1098 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1099 // CHECK-NEXT:         </dict>
   1100 // CHECK-NEXT:         <dict>
   1101 // CHECK-NEXT:          <key>line</key><integer>136</integer>
   1102 // CHECK-NEXT:          <key>col</key><integer>22</integer>
   1103 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1104 // CHECK-NEXT:         </dict>
   1105 // CHECK-NEXT:        </array>
   1106 // CHECK-NEXT:      </array>
   1107 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
   1108 // CHECK-NEXT:      <key>extended_message</key>
   1109 // CHECK-NEXT:      <string>Call to &apos;alloca&apos; has an allocation size of 0 bytes</string>
   1110 // CHECK-NEXT:      <key>message</key>
   1111 // CHECK-NEXT:      <string>Call to &apos;alloca&apos; has an allocation size of 0 bytes</string>
   1112 // CHECK-NEXT:     </dict>
   1113 // CHECK-NEXT:    </array>
   1114 // CHECK-NEXT:    <key>description</key><string>Call to &apos;alloca&apos; has an allocation size of 0 bytes</string>
   1115 // CHECK-NEXT:    <key>category</key><string>Unix API</string>
   1116 // CHECK-NEXT:    <key>type</key><string>Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)</string>
   1117 // CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
   1118 // CHECK-NEXT:   <key>issue_context</key><string>test_alloca</string>
   1119 // CHECK-NEXT:   <key>issue_hash</key><string>1</string>
   1120 // CHECK-NEXT:   <key>location</key>
   1121 // CHECK-NEXT:   <dict>
   1122 // CHECK-NEXT:    <key>line</key><integer>136</integer>
   1123 // CHECK-NEXT:    <key>col</key><integer>15</integer>
   1124 // CHECK-NEXT:    <key>file</key><integer>0</integer>
   1125 // CHECK-NEXT:   </dict>
   1126 // CHECK-NEXT:   </dict>
   1127 // CHECK-NEXT:   <dict>
   1128 // CHECK-NEXT:    <key>path</key>
   1129 // CHECK-NEXT:    <array>
   1130 // CHECK-NEXT:     <dict>
   1131 // CHECK-NEXT:      <key>kind</key><string>control</string>
   1132 // CHECK-NEXT:      <key>edges</key>
   1133 // CHECK-NEXT:       <array>
   1134 // CHECK-NEXT:        <dict>
   1135 // CHECK-NEXT:         <key>start</key>
   1136 // CHECK-NEXT:          <array>
   1137 // CHECK-NEXT:           <dict>
   1138 // CHECK-NEXT:            <key>line</key><integer>148</integer>
   1139 // CHECK-NEXT:            <key>col</key><integer>3</integer>
   1140 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1141 // CHECK-NEXT:           </dict>
   1142 // CHECK-NEXT:           <dict>
   1143 // CHECK-NEXT:            <key>line</key><integer>148</integer>
   1144 // CHECK-NEXT:            <key>col</key><integer>6</integer>
   1145 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1146 // CHECK-NEXT:           </dict>
   1147 // CHECK-NEXT:          </array>
   1148 // CHECK-NEXT:         <key>end</key>
   1149 // CHECK-NEXT:          <array>
   1150 // CHECK-NEXT:           <dict>
   1151 // CHECK-NEXT:            <key>line</key><integer>148</integer>
   1152 // CHECK-NEXT:            <key>col</key><integer>16</integer>
   1153 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1154 // CHECK-NEXT:           </dict>
   1155 // CHECK-NEXT:           <dict>
   1156 // CHECK-NEXT:            <key>line</key><integer>148</integer>
   1157 // CHECK-NEXT:            <key>col</key><integer>31</integer>
   1158 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1159 // CHECK-NEXT:           </dict>
   1160 // CHECK-NEXT:          </array>
   1161 // CHECK-NEXT:        </dict>
   1162 // CHECK-NEXT:       </array>
   1163 // CHECK-NEXT:     </dict>
   1164 // CHECK-NEXT:     <dict>
   1165 // CHECK-NEXT:      <key>kind</key><string>event</string>
   1166 // CHECK-NEXT:      <key>location</key>
   1167 // CHECK-NEXT:      <dict>
   1168 // CHECK-NEXT:       <key>line</key><integer>148</integer>
   1169 // CHECK-NEXT:       <key>col</key><integer>16</integer>
   1170 // CHECK-NEXT:       <key>file</key><integer>0</integer>
   1171 // CHECK-NEXT:      </dict>
   1172 // CHECK-NEXT:      <key>ranges</key>
   1173 // CHECK-NEXT:      <array>
   1174 // CHECK-NEXT:        <array>
   1175 // CHECK-NEXT:         <dict>
   1176 // CHECK-NEXT:          <key>line</key><integer>148</integer>
   1177 // CHECK-NEXT:          <key>col</key><integer>33</integer>
   1178 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1179 // CHECK-NEXT:         </dict>
   1180 // CHECK-NEXT:         <dict>
   1181 // CHECK-NEXT:          <key>line</key><integer>148</integer>
   1182 // CHECK-NEXT:          <key>col</key><integer>33</integer>
   1183 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1184 // CHECK-NEXT:         </dict>
   1185 // CHECK-NEXT:        </array>
   1186 // CHECK-NEXT:      </array>
   1187 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
   1188 // CHECK-NEXT:      <key>extended_message</key>
   1189 // CHECK-NEXT:      <string>Call to &apos;alloca&apos; has an allocation size of 0 bytes</string>
   1190 // CHECK-NEXT:      <key>message</key>
   1191 // CHECK-NEXT:      <string>Call to &apos;alloca&apos; has an allocation size of 0 bytes</string>
   1192 // CHECK-NEXT:     </dict>
   1193 // CHECK-NEXT:    </array>
   1194 // CHECK-NEXT:    <key>description</key><string>Call to &apos;alloca&apos; has an allocation size of 0 bytes</string>
   1195 // CHECK-NEXT:    <key>category</key><string>Unix API</string>
   1196 // CHECK-NEXT:    <key>type</key><string>Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)</string>
   1197 // CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
   1198 // CHECK-NEXT:   <key>issue_context</key><string>test_builtin_alloca</string>
   1199 // CHECK-NEXT:   <key>issue_hash</key><string>1</string>
   1200 // CHECK-NEXT:   <key>location</key>
   1201 // CHECK-NEXT:   <dict>
   1202 // CHECK-NEXT:    <key>line</key><integer>148</integer>
   1203 // CHECK-NEXT:    <key>col</key><integer>16</integer>
   1204 // CHECK-NEXT:    <key>file</key><integer>0</integer>
   1205 // CHECK-NEXT:   </dict>
   1206 // CHECK-NEXT:   </dict>
   1207 // CHECK-NEXT:   <dict>
   1208 // CHECK-NEXT:    <key>path</key>
   1209 // CHECK-NEXT:    <array>
   1210 // CHECK-NEXT:     <dict>
   1211 // CHECK-NEXT:      <key>kind</key><string>control</string>
   1212 // CHECK-NEXT:      <key>edges</key>
   1213 // CHECK-NEXT:       <array>
   1214 // CHECK-NEXT:        <dict>
   1215 // CHECK-NEXT:         <key>start</key>
   1216 // CHECK-NEXT:          <array>
   1217 // CHECK-NEXT:           <dict>
   1218 // CHECK-NEXT:            <key>line</key><integer>160</integer>
   1219 // CHECK-NEXT:            <key>col</key><integer>3</integer>
   1220 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1221 // CHECK-NEXT:           </dict>
   1222 // CHECK-NEXT:           <dict>
   1223 // CHECK-NEXT:            <key>line</key><integer>160</integer>
   1224 // CHECK-NEXT:            <key>col</key><integer>6</integer>
   1225 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1226 // CHECK-NEXT:           </dict>
   1227 // CHECK-NEXT:          </array>
   1228 // CHECK-NEXT:         <key>end</key>
   1229 // CHECK-NEXT:          <array>
   1230 // CHECK-NEXT:           <dict>
   1231 // CHECK-NEXT:            <key>line</key><integer>160</integer>
   1232 // CHECK-NEXT:            <key>col</key><integer>15</integer>
   1233 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1234 // CHECK-NEXT:           </dict>
   1235 // CHECK-NEXT:           <dict>
   1236 // CHECK-NEXT:            <key>line</key><integer>160</integer>
   1237 // CHECK-NEXT:            <key>col</key><integer>20</integer>
   1238 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1239 // CHECK-NEXT:           </dict>
   1240 // CHECK-NEXT:          </array>
   1241 // CHECK-NEXT:        </dict>
   1242 // CHECK-NEXT:       </array>
   1243 // CHECK-NEXT:     </dict>
   1244 // CHECK-NEXT:     <dict>
   1245 // CHECK-NEXT:      <key>kind</key><string>event</string>
   1246 // CHECK-NEXT:      <key>location</key>
   1247 // CHECK-NEXT:      <dict>
   1248 // CHECK-NEXT:       <key>line</key><integer>160</integer>
   1249 // CHECK-NEXT:       <key>col</key><integer>15</integer>
   1250 // CHECK-NEXT:       <key>file</key><integer>0</integer>
   1251 // CHECK-NEXT:      </dict>
   1252 // CHECK-NEXT:      <key>ranges</key>
   1253 // CHECK-NEXT:      <array>
   1254 // CHECK-NEXT:        <array>
   1255 // CHECK-NEXT:         <dict>
   1256 // CHECK-NEXT:          <key>line</key><integer>160</integer>
   1257 // CHECK-NEXT:          <key>col</key><integer>22</integer>
   1258 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1259 // CHECK-NEXT:         </dict>
   1260 // CHECK-NEXT:         <dict>
   1261 // CHECK-NEXT:          <key>line</key><integer>160</integer>
   1262 // CHECK-NEXT:          <key>col</key><integer>22</integer>
   1263 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1264 // CHECK-NEXT:         </dict>
   1265 // CHECK-NEXT:        </array>
   1266 // CHECK-NEXT:      </array>
   1267 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
   1268 // CHECK-NEXT:      <key>extended_message</key>
   1269 // CHECK-NEXT:      <string>Call to &apos;valloc&apos; has an allocation size of 0 bytes</string>
   1270 // CHECK-NEXT:      <key>message</key>
   1271 // CHECK-NEXT:      <string>Call to &apos;valloc&apos; has an allocation size of 0 bytes</string>
   1272 // CHECK-NEXT:     </dict>
   1273 // CHECK-NEXT:    </array>
   1274 // CHECK-NEXT:    <key>description</key><string>Call to &apos;valloc&apos; has an allocation size of 0 bytes</string>
   1275 // CHECK-NEXT:    <key>category</key><string>Unix API</string>
   1276 // CHECK-NEXT:    <key>type</key><string>Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)</string>
   1277 // CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
   1278 // CHECK-NEXT:   <key>issue_context</key><string>test_valloc</string>
   1279 // CHECK-NEXT:   <key>issue_hash</key><string>1</string>
   1280 // CHECK-NEXT:   <key>location</key>
   1281 // CHECK-NEXT:   <dict>
   1282 // CHECK-NEXT:    <key>line</key><integer>160</integer>
   1283 // CHECK-NEXT:    <key>col</key><integer>15</integer>
   1284 // CHECK-NEXT:    <key>file</key><integer>0</integer>
   1285 // CHECK-NEXT:   </dict>
   1286 // CHECK-NEXT:   </dict>
   1287 // CHECK-NEXT:   <dict>
   1288 // CHECK-NEXT:    <key>path</key>
   1289 // CHECK-NEXT:    <array>
   1290 // CHECK-NEXT:     <dict>
   1291 // CHECK-NEXT:      <key>kind</key><string>control</string>
   1292 // CHECK-NEXT:      <key>edges</key>
   1293 // CHECK-NEXT:       <array>
   1294 // CHECK-NEXT:        <dict>
   1295 // CHECK-NEXT:         <key>start</key>
   1296 // CHECK-NEXT:          <array>
   1297 // CHECK-NEXT:           <dict>
   1298 // CHECK-NEXT:            <key>line</key><integer>183</integer>
   1299 // CHECK-NEXT:            <key>col</key><integer>3</integer>
   1300 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1301 // CHECK-NEXT:           </dict>
   1302 // CHECK-NEXT:           <dict>
   1303 // CHECK-NEXT:            <key>line</key><integer>183</integer>
   1304 // CHECK-NEXT:            <key>col</key><integer>17</integer>
   1305 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1306 // CHECK-NEXT:           </dict>
   1307 // CHECK-NEXT:          </array>
   1308 // CHECK-NEXT:         <key>end</key>
   1309 // CHECK-NEXT:          <array>
   1310 // CHECK-NEXT:           <dict>
   1311 // CHECK-NEXT:            <key>line</key><integer>184</integer>
   1312 // CHECK-NEXT:            <key>col</key><integer>3</integer>
   1313 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1314 // CHECK-NEXT:           </dict>
   1315 // CHECK-NEXT:           <dict>
   1316 // CHECK-NEXT:            <key>line</key><integer>184</integer>
   1317 // CHECK-NEXT:            <key>col</key><integer>15</integer>
   1318 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1319 // CHECK-NEXT:           </dict>
   1320 // CHECK-NEXT:          </array>
   1321 // CHECK-NEXT:        </dict>
   1322 // CHECK-NEXT:       </array>
   1323 // CHECK-NEXT:     </dict>
   1324 // CHECK-NEXT:     <dict>
   1325 // CHECK-NEXT:      <key>kind</key><string>event</string>
   1326 // CHECK-NEXT:      <key>location</key>
   1327 // CHECK-NEXT:      <dict>
   1328 // CHECK-NEXT:       <key>line</key><integer>184</integer>
   1329 // CHECK-NEXT:       <key>col</key><integer>3</integer>
   1330 // CHECK-NEXT:       <key>file</key><integer>0</integer>
   1331 // CHECK-NEXT:      </dict>
   1332 // CHECK-NEXT:      <key>ranges</key>
   1333 // CHECK-NEXT:      <array>
   1334 // CHECK-NEXT:        <array>
   1335 // CHECK-NEXT:         <dict>
   1336 // CHECK-NEXT:          <key>line</key><integer>184</integer>
   1337 // CHECK-NEXT:          <key>col</key><integer>17</integer>
   1338 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1339 // CHECK-NEXT:         </dict>
   1340 // CHECK-NEXT:         <dict>
   1341 // CHECK-NEXT:          <key>line</key><integer>184</integer>
   1342 // CHECK-NEXT:          <key>col</key><integer>21</integer>
   1343 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1344 // CHECK-NEXT:         </dict>
   1345 // CHECK-NEXT:        </array>
   1346 // CHECK-NEXT:      </array>
   1347 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
   1348 // CHECK-NEXT:      <key>extended_message</key>
   1349 // CHECK-NEXT:      <string>Call to &apos;dispatch_once&apos; uses the local variable &apos;pred&apos; for the predicate value.  Using such transient memory for the predicate is potentially dangerous.  Perhaps you intended to declare the variable as &apos;static&apos;?</string>
   1350 // CHECK-NEXT:      <key>message</key>
   1351 // CHECK-NEXT:      <string>Call to &apos;dispatch_once&apos; uses the local variable &apos;pred&apos; for the predicate value.  Using such transient memory for the predicate is potentially dangerous.  Perhaps you intended to declare the variable as &apos;static&apos;?</string>
   1352 // CHECK-NEXT:     </dict>
   1353 // CHECK-NEXT:    </array>
   1354 // CHECK-NEXT:    <key>description</key><string>Call to &apos;dispatch_once&apos; uses the local variable &apos;pred&apos; for the predicate value.  Using such transient memory for the predicate is potentially dangerous.  Perhaps you intended to declare the variable as &apos;static&apos;?</string>
   1355 // CHECK-NEXT:    <key>category</key><string>API Misuse (Apple)</string>
   1356 // CHECK-NEXT:    <key>type</key><string>Improper use of &apos;dispatch_once&apos;</string>
   1357 // CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
   1358 // CHECK-NEXT:   <key>issue_context</key><string>test_dispatch_once_in_macro</string>
   1359 // CHECK-NEXT:   <key>issue_hash</key><string>2</string>
   1360 // CHECK-NEXT:   <key>location</key>
   1361 // CHECK-NEXT:   <dict>
   1362 // CHECK-NEXT:    <key>line</key><integer>184</integer>
   1363 // CHECK-NEXT:    <key>col</key><integer>3</integer>
   1364 // CHECK-NEXT:    <key>file</key><integer>0</integer>
   1365 // CHECK-NEXT:   </dict>
   1366 // CHECK-NEXT:   </dict>
   1367 // CHECK-NEXT:   <dict>
   1368 // CHECK-NEXT:    <key>path</key>
   1369 // CHECK-NEXT:    <array>
   1370 // CHECK-NEXT:     <dict>
   1371 // CHECK-NEXT:      <key>kind</key><string>event</string>
   1372 // CHECK-NEXT:      <key>location</key>
   1373 // CHECK-NEXT:      <dict>
   1374 // CHECK-NEXT:       <key>line</key><integer>189</integer>
   1375 // CHECK-NEXT:       <key>col</key><integer>3</integer>
   1376 // CHECK-NEXT:       <key>file</key><integer>0</integer>
   1377 // CHECK-NEXT:      </dict>
   1378 // CHECK-NEXT:      <key>ranges</key>
   1379 // CHECK-NEXT:      <array>
   1380 // CHECK-NEXT:        <array>
   1381 // CHECK-NEXT:         <dict>
   1382 // CHECK-NEXT:          <key>line</key><integer>189</integer>
   1383 // CHECK-NEXT:          <key>col</key><integer>3</integer>
   1384 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1385 // CHECK-NEXT:         </dict>
   1386 // CHECK-NEXT:         <dict>
   1387 // CHECK-NEXT:          <key>line</key><integer>189</integer>
   1388 // CHECK-NEXT:          <key>col</key><integer>8</integer>
   1389 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1390 // CHECK-NEXT:         </dict>
   1391 // CHECK-NEXT:        </array>
   1392 // CHECK-NEXT:      </array>
   1393 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
   1394 // CHECK-NEXT:      <key>extended_message</key>
   1395 // CHECK-NEXT:      <string>&apos;p&apos; initialized to a null pointer value</string>
   1396 // CHECK-NEXT:      <key>message</key>
   1397 // CHECK-NEXT:      <string>&apos;p&apos; initialized to a null pointer value</string>
   1398 // CHECK-NEXT:     </dict>
   1399 // CHECK-NEXT:     <dict>
   1400 // CHECK-NEXT:      <key>kind</key><string>control</string>
   1401 // CHECK-NEXT:      <key>edges</key>
   1402 // CHECK-NEXT:       <array>
   1403 // CHECK-NEXT:        <dict>
   1404 // CHECK-NEXT:         <key>start</key>
   1405 // CHECK-NEXT:          <array>
   1406 // CHECK-NEXT:           <dict>
   1407 // CHECK-NEXT:            <key>line</key><integer>189</integer>
   1408 // CHECK-NEXT:            <key>col</key><integer>3</integer>
   1409 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1410 // CHECK-NEXT:           </dict>
   1411 // CHECK-NEXT:           <dict>
   1412 // CHECK-NEXT:            <key>line</key><integer>189</integer>
   1413 // CHECK-NEXT:            <key>col</key><integer>5</integer>
   1414 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1415 // CHECK-NEXT:           </dict>
   1416 // CHECK-NEXT:          </array>
   1417 // CHECK-NEXT:         <key>end</key>
   1418 // CHECK-NEXT:          <array>
   1419 // CHECK-NEXT:           <dict>
   1420 // CHECK-NEXT:            <key>line</key><integer>190</integer>
   1421 // CHECK-NEXT:            <key>col</key><integer>3</integer>
   1422 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1423 // CHECK-NEXT:           </dict>
   1424 // CHECK-NEXT:           <dict>
   1425 // CHECK-NEXT:            <key>line</key><integer>190</integer>
   1426 // CHECK-NEXT:            <key>col</key><integer>15</integer>
   1427 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1428 // CHECK-NEXT:           </dict>
   1429 // CHECK-NEXT:          </array>
   1430 // CHECK-NEXT:        </dict>
   1431 // CHECK-NEXT:       </array>
   1432 // CHECK-NEXT:     </dict>
   1433 // CHECK-NEXT:     <dict>
   1434 // CHECK-NEXT:      <key>kind</key><string>control</string>
   1435 // CHECK-NEXT:      <key>edges</key>
   1436 // CHECK-NEXT:       <array>
   1437 // CHECK-NEXT:        <dict>
   1438 // CHECK-NEXT:         <key>start</key>
   1439 // CHECK-NEXT:          <array>
   1440 // CHECK-NEXT:           <dict>
   1441 // CHECK-NEXT:            <key>line</key><integer>190</integer>
   1442 // CHECK-NEXT:            <key>col</key><integer>3</integer>
   1443 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1444 // CHECK-NEXT:           </dict>
   1445 // CHECK-NEXT:           <dict>
   1446 // CHECK-NEXT:            <key>line</key><integer>190</integer>
   1447 // CHECK-NEXT:            <key>col</key><integer>15</integer>
   1448 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1449 // CHECK-NEXT:           </dict>
   1450 // CHECK-NEXT:          </array>
   1451 // CHECK-NEXT:         <key>end</key>
   1452 // CHECK-NEXT:          <array>
   1453 // CHECK-NEXT:           <dict>
   1454 // CHECK-NEXT:            <key>line</key><integer>190</integer>
   1455 // CHECK-NEXT:            <key>col</key><integer>24</integer>
   1456 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1457 // CHECK-NEXT:           </dict>
   1458 // CHECK-NEXT:           <dict>
   1459 // CHECK-NEXT:            <key>line</key><integer>190</integer>
   1460 // CHECK-NEXT:            <key>col</key><integer>24</integer>
   1461 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1462 // CHECK-NEXT:           </dict>
   1463 // CHECK-NEXT:          </array>
   1464 // CHECK-NEXT:        </dict>
   1465 // CHECK-NEXT:       </array>
   1466 // CHECK-NEXT:     </dict>
   1467 // CHECK-NEXT:     <dict>
   1468 // CHECK-NEXT:      <key>kind</key><string>event</string>
   1469 // CHECK-NEXT:      <key>location</key>
   1470 // CHECK-NEXT:      <dict>
   1471 // CHECK-NEXT:       <key>line</key><integer>190</integer>
   1472 // CHECK-NEXT:       <key>col</key><integer>24</integer>
   1473 // CHECK-NEXT:       <key>file</key><integer>0</integer>
   1474 // CHECK-NEXT:      </dict>
   1475 // CHECK-NEXT:      <key>ranges</key>
   1476 // CHECK-NEXT:      <array>
   1477 // CHECK-NEXT:        <array>
   1478 // CHECK-NEXT:         <dict>
   1479 // CHECK-NEXT:          <key>line</key><integer>190</integer>
   1480 // CHECK-NEXT:          <key>col</key><integer>24</integer>
   1481 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1482 // CHECK-NEXT:         </dict>
   1483 // CHECK-NEXT:         <dict>
   1484 // CHECK-NEXT:          <key>line</key><integer>194</integer>
   1485 // CHECK-NEXT:          <key>col</key><integer>3</integer>
   1486 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1487 // CHECK-NEXT:         </dict>
   1488 // CHECK-NEXT:        </array>
   1489 // CHECK-NEXT:      </array>
   1490 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
   1491 // CHECK-NEXT:      <key>extended_message</key>
   1492 // CHECK-NEXT:      <string>&apos;p&apos; captured by block as a null pointer value</string>
   1493 // CHECK-NEXT:      <key>message</key>
   1494 // CHECK-NEXT:      <string>&apos;p&apos; captured by block as a null pointer value</string>
   1495 // CHECK-NEXT:     </dict>
   1496 // CHECK-NEXT:     <dict>
   1497 // CHECK-NEXT:      <key>kind</key><string>event</string>
   1498 // CHECK-NEXT:      <key>location</key>
   1499 // CHECK-NEXT:      <dict>
   1500 // CHECK-NEXT:       <key>line</key><integer>190</integer>
   1501 // CHECK-NEXT:       <key>col</key><integer>3</integer>
   1502 // CHECK-NEXT:       <key>file</key><integer>0</integer>
   1503 // CHECK-NEXT:      </dict>
   1504 // CHECK-NEXT:      <key>ranges</key>
   1505 // CHECK-NEXT:      <array>
   1506 // CHECK-NEXT:        <array>
   1507 // CHECK-NEXT:         <dict>
   1508 // CHECK-NEXT:          <key>line</key><integer>190</integer>
   1509 // CHECK-NEXT:          <key>col</key><integer>3</integer>
   1510 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1511 // CHECK-NEXT:         </dict>
   1512 // CHECK-NEXT:         <dict>
   1513 // CHECK-NEXT:          <key>line</key><integer>194</integer>
   1514 // CHECK-NEXT:          <key>col</key><integer>4</integer>
   1515 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1516 // CHECK-NEXT:         </dict>
   1517 // CHECK-NEXT:        </array>
   1518 // CHECK-NEXT:      </array>
   1519 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
   1520 // CHECK-NEXT:      <key>extended_message</key>
   1521 // CHECK-NEXT:      <string>Calling &apos;dispatch_sync&apos;</string>
   1522 // CHECK-NEXT:      <key>message</key>
   1523 // CHECK-NEXT:      <string>Calling &apos;dispatch_sync&apos;</string>
   1524 // CHECK-NEXT:     </dict>
   1525 // CHECK-NEXT:     <dict>
   1526 // CHECK-NEXT:      <key>kind</key><string>event</string>
   1527 // CHECK-NEXT:      <key>location</key>
   1528 // CHECK-NEXT:      <dict>
   1529 // CHECK-NEXT:       <key>line</key><integer>190</integer>
   1530 // CHECK-NEXT:       <key>col</key><integer>3</integer>
   1531 // CHECK-NEXT:       <key>file</key><integer>0</integer>
   1532 // CHECK-NEXT:      </dict>
   1533 // CHECK-NEXT:      <key>ranges</key>
   1534 // CHECK-NEXT:      <array>
   1535 // CHECK-NEXT:        <array>
   1536 // CHECK-NEXT:         <dict>
   1537 // CHECK-NEXT:          <key>line</key><integer>190</integer>
   1538 // CHECK-NEXT:          <key>col</key><integer>3</integer>
   1539 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1540 // CHECK-NEXT:         </dict>
   1541 // CHECK-NEXT:         <dict>
   1542 // CHECK-NEXT:          <key>line</key><integer>194</integer>
   1543 // CHECK-NEXT:          <key>col</key><integer>4</integer>
   1544 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1545 // CHECK-NEXT:         </dict>
   1546 // CHECK-NEXT:        </array>
   1547 // CHECK-NEXT:      </array>
   1548 // CHECK-NEXT:      <key>depth</key><integer>1</integer>
   1549 // CHECK-NEXT:      <key>extended_message</key>
   1550 // CHECK-NEXT:      <string>Calling anonymous block</string>
   1551 // CHECK-NEXT:      <key>message</key>
   1552 // CHECK-NEXT:      <string>Calling anonymous block</string>
   1553 // CHECK-NEXT:     </dict>
   1554 // CHECK-NEXT:     <dict>
   1555 // CHECK-NEXT:      <key>kind</key><string>event</string>
   1556 // CHECK-NEXT:      <key>location</key>
   1557 // CHECK-NEXT:      <dict>
   1558 // CHECK-NEXT:       <key>line</key><integer>190</integer>
   1559 // CHECK-NEXT:       <key>col</key><integer>24</integer>
   1560 // CHECK-NEXT:       <key>file</key><integer>0</integer>
   1561 // CHECK-NEXT:      </dict>
   1562 // CHECK-NEXT:      <key>depth</key><integer>2</integer>
   1563 // CHECK-NEXT:      <key>extended_message</key>
   1564 // CHECK-NEXT:      <string>Entered call from &apos;dispatch_sync&apos;</string>
   1565 // CHECK-NEXT:      <key>message</key>
   1566 // CHECK-NEXT:      <string>Entered call from &apos;dispatch_sync&apos;</string>
   1567 // CHECK-NEXT:     </dict>
   1568 // CHECK-NEXT:     <dict>
   1569 // CHECK-NEXT:      <key>kind</key><string>control</string>
   1570 // CHECK-NEXT:      <key>edges</key>
   1571 // CHECK-NEXT:       <array>
   1572 // CHECK-NEXT:        <dict>
   1573 // CHECK-NEXT:         <key>start</key>
   1574 // CHECK-NEXT:          <array>
   1575 // CHECK-NEXT:           <dict>
   1576 // CHECK-NEXT:            <key>line</key><integer>190</integer>
   1577 // CHECK-NEXT:            <key>col</key><integer>24</integer>
   1578 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1579 // CHECK-NEXT:           </dict>
   1580 // CHECK-NEXT:           <dict>
   1581 // CHECK-NEXT:            <key>line</key><integer>190</integer>
   1582 // CHECK-NEXT:            <key>col</key><integer>24</integer>
   1583 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1584 // CHECK-NEXT:           </dict>
   1585 // CHECK-NEXT:          </array>
   1586 // CHECK-NEXT:         <key>end</key>
   1587 // CHECK-NEXT:          <array>
   1588 // CHECK-NEXT:           <dict>
   1589 // CHECK-NEXT:            <key>line</key><integer>191</integer>
   1590 // CHECK-NEXT:            <key>col</key><integer>4</integer>
   1591 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1592 // CHECK-NEXT:           </dict>
   1593 // CHECK-NEXT:           <dict>
   1594 // CHECK-NEXT:            <key>line</key><integer>191</integer>
   1595 // CHECK-NEXT:            <key>col</key><integer>5</integer>
   1596 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1597 // CHECK-NEXT:           </dict>
   1598 // CHECK-NEXT:          </array>
   1599 // CHECK-NEXT:        </dict>
   1600 // CHECK-NEXT:       </array>
   1601 // CHECK-NEXT:     </dict>
   1602 // CHECK-NEXT:     <dict>
   1603 // CHECK-NEXT:      <key>kind</key><string>control</string>
   1604 // CHECK-NEXT:      <key>edges</key>
   1605 // CHECK-NEXT:       <array>
   1606 // CHECK-NEXT:        <dict>
   1607 // CHECK-NEXT:         <key>start</key>
   1608 // CHECK-NEXT:          <array>
   1609 // CHECK-NEXT:           <dict>
   1610 // CHECK-NEXT:            <key>line</key><integer>191</integer>
   1611 // CHECK-NEXT:            <key>col</key><integer>4</integer>
   1612 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1613 // CHECK-NEXT:           </dict>
   1614 // CHECK-NEXT:           <dict>
   1615 // CHECK-NEXT:            <key>line</key><integer>191</integer>
   1616 // CHECK-NEXT:            <key>col</key><integer>5</integer>
   1617 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1618 // CHECK-NEXT:           </dict>
   1619 // CHECK-NEXT:          </array>
   1620 // CHECK-NEXT:         <key>end</key>
   1621 // CHECK-NEXT:          <array>
   1622 // CHECK-NEXT:           <dict>
   1623 // CHECK-NEXT:            <key>line</key><integer>191</integer>
   1624 // CHECK-NEXT:            <key>col</key><integer>8</integer>
   1625 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1626 // CHECK-NEXT:           </dict>
   1627 // CHECK-NEXT:           <dict>
   1628 // CHECK-NEXT:            <key>line</key><integer>191</integer>
   1629 // CHECK-NEXT:            <key>col</key><integer>8</integer>
   1630 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1631 // CHECK-NEXT:           </dict>
   1632 // CHECK-NEXT:          </array>
   1633 // CHECK-NEXT:        </dict>
   1634 // CHECK-NEXT:       </array>
   1635 // CHECK-NEXT:     </dict>
   1636 // CHECK-NEXT:     <dict>
   1637 // CHECK-NEXT:      <key>kind</key><string>event</string>
   1638 // CHECK-NEXT:      <key>location</key>
   1639 // CHECK-NEXT:      <dict>
   1640 // CHECK-NEXT:       <key>line</key><integer>191</integer>
   1641 // CHECK-NEXT:       <key>col</key><integer>8</integer>
   1642 // CHECK-NEXT:       <key>file</key><integer>0</integer>
   1643 // CHECK-NEXT:      </dict>
   1644 // CHECK-NEXT:      <key>ranges</key>
   1645 // CHECK-NEXT:      <array>
   1646 // CHECK-NEXT:        <array>
   1647 // CHECK-NEXT:         <dict>
   1648 // CHECK-NEXT:          <key>line</key><integer>191</integer>
   1649 // CHECK-NEXT:          <key>col</key><integer>8</integer>
   1650 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1651 // CHECK-NEXT:         </dict>
   1652 // CHECK-NEXT:         <dict>
   1653 // CHECK-NEXT:          <key>line</key><integer>191</integer>
   1654 // CHECK-NEXT:          <key>col</key><integer>8</integer>
   1655 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1656 // CHECK-NEXT:         </dict>
   1657 // CHECK-NEXT:        </array>
   1658 // CHECK-NEXT:      </array>
   1659 // CHECK-NEXT:      <key>depth</key><integer>2</integer>
   1660 // CHECK-NEXT:      <key>extended_message</key>
   1661 // CHECK-NEXT:      <string>Assuming &apos;q&apos; is non-null</string>
   1662 // CHECK-NEXT:      <key>message</key>
   1663 // CHECK-NEXT:      <string>Assuming &apos;q&apos; is non-null</string>
   1664 // CHECK-NEXT:     </dict>
   1665 // CHECK-NEXT:     <dict>
   1666 // CHECK-NEXT:      <key>kind</key><string>control</string>
   1667 // CHECK-NEXT:      <key>edges</key>
   1668 // CHECK-NEXT:       <array>
   1669 // CHECK-NEXT:        <dict>
   1670 // CHECK-NEXT:         <key>start</key>
   1671 // CHECK-NEXT:          <array>
   1672 // CHECK-NEXT:           <dict>
   1673 // CHECK-NEXT:            <key>line</key><integer>191</integer>
   1674 // CHECK-NEXT:            <key>col</key><integer>8</integer>
   1675 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1676 // CHECK-NEXT:           </dict>
   1677 // CHECK-NEXT:           <dict>
   1678 // CHECK-NEXT:            <key>line</key><integer>191</integer>
   1679 // CHECK-NEXT:            <key>col</key><integer>8</integer>
   1680 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1681 // CHECK-NEXT:           </dict>
   1682 // CHECK-NEXT:          </array>
   1683 // CHECK-NEXT:         <key>end</key>
   1684 // CHECK-NEXT:          <array>
   1685 // CHECK-NEXT:           <dict>
   1686 // CHECK-NEXT:            <key>line</key><integer>192</integer>
   1687 // CHECK-NEXT:            <key>col</key><integer>3</integer>
   1688 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1689 // CHECK-NEXT:           </dict>
   1690 // CHECK-NEXT:           <dict>
   1691 // CHECK-NEXT:            <key>line</key><integer>192</integer>
   1692 // CHECK-NEXT:            <key>col</key><integer>3</integer>
   1693 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1694 // CHECK-NEXT:           </dict>
   1695 // CHECK-NEXT:          </array>
   1696 // CHECK-NEXT:        </dict>
   1697 // CHECK-NEXT:       </array>
   1698 // CHECK-NEXT:     </dict>
   1699 // CHECK-NEXT:     <dict>
   1700 // CHECK-NEXT:      <key>kind</key><string>control</string>
   1701 // CHECK-NEXT:      <key>edges</key>
   1702 // CHECK-NEXT:       <array>
   1703 // CHECK-NEXT:        <dict>
   1704 // CHECK-NEXT:         <key>start</key>
   1705 // CHECK-NEXT:          <array>
   1706 // CHECK-NEXT:           <dict>
   1707 // CHECK-NEXT:            <key>line</key><integer>192</integer>
   1708 // CHECK-NEXT:            <key>col</key><integer>3</integer>
   1709 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1710 // CHECK-NEXT:           </dict>
   1711 // CHECK-NEXT:           <dict>
   1712 // CHECK-NEXT:            <key>line</key><integer>192</integer>
   1713 // CHECK-NEXT:            <key>col</key><integer>3</integer>
   1714 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1715 // CHECK-NEXT:           </dict>
   1716 // CHECK-NEXT:          </array>
   1717 // CHECK-NEXT:         <key>end</key>
   1718 // CHECK-NEXT:          <array>
   1719 // CHECK-NEXT:           <dict>
   1720 // CHECK-NEXT:            <key>line</key><integer>192</integer>
   1721 // CHECK-NEXT:            <key>col</key><integer>6</integer>
   1722 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1723 // CHECK-NEXT:           </dict>
   1724 // CHECK-NEXT:           <dict>
   1725 // CHECK-NEXT:            <key>line</key><integer>192</integer>
   1726 // CHECK-NEXT:            <key>col</key><integer>6</integer>
   1727 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1728 // CHECK-NEXT:           </dict>
   1729 // CHECK-NEXT:          </array>
   1730 // CHECK-NEXT:        </dict>
   1731 // CHECK-NEXT:       </array>
   1732 // CHECK-NEXT:     </dict>
   1733 // CHECK-NEXT:     <dict>
   1734 // CHECK-NEXT:      <key>kind</key><string>event</string>
   1735 // CHECK-NEXT:      <key>location</key>
   1736 // CHECK-NEXT:      <dict>
   1737 // CHECK-NEXT:       <key>line</key><integer>192</integer>
   1738 // CHECK-NEXT:       <key>col</key><integer>6</integer>
   1739 // CHECK-NEXT:       <key>file</key><integer>0</integer>
   1740 // CHECK-NEXT:      </dict>
   1741 // CHECK-NEXT:      <key>ranges</key>
   1742 // CHECK-NEXT:      <array>
   1743 // CHECK-NEXT:        <array>
   1744 // CHECK-NEXT:         <dict>
   1745 // CHECK-NEXT:          <key>line</key><integer>192</integer>
   1746 // CHECK-NEXT:          <key>col</key><integer>4</integer>
   1747 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1748 // CHECK-NEXT:         </dict>
   1749 // CHECK-NEXT:         <dict>
   1750 // CHECK-NEXT:          <key>line</key><integer>192</integer>
   1751 // CHECK-NEXT:          <key>col</key><integer>4</integer>
   1752 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1753 // CHECK-NEXT:         </dict>
   1754 // CHECK-NEXT:        </array>
   1755 // CHECK-NEXT:      </array>
   1756 // CHECK-NEXT:      <key>depth</key><integer>2</integer>
   1757 // CHECK-NEXT:      <key>extended_message</key>
   1758 // CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
   1759 // CHECK-NEXT:      <key>message</key>
   1760 // CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
   1761 // CHECK-NEXT:     </dict>
   1762 // CHECK-NEXT:    </array>
   1763 // CHECK-NEXT:    <key>description</key><string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
   1764 // CHECK-NEXT:    <key>category</key><string>Logic error</string>
   1765 // CHECK-NEXT:    <key>type</key><string>Dereference of null pointer</string>
   1766 // CHECK-NEXT:   <key>location</key>
   1767 // CHECK-NEXT:   <dict>
   1768 // CHECK-NEXT:    <key>line</key><integer>192</integer>
   1769 // CHECK-NEXT:    <key>col</key><integer>6</integer>
   1770 // CHECK-NEXT:    <key>file</key><integer>0</integer>
   1771 // CHECK-NEXT:   </dict>
   1772 // CHECK-NEXT:   </dict>
   1773 // CHECK-NEXT:   <dict>
   1774 // CHECK-NEXT:    <key>path</key>
   1775 // CHECK-NEXT:    <array>
   1776 // CHECK-NEXT:     <dict>
   1777 // CHECK-NEXT:      <key>kind</key><string>control</string>
   1778 // CHECK-NEXT:      <key>edges</key>
   1779 // CHECK-NEXT:       <array>
   1780 // CHECK-NEXT:        <dict>
   1781 // CHECK-NEXT:         <key>start</key>
   1782 // CHECK-NEXT:          <array>
   1783 // CHECK-NEXT:           <dict>
   1784 // CHECK-NEXT:            <key>line</key><integer>199</integer>
   1785 // CHECK-NEXT:            <key>col</key><integer>3</integer>
   1786 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1787 // CHECK-NEXT:           </dict>
   1788 // CHECK-NEXT:           <dict>
   1789 // CHECK-NEXT:            <key>line</key><integer>199</integer>
   1790 // CHECK-NEXT:            <key>col</key><integer>8</integer>
   1791 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1792 // CHECK-NEXT:           </dict>
   1793 // CHECK-NEXT:          </array>
   1794 // CHECK-NEXT:         <key>end</key>
   1795 // CHECK-NEXT:          <array>
   1796 // CHECK-NEXT:           <dict>
   1797 // CHECK-NEXT:            <key>line</key><integer>200</integer>
   1798 // CHECK-NEXT:            <key>col</key><integer>3</integer>
   1799 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1800 // CHECK-NEXT:           </dict>
   1801 // CHECK-NEXT:           <dict>
   1802 // CHECK-NEXT:            <key>line</key><integer>200</integer>
   1803 // CHECK-NEXT:            <key>col</key><integer>5</integer>
   1804 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1805 // CHECK-NEXT:           </dict>
   1806 // CHECK-NEXT:          </array>
   1807 // CHECK-NEXT:        </dict>
   1808 // CHECK-NEXT:       </array>
   1809 // CHECK-NEXT:     </dict>
   1810 // CHECK-NEXT:     <dict>
   1811 // CHECK-NEXT:      <key>kind</key><string>event</string>
   1812 // CHECK-NEXT:      <key>location</key>
   1813 // CHECK-NEXT:      <dict>
   1814 // CHECK-NEXT:       <key>line</key><integer>200</integer>
   1815 // CHECK-NEXT:       <key>col</key><integer>3</integer>
   1816 // CHECK-NEXT:       <key>file</key><integer>0</integer>
   1817 // CHECK-NEXT:      </dict>
   1818 // CHECK-NEXT:      <key>ranges</key>
   1819 // CHECK-NEXT:      <array>
   1820 // CHECK-NEXT:        <array>
   1821 // CHECK-NEXT:         <dict>
   1822 // CHECK-NEXT:          <key>line</key><integer>200</integer>
   1823 // CHECK-NEXT:          <key>col</key><integer>3</integer>
   1824 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1825 // CHECK-NEXT:         </dict>
   1826 // CHECK-NEXT:         <dict>
   1827 // CHECK-NEXT:          <key>line</key><integer>200</integer>
   1828 // CHECK-NEXT:          <key>col</key><integer>8</integer>
   1829 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1830 // CHECK-NEXT:         </dict>
   1831 // CHECK-NEXT:        </array>
   1832 // CHECK-NEXT:      </array>
   1833 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
   1834 // CHECK-NEXT:      <key>extended_message</key>
   1835 // CHECK-NEXT:      <string>&apos;p&apos; initialized to a null pointer value</string>
   1836 // CHECK-NEXT:      <key>message</key>
   1837 // CHECK-NEXT:      <string>&apos;p&apos; initialized to a null pointer value</string>
   1838 // CHECK-NEXT:     </dict>
   1839 // CHECK-NEXT:     <dict>
   1840 // CHECK-NEXT:      <key>kind</key><string>control</string>
   1841 // CHECK-NEXT:      <key>edges</key>
   1842 // CHECK-NEXT:       <array>
   1843 // CHECK-NEXT:        <dict>
   1844 // CHECK-NEXT:         <key>start</key>
   1845 // CHECK-NEXT:          <array>
   1846 // CHECK-NEXT:           <dict>
   1847 // CHECK-NEXT:            <key>line</key><integer>200</integer>
   1848 // CHECK-NEXT:            <key>col</key><integer>3</integer>
   1849 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1850 // CHECK-NEXT:           </dict>
   1851 // CHECK-NEXT:           <dict>
   1852 // CHECK-NEXT:            <key>line</key><integer>200</integer>
   1853 // CHECK-NEXT:            <key>col</key><integer>5</integer>
   1854 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1855 // CHECK-NEXT:           </dict>
   1856 // CHECK-NEXT:          </array>
   1857 // CHECK-NEXT:         <key>end</key>
   1858 // CHECK-NEXT:          <array>
   1859 // CHECK-NEXT:           <dict>
   1860 // CHECK-NEXT:            <key>line</key><integer>201</integer>
   1861 // CHECK-NEXT:            <key>col</key><integer>24</integer>
   1862 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1863 // CHECK-NEXT:           </dict>
   1864 // CHECK-NEXT:           <dict>
   1865 // CHECK-NEXT:            <key>line</key><integer>201</integer>
   1866 // CHECK-NEXT:            <key>col</key><integer>24</integer>
   1867 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1868 // CHECK-NEXT:           </dict>
   1869 // CHECK-NEXT:          </array>
   1870 // CHECK-NEXT:        </dict>
   1871 // CHECK-NEXT:       </array>
   1872 // CHECK-NEXT:     </dict>
   1873 // CHECK-NEXT:     <dict>
   1874 // CHECK-NEXT:      <key>kind</key><string>event</string>
   1875 // CHECK-NEXT:      <key>location</key>
   1876 // CHECK-NEXT:      <dict>
   1877 // CHECK-NEXT:       <key>line</key><integer>201</integer>
   1878 // CHECK-NEXT:       <key>col</key><integer>24</integer>
   1879 // CHECK-NEXT:       <key>file</key><integer>0</integer>
   1880 // CHECK-NEXT:      </dict>
   1881 // CHECK-NEXT:      <key>ranges</key>
   1882 // CHECK-NEXT:      <array>
   1883 // CHECK-NEXT:        <array>
   1884 // CHECK-NEXT:         <dict>
   1885 // CHECK-NEXT:          <key>line</key><integer>201</integer>
   1886 // CHECK-NEXT:          <key>col</key><integer>24</integer>
   1887 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1888 // CHECK-NEXT:         </dict>
   1889 // CHECK-NEXT:         <dict>
   1890 // CHECK-NEXT:          <key>line</key><integer>203</integer>
   1891 // CHECK-NEXT:          <key>col</key><integer>3</integer>
   1892 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1893 // CHECK-NEXT:         </dict>
   1894 // CHECK-NEXT:        </array>
   1895 // CHECK-NEXT:      </array>
   1896 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
   1897 // CHECK-NEXT:      <key>extended_message</key>
   1898 // CHECK-NEXT:      <string>&apos;p&apos; captured by block as a null pointer value</string>
   1899 // CHECK-NEXT:      <key>message</key>
   1900 // CHECK-NEXT:      <string>&apos;p&apos; captured by block as a null pointer value</string>
   1901 // CHECK-NEXT:     </dict>
   1902 // CHECK-NEXT:     <dict>
   1903 // CHECK-NEXT:      <key>kind</key><string>event</string>
   1904 // CHECK-NEXT:      <key>location</key>
   1905 // CHECK-NEXT:      <dict>
   1906 // CHECK-NEXT:       <key>line</key><integer>201</integer>
   1907 // CHECK-NEXT:       <key>col</key><integer>3</integer>
   1908 // CHECK-NEXT:       <key>file</key><integer>0</integer>
   1909 // CHECK-NEXT:      </dict>
   1910 // CHECK-NEXT:      <key>ranges</key>
   1911 // CHECK-NEXT:      <array>
   1912 // CHECK-NEXT:        <array>
   1913 // CHECK-NEXT:         <dict>
   1914 // CHECK-NEXT:          <key>line</key><integer>201</integer>
   1915 // CHECK-NEXT:          <key>col</key><integer>3</integer>
   1916 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1917 // CHECK-NEXT:         </dict>
   1918 // CHECK-NEXT:         <dict>
   1919 // CHECK-NEXT:          <key>line</key><integer>203</integer>
   1920 // CHECK-NEXT:          <key>col</key><integer>4</integer>
   1921 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1922 // CHECK-NEXT:         </dict>
   1923 // CHECK-NEXT:        </array>
   1924 // CHECK-NEXT:      </array>
   1925 // CHECK-NEXT:      <key>depth</key><integer>0</integer>
   1926 // CHECK-NEXT:      <key>extended_message</key>
   1927 // CHECK-NEXT:      <string>Calling &apos;_dispatch_once&apos;</string>
   1928 // CHECK-NEXT:      <key>message</key>
   1929 // CHECK-NEXT:      <string>Calling &apos;_dispatch_once&apos;</string>
   1930 // CHECK-NEXT:     </dict>
   1931 // CHECK-NEXT:     <dict>
   1932 // CHECK-NEXT:      <key>kind</key><string>event</string>
   1933 // CHECK-NEXT:      <key>location</key>
   1934 // CHECK-NEXT:      <dict>
   1935 // CHECK-NEXT:       <key>line</key><integer>175</integer>
   1936 // CHECK-NEXT:       <key>col</key><integer>1</integer>
   1937 // CHECK-NEXT:       <key>file</key><integer>0</integer>
   1938 // CHECK-NEXT:      </dict>
   1939 // CHECK-NEXT:      <key>depth</key><integer>1</integer>
   1940 // CHECK-NEXT:      <key>extended_message</key>
   1941 // CHECK-NEXT:      <string>Entered call from &apos;test_inline_dispatch_once&apos;</string>
   1942 // CHECK-NEXT:      <key>message</key>
   1943 // CHECK-NEXT:      <string>Entered call from &apos;test_inline_dispatch_once&apos;</string>
   1944 // CHECK-NEXT:     </dict>
   1945 // CHECK-NEXT:     <dict>
   1946 // CHECK-NEXT:      <key>kind</key><string>control</string>
   1947 // CHECK-NEXT:      <key>edges</key>
   1948 // CHECK-NEXT:       <array>
   1949 // CHECK-NEXT:        <dict>
   1950 // CHECK-NEXT:         <key>start</key>
   1951 // CHECK-NEXT:          <array>
   1952 // CHECK-NEXT:           <dict>
   1953 // CHECK-NEXT:            <key>line</key><integer>175</integer>
   1954 // CHECK-NEXT:            <key>col</key><integer>1</integer>
   1955 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1956 // CHECK-NEXT:           </dict>
   1957 // CHECK-NEXT:           <dict>
   1958 // CHECK-NEXT:            <key>line</key><integer>175</integer>
   1959 // CHECK-NEXT:            <key>col</key><integer>6</integer>
   1960 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1961 // CHECK-NEXT:           </dict>
   1962 // CHECK-NEXT:          </array>
   1963 // CHECK-NEXT:         <key>end</key>
   1964 // CHECK-NEXT:          <array>
   1965 // CHECK-NEXT:           <dict>
   1966 // CHECK-NEXT:            <key>line</key><integer>177</integer>
   1967 // CHECK-NEXT:            <key>col</key><integer>3</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>177</integer>
   1972 // CHECK-NEXT:            <key>col</key><integer>15</integer>
   1973 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   1974 // CHECK-NEXT:           </dict>
   1975 // CHECK-NEXT:          </array>
   1976 // CHECK-NEXT:        </dict>
   1977 // CHECK-NEXT:       </array>
   1978 // CHECK-NEXT:     </dict>
   1979 // CHECK-NEXT:     <dict>
   1980 // CHECK-NEXT:      <key>kind</key><string>event</string>
   1981 // CHECK-NEXT:      <key>location</key>
   1982 // CHECK-NEXT:      <dict>
   1983 // CHECK-NEXT:       <key>line</key><integer>177</integer>
   1984 // CHECK-NEXT:       <key>col</key><integer>3</integer>
   1985 // CHECK-NEXT:       <key>file</key><integer>0</integer>
   1986 // CHECK-NEXT:      </dict>
   1987 // CHECK-NEXT:      <key>ranges</key>
   1988 // CHECK-NEXT:      <array>
   1989 // CHECK-NEXT:        <array>
   1990 // CHECK-NEXT:         <dict>
   1991 // CHECK-NEXT:          <key>line</key><integer>177</integer>
   1992 // CHECK-NEXT:          <key>col</key><integer>3</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>177</integer>
   1997 // CHECK-NEXT:          <key>col</key><integer>33</integer>
   1998 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   1999 // CHECK-NEXT:         </dict>
   2000 // CHECK-NEXT:        </array>
   2001 // CHECK-NEXT:      </array>
   2002 // CHECK-NEXT:      <key>depth</key><integer>1</integer>
   2003 // CHECK-NEXT:      <key>extended_message</key>
   2004 // CHECK-NEXT:      <string>Calling &apos;dispatch_once&apos;</string>
   2005 // CHECK-NEXT:      <key>message</key>
   2006 // CHECK-NEXT:      <string>Calling &apos;dispatch_once&apos;</string>
   2007 // CHECK-NEXT:     </dict>
   2008 // CHECK-NEXT:     <dict>
   2009 // CHECK-NEXT:      <key>kind</key><string>event</string>
   2010 // CHECK-NEXT:      <key>location</key>
   2011 // CHECK-NEXT:      <dict>
   2012 // CHECK-NEXT:       <key>line</key><integer>177</integer>
   2013 // CHECK-NEXT:       <key>col</key><integer>3</integer>
   2014 // CHECK-NEXT:       <key>file</key><integer>0</integer>
   2015 // CHECK-NEXT:      </dict>
   2016 // CHECK-NEXT:      <key>ranges</key>
   2017 // CHECK-NEXT:      <array>
   2018 // CHECK-NEXT:        <array>
   2019 // CHECK-NEXT:         <dict>
   2020 // CHECK-NEXT:          <key>line</key><integer>177</integer>
   2021 // CHECK-NEXT:          <key>col</key><integer>3</integer>
   2022 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   2023 // CHECK-NEXT:         </dict>
   2024 // CHECK-NEXT:         <dict>
   2025 // CHECK-NEXT:          <key>line</key><integer>177</integer>
   2026 // CHECK-NEXT:          <key>col</key><integer>33</integer>
   2027 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   2028 // CHECK-NEXT:         </dict>
   2029 // CHECK-NEXT:        </array>
   2030 // CHECK-NEXT:      </array>
   2031 // CHECK-NEXT:      <key>depth</key><integer>2</integer>
   2032 // CHECK-NEXT:      <key>extended_message</key>
   2033 // CHECK-NEXT:      <string>Calling anonymous block</string>
   2034 // CHECK-NEXT:      <key>message</key>
   2035 // CHECK-NEXT:      <string>Calling anonymous block</string>
   2036 // CHECK-NEXT:     </dict>
   2037 // CHECK-NEXT:     <dict>
   2038 // CHECK-NEXT:      <key>kind</key><string>event</string>
   2039 // CHECK-NEXT:      <key>location</key>
   2040 // CHECK-NEXT:      <dict>
   2041 // CHECK-NEXT:       <key>line</key><integer>201</integer>
   2042 // CHECK-NEXT:       <key>col</key><integer>24</integer>
   2043 // CHECK-NEXT:       <key>file</key><integer>0</integer>
   2044 // CHECK-NEXT:      </dict>
   2045 // CHECK-NEXT:      <key>depth</key><integer>3</integer>
   2046 // CHECK-NEXT:      <key>extended_message</key>
   2047 // CHECK-NEXT:      <string>Entered call from &apos;dispatch_once&apos;</string>
   2048 // CHECK-NEXT:      <key>message</key>
   2049 // CHECK-NEXT:      <string>Entered call from &apos;dispatch_once&apos;</string>
   2050 // CHECK-NEXT:     </dict>
   2051 // CHECK-NEXT:     <dict>
   2052 // CHECK-NEXT:      <key>kind</key><string>control</string>
   2053 // CHECK-NEXT:      <key>edges</key>
   2054 // CHECK-NEXT:       <array>
   2055 // CHECK-NEXT:        <dict>
   2056 // CHECK-NEXT:         <key>start</key>
   2057 // CHECK-NEXT:          <array>
   2058 // CHECK-NEXT:           <dict>
   2059 // CHECK-NEXT:            <key>line</key><integer>201</integer>
   2060 // CHECK-NEXT:            <key>col</key><integer>24</integer>
   2061 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   2062 // CHECK-NEXT:           </dict>
   2063 // CHECK-NEXT:           <dict>
   2064 // CHECK-NEXT:            <key>line</key><integer>201</integer>
   2065 // CHECK-NEXT:            <key>col</key><integer>24</integer>
   2066 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   2067 // CHECK-NEXT:           </dict>
   2068 // CHECK-NEXT:          </array>
   2069 // CHECK-NEXT:         <key>end</key>
   2070 // CHECK-NEXT:          <array>
   2071 // CHECK-NEXT:           <dict>
   2072 // CHECK-NEXT:            <key>line</key><integer>202</integer>
   2073 // CHECK-NEXT:            <key>col</key><integer>4</integer>
   2074 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   2075 // CHECK-NEXT:           </dict>
   2076 // CHECK-NEXT:           <dict>
   2077 // CHECK-NEXT:            <key>line</key><integer>202</integer>
   2078 // CHECK-NEXT:            <key>col</key><integer>4</integer>
   2079 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   2080 // CHECK-NEXT:           </dict>
   2081 // CHECK-NEXT:          </array>
   2082 // CHECK-NEXT:        </dict>
   2083 // CHECK-NEXT:       </array>
   2084 // CHECK-NEXT:     </dict>
   2085 // CHECK-NEXT:     <dict>
   2086 // CHECK-NEXT:      <key>kind</key><string>control</string>
   2087 // CHECK-NEXT:      <key>edges</key>
   2088 // CHECK-NEXT:       <array>
   2089 // CHECK-NEXT:        <dict>
   2090 // CHECK-NEXT:         <key>start</key>
   2091 // CHECK-NEXT:          <array>
   2092 // CHECK-NEXT:           <dict>
   2093 // CHECK-NEXT:            <key>line</key><integer>202</integer>
   2094 // CHECK-NEXT:            <key>col</key><integer>4</integer>
   2095 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   2096 // CHECK-NEXT:           </dict>
   2097 // CHECK-NEXT:           <dict>
   2098 // CHECK-NEXT:            <key>line</key><integer>202</integer>
   2099 // CHECK-NEXT:            <key>col</key><integer>4</integer>
   2100 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   2101 // CHECK-NEXT:           </dict>
   2102 // CHECK-NEXT:          </array>
   2103 // CHECK-NEXT:         <key>end</key>
   2104 // CHECK-NEXT:          <array>
   2105 // CHECK-NEXT:           <dict>
   2106 // CHECK-NEXT:            <key>line</key><integer>202</integer>
   2107 // CHECK-NEXT:            <key>col</key><integer>7</integer>
   2108 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   2109 // CHECK-NEXT:           </dict>
   2110 // CHECK-NEXT:           <dict>
   2111 // CHECK-NEXT:            <key>line</key><integer>202</integer>
   2112 // CHECK-NEXT:            <key>col</key><integer>7</integer>
   2113 // CHECK-NEXT:            <key>file</key><integer>0</integer>
   2114 // CHECK-NEXT:           </dict>
   2115 // CHECK-NEXT:          </array>
   2116 // CHECK-NEXT:        </dict>
   2117 // CHECK-NEXT:       </array>
   2118 // CHECK-NEXT:     </dict>
   2119 // CHECK-NEXT:     <dict>
   2120 // CHECK-NEXT:      <key>kind</key><string>event</string>
   2121 // CHECK-NEXT:      <key>location</key>
   2122 // CHECK-NEXT:      <dict>
   2123 // CHECK-NEXT:       <key>line</key><integer>202</integer>
   2124 // CHECK-NEXT:       <key>col</key><integer>7</integer>
   2125 // CHECK-NEXT:       <key>file</key><integer>0</integer>
   2126 // CHECK-NEXT:      </dict>
   2127 // CHECK-NEXT:      <key>ranges</key>
   2128 // CHECK-NEXT:      <array>
   2129 // CHECK-NEXT:        <array>
   2130 // CHECK-NEXT:         <dict>
   2131 // CHECK-NEXT:          <key>line</key><integer>202</integer>
   2132 // CHECK-NEXT:          <key>col</key><integer>5</integer>
   2133 // CHECK-NEXT:          <key>file</key><integer>0</integer>
   2134 // CHECK-NEXT:         </dict>
   2135 // CHECK-NEXT:         <dict>
   2136 // CHECK-NEXT:          <key>line</key><integer>202</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:        </array>
   2141 // CHECK-NEXT:      </array>
   2142 // CHECK-NEXT:      <key>depth</key><integer>3</integer>
   2143 // CHECK-NEXT:      <key>extended_message</key>
   2144 // CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
   2145 // CHECK-NEXT:      <key>message</key>
   2146 // CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
   2147 // CHECK-NEXT:     </dict>
   2148 // CHECK-NEXT:    </array>
   2149 // CHECK-NEXT:    <key>description</key><string>Dereference of null pointer (loaded from variable &apos;p&apos;)</string>
   2150 // CHECK-NEXT:    <key>category</key><string>Logic error</string>
   2151 // CHECK-NEXT:    <key>type</key><string>Dereference of null pointer</string>
   2152 // CHECK-NEXT:   <key>location</key>
   2153 // CHECK-NEXT:   <dict>
   2154 // CHECK-NEXT:    <key>line</key><integer>202</integer>
   2155 // CHECK-NEXT:    <key>col</key><integer>7</integer>
   2156 // CHECK-NEXT:    <key>file</key><integer>0</integer>
   2157 // CHECK-NEXT:   </dict>
   2158 // CHECK-NEXT:   </dict>
   2159 // CHECK-NEXT:  </array>
   2160