1// RUN: %clang_cc1 -analyze -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount -analyzer-output=text -analyzer-config suppress-null-return-paths=false -fblocks -verify %s
2// RUN: %clang_cc1 -analyze -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount -analyzer-output=plist-multi-file -analyzer-config suppress-null-return-paths=false -analyzer-config path-diagnostics-alternate=false -fblocks %s -o %t.plist
3// RUN: FileCheck --input-file=%t.plist %s
4
5typedef struct dispatch_queue_s *dispatch_queue_t;
6typedef void (^dispatch_block_t)(void);
7void dispatch_sync(dispatch_queue_t, dispatch_block_t);
8
9typedef long dispatch_once_t;
10// Note: The real dispatch_once has all parameters marked nonnull.
11// We don't do that here so that we can trigger a null dereference inside
12// the synthesized body.
13void dispatch_once(dispatch_once_t *predicate, dispatch_block_t block);
14
15
16@interface Test
17@property int *p;
18@end
19
20typedef unsigned long NSUInteger;
21typedef signed char BOOL;
22typedef struct _NSZone NSZone;
23@class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
24@protocol NSObject
25@end
26@protocol NSCopying
27- (id)copyWithZone:(NSZone *)zone;
28@end
29@protocol NSMutableCopying
30- (id)mutableCopyWithZone:(NSZone *)zone;
31@end
32@protocol NSCoding
33- (void)encodeWithCoder:(NSCoder *)aCoder;
34@end
35@protocol NSFastEnumeration
36@end
37@protocol NSSecureCoding <NSCoding>
38@required
39+ (BOOL)supportsSecureCoding;
40@end
41@interface NSObject <NSObject> {}
42- (id)init;
43+ (id)alloc;
44- (id)autorelease;
45@end
46@interface NSArray : NSObject <NSCopying, NSMutableCopying, NSSecureCoding, NSFastEnumeration>
47
48- (NSUInteger)count;
49- (id)objectAtIndex:(NSUInteger)index;
50
51@end
52
53@interface NSArray (NSExtendedArray)
54- (NSArray *)arrayByAddingObject:(id)anObject;
55- (void)setObject:(id)obj atIndexedSubscript:(NSUInteger)idx __attribute__((availability(macosx,introduced=10.8)));
56@end
57
58@interface NSArray (NSArrayCreation)
59+ (instancetype)arrayWithObjects:(const id [])objects count:(NSUInteger)cnt;
60@end
61
62@interface NSMutableArray : NSArray
63
64- (void)addObject:(id)anObject;
65- (void)insertObject:(id)anObject atIndex:(NSUInteger)index;
66- (void)removeLastObject;
67- (void)removeObjectAtIndex:(NSUInteger)index;
68- (void)replaceObjectAtIndex:(NSUInteger)index withObject:(id)anObject;
69
70@end
71
72int *getZeroIfNil(Test *x) {
73  return x.p;
74  // expected-note@-1 {{'p' not called because the receiver is nil}}
75  // expected-note@-2 {{Returning null pointer}}
76}
77
78void testReturnZeroIfNil() {
79  *getZeroIfNil(0) = 1; // expected-warning{{Dereference of null pointer}}
80  // expected-note@-1 {{Calling 'getZeroIfNil'}}
81  // expected-note@-2 {{Passing nil object reference via 1st parameter 'x'}}
82  // expected-note@-3 {{Returning from 'getZeroIfNil'}}
83  // expected-note@-4 {{Dereference of null pointer}}
84}
85
86
87int testDispatchSyncInlining() {
88  extern dispatch_queue_t globalQueue;
89
90  __block int x;
91
92  // expected-note@+2 {{Calling 'dispatch_sync'}}
93  // expected-note@+1 {{Returning from 'dispatch_sync'}}
94  dispatch_sync(globalQueue, ^{
95    // expected-note@-1 {{Calling anonymous block}}
96    // expected-note@-2 {{Returning to caller}}
97    x = 0;
98    // expected-note@-1 {{The value 0 is assigned to 'x'}}
99  });
100
101  return 1 / x; // expected-warning{{Division by zero}}
102  // expected-note@-1 {{Division by zero}}
103}
104
105int testDispatchSyncInliningNoPruning(int coin) {
106  // This tests exactly the same case as above, except on a bug report where
107  // path pruning is disabled (an uninitialized variable capture).
108  // In this case
109  extern dispatch_queue_t globalQueue;
110
111  __block int y;
112
113  // expected-note@+1 {{Calling 'dispatch_sync'}}
114  dispatch_sync(globalQueue, ^{
115    // expected-note@-1 {{Calling anonymous block}}
116    int x;
117    // expected-note@-1 {{'x' declared without an initial value}}
118    ^{ y = x; }(); // expected-warning{{Variable 'x' is uninitialized when captured by block}}
119    // expected-note@-1 {{'x' is uninitialized when captured by block}}
120  });
121
122  return y;
123}
124
125
126@interface PointerWrapper
127- (int *)getPtr;
128@end
129
130id getNil() {
131  return 0;
132}
133
134void testNilReceiverHelper(int *x) {
135  *x = 1; // expected-warning {{Dereference of null pointer}}
136  // expected-note@-1 {{Dereference of null pointer (loaded from variable 'x')}}
137}
138
139void testNilReceiver(id *x) {
140  if (*x) {
141    // expected-note@-1 {{Taking false branch}}
142    return;
143  }
144  testNilReceiverHelper([*x getPtr]);
145  // expected-note@-1 {{'getPtr' not called because the receiver is nil}}
146  // expected-note@-2 {{Passing null pointer value via 1st parameter 'x'}}
147  // expected-note@-3 {{Calling 'testNilReceiverHelper'}}
148}
149
150id testCreateArrayLiteral(id myNil) {
151  if (myNil) // expected-note {{Assuming 'myNil' is nil}}
152    ;        // expected-note@-1 {{Taking false branch}}
153  return @[ @"a", myNil, @"c" ]; // expected-warning {{Array element cannot be nil}}
154                                 //expected-note@-1 {{Array element cannot be nil}}
155}
156
157// <rdar://problem/14611722>
158id testAutoreleaseTakesEffectInDispatch() {
159  static dispatch_once_t token = 0;
160  dispatch_once(&token, ^{});
161
162  id x = [[[[NSObject alloc] init] autorelease] autorelease];
163  // expected-note@-1 {{Method returns an Objective-C object with a +1 retain count}}
164  // expected-note@-2 {{Object autoreleased}}
165  // expected-note@-3 {{Object autoreleased}}
166
167  dispatch_once(&token, ^{}); // don't crash, don't warn here
168
169  return x; // expected-warning{{Object autoreleased too many times}}
170  // expected-note@-1 {{Object was autoreleased 2 times but the object has a +0 retain count}}
171}
172
173void testNullDereferenceInDispatch() {
174  dispatch_once(0, ^{}); // no-warning, don't crash
175}
176
177// CHECK:  <key>diagnostics</key>
178// CHECK-NEXT:  <array>
179// CHECK-NEXT:   <dict>
180// CHECK-NEXT:    <key>path</key>
181// CHECK-NEXT:    <array>
182// CHECK-NEXT:     <dict>
183// CHECK-NEXT:      <key>kind</key><string>control</string>
184// CHECK-NEXT:      <key>edges</key>
185// CHECK-NEXT:       <array>
186// CHECK-NEXT:        <dict>
187// CHECK-NEXT:         <key>start</key>
188// CHECK-NEXT:          <array>
189// CHECK-NEXT:           <dict>
190// CHECK-NEXT:            <key>line</key><integer>79</integer>
191// CHECK-NEXT:            <key>col</key><integer>3</integer>
192// CHECK-NEXT:            <key>file</key><integer>0</integer>
193// CHECK-NEXT:           </dict>
194// CHECK-NEXT:           <dict>
195// CHECK-NEXT:            <key>line</key><integer>79</integer>
196// CHECK-NEXT:            <key>col</key><integer>3</integer>
197// CHECK-NEXT:            <key>file</key><integer>0</integer>
198// CHECK-NEXT:           </dict>
199// CHECK-NEXT:          </array>
200// CHECK-NEXT:         <key>end</key>
201// CHECK-NEXT:          <array>
202// CHECK-NEXT:           <dict>
203// CHECK-NEXT:            <key>line</key><integer>79</integer>
204// CHECK-NEXT:            <key>col</key><integer>17</integer>
205// CHECK-NEXT:            <key>file</key><integer>0</integer>
206// CHECK-NEXT:           </dict>
207// CHECK-NEXT:           <dict>
208// CHECK-NEXT:            <key>line</key><integer>79</integer>
209// CHECK-NEXT:            <key>col</key><integer>17</integer>
210// CHECK-NEXT:            <key>file</key><integer>0</integer>
211// CHECK-NEXT:           </dict>
212// CHECK-NEXT:          </array>
213// CHECK-NEXT:        </dict>
214// CHECK-NEXT:       </array>
215// CHECK-NEXT:     </dict>
216// CHECK-NEXT:     <dict>
217// CHECK-NEXT:      <key>kind</key><string>event</string>
218// CHECK-NEXT:      <key>location</key>
219// CHECK-NEXT:      <dict>
220// CHECK-NEXT:       <key>line</key><integer>79</integer>
221// CHECK-NEXT:       <key>col</key><integer>17</integer>
222// CHECK-NEXT:       <key>file</key><integer>0</integer>
223// CHECK-NEXT:      </dict>
224// CHECK-NEXT:      <key>ranges</key>
225// CHECK-NEXT:      <array>
226// CHECK-NEXT:        <array>
227// CHECK-NEXT:         <dict>
228// CHECK-NEXT:          <key>line</key><integer>79</integer>
229// CHECK-NEXT:          <key>col</key><integer>17</integer>
230// CHECK-NEXT:          <key>file</key><integer>0</integer>
231// CHECK-NEXT:         </dict>
232// CHECK-NEXT:         <dict>
233// CHECK-NEXT:          <key>line</key><integer>79</integer>
234// CHECK-NEXT:          <key>col</key><integer>17</integer>
235// CHECK-NEXT:          <key>file</key><integer>0</integer>
236// CHECK-NEXT:         </dict>
237// CHECK-NEXT:        </array>
238// CHECK-NEXT:      </array>
239// CHECK-NEXT:      <key>depth</key><integer>0</integer>
240// CHECK-NEXT:      <key>extended_message</key>
241// CHECK-NEXT:      <string>Passing nil object reference via 1st parameter &apos;x&apos;</string>
242// CHECK-NEXT:      <key>message</key>
243// CHECK-NEXT:      <string>Passing nil object reference via 1st parameter &apos;x&apos;</string>
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>79</integer>
254// CHECK-NEXT:            <key>col</key><integer>17</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>79</integer>
259// CHECK-NEXT:            <key>col</key><integer>17</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>79</integer>
267// CHECK-NEXT:            <key>col</key><integer>4</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>79</integer>
272// CHECK-NEXT:            <key>col</key><integer>15</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>79</integer>
284// CHECK-NEXT:       <key>col</key><integer>4</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>79</integer>
292// CHECK-NEXT:          <key>col</key><integer>4</integer>
293// CHECK-NEXT:          <key>file</key><integer>0</integer>
294// CHECK-NEXT:         </dict>
295// CHECK-NEXT:         <dict>
296// CHECK-NEXT:          <key>line</key><integer>79</integer>
297// CHECK-NEXT:          <key>col</key><integer>18</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>Calling &apos;getZeroIfNil&apos;</string>
305// CHECK-NEXT:      <key>message</key>
306// CHECK-NEXT:      <string>Calling &apos;getZeroIfNil&apos;</string>
307// CHECK-NEXT:     </dict>
308// CHECK-NEXT:     <dict>
309// CHECK-NEXT:      <key>kind</key><string>event</string>
310// CHECK-NEXT:      <key>location</key>
311// CHECK-NEXT:      <dict>
312// CHECK-NEXT:       <key>line</key><integer>72</integer>
313// CHECK-NEXT:       <key>col</key><integer>1</integer>
314// CHECK-NEXT:       <key>file</key><integer>0</integer>
315// CHECK-NEXT:      </dict>
316// CHECK-NEXT:      <key>depth</key><integer>1</integer>
317// CHECK-NEXT:      <key>extended_message</key>
318// CHECK-NEXT:      <string>Entered call from &apos;testReturnZeroIfNil&apos;</string>
319// CHECK-NEXT:      <key>message</key>
320// CHECK-NEXT:      <string>Entered call from &apos;testReturnZeroIfNil&apos;</string>
321// CHECK-NEXT:     </dict>
322// CHECK-NEXT:     <dict>
323// CHECK-NEXT:      <key>kind</key><string>control</string>
324// CHECK-NEXT:      <key>edges</key>
325// CHECK-NEXT:       <array>
326// CHECK-NEXT:        <dict>
327// CHECK-NEXT:         <key>start</key>
328// CHECK-NEXT:          <array>
329// CHECK-NEXT:           <dict>
330// CHECK-NEXT:            <key>line</key><integer>72</integer>
331// CHECK-NEXT:            <key>col</key><integer>1</integer>
332// CHECK-NEXT:            <key>file</key><integer>0</integer>
333// CHECK-NEXT:           </dict>
334// CHECK-NEXT:           <dict>
335// CHECK-NEXT:            <key>line</key><integer>72</integer>
336// CHECK-NEXT:            <key>col</key><integer>3</integer>
337// CHECK-NEXT:            <key>file</key><integer>0</integer>
338// CHECK-NEXT:           </dict>
339// CHECK-NEXT:          </array>
340// CHECK-NEXT:         <key>end</key>
341// CHECK-NEXT:          <array>
342// CHECK-NEXT:           <dict>
343// CHECK-NEXT:            <key>line</key><integer>73</integer>
344// CHECK-NEXT:            <key>col</key><integer>3</integer>
345// CHECK-NEXT:            <key>file</key><integer>0</integer>
346// CHECK-NEXT:           </dict>
347// CHECK-NEXT:           <dict>
348// CHECK-NEXT:            <key>line</key><integer>73</integer>
349// CHECK-NEXT:            <key>col</key><integer>8</integer>
350// CHECK-NEXT:            <key>file</key><integer>0</integer>
351// CHECK-NEXT:           </dict>
352// CHECK-NEXT:          </array>
353// CHECK-NEXT:        </dict>
354// CHECK-NEXT:       </array>
355// CHECK-NEXT:     </dict>
356// CHECK-NEXT:     <dict>
357// CHECK-NEXT:      <key>kind</key><string>control</string>
358// CHECK-NEXT:      <key>edges</key>
359// CHECK-NEXT:       <array>
360// CHECK-NEXT:        <dict>
361// CHECK-NEXT:         <key>start</key>
362// CHECK-NEXT:          <array>
363// CHECK-NEXT:           <dict>
364// CHECK-NEXT:            <key>line</key><integer>73</integer>
365// CHECK-NEXT:            <key>col</key><integer>3</integer>
366// CHECK-NEXT:            <key>file</key><integer>0</integer>
367// CHECK-NEXT:           </dict>
368// CHECK-NEXT:           <dict>
369// CHECK-NEXT:            <key>line</key><integer>73</integer>
370// CHECK-NEXT:            <key>col</key><integer>8</integer>
371// CHECK-NEXT:            <key>file</key><integer>0</integer>
372// CHECK-NEXT:           </dict>
373// CHECK-NEXT:          </array>
374// CHECK-NEXT:         <key>end</key>
375// CHECK-NEXT:          <array>
376// CHECK-NEXT:           <dict>
377// CHECK-NEXT:            <key>line</key><integer>73</integer>
378// CHECK-NEXT:            <key>col</key><integer>10</integer>
379// CHECK-NEXT:            <key>file</key><integer>0</integer>
380// CHECK-NEXT:           </dict>
381// CHECK-NEXT:           <dict>
382// CHECK-NEXT:            <key>line</key><integer>73</integer>
383// CHECK-NEXT:            <key>col</key><integer>10</integer>
384// CHECK-NEXT:            <key>file</key><integer>0</integer>
385// CHECK-NEXT:           </dict>
386// CHECK-NEXT:          </array>
387// CHECK-NEXT:        </dict>
388// CHECK-NEXT:       </array>
389// CHECK-NEXT:     </dict>
390// CHECK-NEXT:     <dict>
391// CHECK-NEXT:      <key>kind</key><string>event</string>
392// CHECK-NEXT:      <key>location</key>
393// CHECK-NEXT:      <dict>
394// CHECK-NEXT:       <key>line</key><integer>73</integer>
395// CHECK-NEXT:       <key>col</key><integer>10</integer>
396// CHECK-NEXT:       <key>file</key><integer>0</integer>
397// CHECK-NEXT:      </dict>
398// CHECK-NEXT:      <key>ranges</key>
399// CHECK-NEXT:      <array>
400// CHECK-NEXT:        <array>
401// CHECK-NEXT:         <dict>
402// CHECK-NEXT:          <key>line</key><integer>73</integer>
403// CHECK-NEXT:          <key>col</key><integer>10</integer>
404// CHECK-NEXT:          <key>file</key><integer>0</integer>
405// CHECK-NEXT:         </dict>
406// CHECK-NEXT:         <dict>
407// CHECK-NEXT:          <key>line</key><integer>73</integer>
408// CHECK-NEXT:          <key>col</key><integer>10</integer>
409// CHECK-NEXT:          <key>file</key><integer>0</integer>
410// CHECK-NEXT:         </dict>
411// CHECK-NEXT:        </array>
412// CHECK-NEXT:      </array>
413// CHECK-NEXT:      <key>depth</key><integer>1</integer>
414// CHECK-NEXT:      <key>extended_message</key>
415// CHECK-NEXT:      <string>&apos;p&apos; not called because the receiver is nil</string>
416// CHECK-NEXT:      <key>message</key>
417// CHECK-NEXT:      <string>&apos;p&apos; not called because the receiver is nil</string>
418// CHECK-NEXT:     </dict>
419// CHECK-NEXT:     <dict>
420// CHECK-NEXT:      <key>kind</key><string>control</string>
421// CHECK-NEXT:      <key>edges</key>
422// CHECK-NEXT:       <array>
423// CHECK-NEXT:        <dict>
424// CHECK-NEXT:         <key>start</key>
425// CHECK-NEXT:          <array>
426// CHECK-NEXT:           <dict>
427// CHECK-NEXT:            <key>line</key><integer>73</integer>
428// CHECK-NEXT:            <key>col</key><integer>10</integer>
429// CHECK-NEXT:            <key>file</key><integer>0</integer>
430// CHECK-NEXT:           </dict>
431// CHECK-NEXT:           <dict>
432// CHECK-NEXT:            <key>line</key><integer>73</integer>
433// CHECK-NEXT:            <key>col</key><integer>10</integer>
434// CHECK-NEXT:            <key>file</key><integer>0</integer>
435// CHECK-NEXT:           </dict>
436// CHECK-NEXT:          </array>
437// CHECK-NEXT:         <key>end</key>
438// CHECK-NEXT:          <array>
439// CHECK-NEXT:           <dict>
440// CHECK-NEXT:            <key>line</key><integer>73</integer>
441// CHECK-NEXT:            <key>col</key><integer>3</integer>
442// CHECK-NEXT:            <key>file</key><integer>0</integer>
443// CHECK-NEXT:           </dict>
444// CHECK-NEXT:           <dict>
445// CHECK-NEXT:            <key>line</key><integer>73</integer>
446// CHECK-NEXT:            <key>col</key><integer>8</integer>
447// CHECK-NEXT:            <key>file</key><integer>0</integer>
448// CHECK-NEXT:           </dict>
449// CHECK-NEXT:          </array>
450// CHECK-NEXT:        </dict>
451// CHECK-NEXT:       </array>
452// CHECK-NEXT:     </dict>
453// CHECK-NEXT:     <dict>
454// CHECK-NEXT:      <key>kind</key><string>event</string>
455// CHECK-NEXT:      <key>location</key>
456// CHECK-NEXT:      <dict>
457// CHECK-NEXT:       <key>line</key><integer>73</integer>
458// CHECK-NEXT:       <key>col</key><integer>3</integer>
459// CHECK-NEXT:       <key>file</key><integer>0</integer>
460// CHECK-NEXT:      </dict>
461// CHECK-NEXT:      <key>ranges</key>
462// CHECK-NEXT:      <array>
463// CHECK-NEXT:        <array>
464// CHECK-NEXT:         <dict>
465// CHECK-NEXT:          <key>line</key><integer>73</integer>
466// CHECK-NEXT:          <key>col</key><integer>3</integer>
467// CHECK-NEXT:          <key>file</key><integer>0</integer>
468// CHECK-NEXT:         </dict>
469// CHECK-NEXT:         <dict>
470// CHECK-NEXT:          <key>line</key><integer>73</integer>
471// CHECK-NEXT:          <key>col</key><integer>12</integer>
472// CHECK-NEXT:          <key>file</key><integer>0</integer>
473// CHECK-NEXT:         </dict>
474// CHECK-NEXT:        </array>
475// CHECK-NEXT:      </array>
476// CHECK-NEXT:      <key>depth</key><integer>1</integer>
477// CHECK-NEXT:      <key>extended_message</key>
478// CHECK-NEXT:      <string>Returning null pointer</string>
479// CHECK-NEXT:      <key>message</key>
480// CHECK-NEXT:      <string>Returning null pointer</string>
481// CHECK-NEXT:     </dict>
482// CHECK-NEXT:     <dict>
483// CHECK-NEXT:      <key>kind</key><string>event</string>
484// CHECK-NEXT:      <key>location</key>
485// CHECK-NEXT:      <dict>
486// CHECK-NEXT:       <key>line</key><integer>79</integer>
487// CHECK-NEXT:       <key>col</key><integer>4</integer>
488// CHECK-NEXT:       <key>file</key><integer>0</integer>
489// CHECK-NEXT:      </dict>
490// CHECK-NEXT:      <key>ranges</key>
491// CHECK-NEXT:      <array>
492// CHECK-NEXT:        <array>
493// CHECK-NEXT:         <dict>
494// CHECK-NEXT:          <key>line</key><integer>79</integer>
495// CHECK-NEXT:          <key>col</key><integer>4</integer>
496// CHECK-NEXT:          <key>file</key><integer>0</integer>
497// CHECK-NEXT:         </dict>
498// CHECK-NEXT:         <dict>
499// CHECK-NEXT:          <key>line</key><integer>79</integer>
500// CHECK-NEXT:          <key>col</key><integer>18</integer>
501// CHECK-NEXT:          <key>file</key><integer>0</integer>
502// CHECK-NEXT:         </dict>
503// CHECK-NEXT:        </array>
504// CHECK-NEXT:      </array>
505// CHECK-NEXT:      <key>depth</key><integer>0</integer>
506// CHECK-NEXT:      <key>extended_message</key>
507// CHECK-NEXT:      <string>Returning from &apos;getZeroIfNil&apos;</string>
508// CHECK-NEXT:      <key>message</key>
509// CHECK-NEXT:      <string>Returning from &apos;getZeroIfNil&apos;</string>
510// CHECK-NEXT:     </dict>
511// CHECK-NEXT:     <dict>
512// CHECK-NEXT:      <key>kind</key><string>control</string>
513// CHECK-NEXT:      <key>edges</key>
514// CHECK-NEXT:       <array>
515// CHECK-NEXT:        <dict>
516// CHECK-NEXT:         <key>start</key>
517// CHECK-NEXT:          <array>
518// CHECK-NEXT:           <dict>
519// CHECK-NEXT:            <key>line</key><integer>79</integer>
520// CHECK-NEXT:            <key>col</key><integer>4</integer>
521// CHECK-NEXT:            <key>file</key><integer>0</integer>
522// CHECK-NEXT:           </dict>
523// CHECK-NEXT:           <dict>
524// CHECK-NEXT:            <key>line</key><integer>79</integer>
525// CHECK-NEXT:            <key>col</key><integer>15</integer>
526// CHECK-NEXT:            <key>file</key><integer>0</integer>
527// CHECK-NEXT:           </dict>
528// CHECK-NEXT:          </array>
529// CHECK-NEXT:         <key>end</key>
530// CHECK-NEXT:          <array>
531// CHECK-NEXT:           <dict>
532// CHECK-NEXT:            <key>line</key><integer>79</integer>
533// CHECK-NEXT:            <key>col</key><integer>20</integer>
534// CHECK-NEXT:            <key>file</key><integer>0</integer>
535// CHECK-NEXT:           </dict>
536// CHECK-NEXT:           <dict>
537// CHECK-NEXT:            <key>line</key><integer>79</integer>
538// CHECK-NEXT:            <key>col</key><integer>20</integer>
539// CHECK-NEXT:            <key>file</key><integer>0</integer>
540// CHECK-NEXT:           </dict>
541// CHECK-NEXT:          </array>
542// CHECK-NEXT:        </dict>
543// CHECK-NEXT:       </array>
544// CHECK-NEXT:     </dict>
545// CHECK-NEXT:     <dict>
546// CHECK-NEXT:      <key>kind</key><string>event</string>
547// CHECK-NEXT:      <key>location</key>
548// CHECK-NEXT:      <dict>
549// CHECK-NEXT:       <key>line</key><integer>79</integer>
550// CHECK-NEXT:       <key>col</key><integer>20</integer>
551// CHECK-NEXT:       <key>file</key><integer>0</integer>
552// CHECK-NEXT:      </dict>
553// CHECK-NEXT:      <key>ranges</key>
554// CHECK-NEXT:      <array>
555// CHECK-NEXT:        <array>
556// CHECK-NEXT:         <dict>
557// CHECK-NEXT:          <key>line</key><integer>79</integer>
558// CHECK-NEXT:          <key>col</key><integer>3</integer>
559// CHECK-NEXT:          <key>file</key><integer>0</integer>
560// CHECK-NEXT:         </dict>
561// CHECK-NEXT:         <dict>
562// CHECK-NEXT:          <key>line</key><integer>79</integer>
563// CHECK-NEXT:          <key>col</key><integer>22</integer>
564// CHECK-NEXT:          <key>file</key><integer>0</integer>
565// CHECK-NEXT:         </dict>
566// CHECK-NEXT:        </array>
567// CHECK-NEXT:      </array>
568// CHECK-NEXT:      <key>depth</key><integer>0</integer>
569// CHECK-NEXT:      <key>extended_message</key>
570// CHECK-NEXT:      <string>Dereference of null pointer</string>
571// CHECK-NEXT:      <key>message</key>
572// CHECK-NEXT:      <string>Dereference of null pointer</string>
573// CHECK-NEXT:     </dict>
574// CHECK-NEXT:    </array>
575// CHECK-NEXT:    <key>description</key><string>Dereference of null pointer</string>
576// CHECK-NEXT:    <key>category</key><string>Logic error</string>
577// CHECK-NEXT:    <key>type</key><string>Dereference of null pointer</string>
578// CHECK-NEXT:    <key>check_name</key><string>core.NullDereference</string>
579// CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
580// CHECK-NEXT:   <key>issue_context</key><string>testReturnZeroIfNil</string>
581// CHECK-NEXT:   <key>issue_hash</key><string>1</string>
582// CHECK-NEXT:   <key>location</key>
583// CHECK-NEXT:   <dict>
584// CHECK-NEXT:    <key>line</key><integer>79</integer>
585// CHECK-NEXT:    <key>col</key><integer>20</integer>
586// CHECK-NEXT:    <key>file</key><integer>0</integer>
587// CHECK-NEXT:   </dict>
588// CHECK-NEXT:   </dict>
589// CHECK-NEXT:   <dict>
590// CHECK-NEXT:    <key>path</key>
591// CHECK-NEXT:    <array>
592// CHECK-NEXT:     <dict>
593// CHECK-NEXT:      <key>kind</key><string>control</string>
594// CHECK-NEXT:      <key>edges</key>
595// CHECK-NEXT:       <array>
596// CHECK-NEXT:        <dict>
597// CHECK-NEXT:         <key>start</key>
598// CHECK-NEXT:          <array>
599// CHECK-NEXT:           <dict>
600// CHECK-NEXT:            <key>line</key><integer>88</integer>
601// CHECK-NEXT:            <key>col</key><integer>3</integer>
602// CHECK-NEXT:            <key>file</key><integer>0</integer>
603// CHECK-NEXT:           </dict>
604// CHECK-NEXT:           <dict>
605// CHECK-NEXT:            <key>line</key><integer>88</integer>
606// CHECK-NEXT:            <key>col</key><integer>8</integer>
607// CHECK-NEXT:            <key>file</key><integer>0</integer>
608// CHECK-NEXT:           </dict>
609// CHECK-NEXT:          </array>
610// CHECK-NEXT:         <key>end</key>
611// CHECK-NEXT:          <array>
612// CHECK-NEXT:           <dict>
613// CHECK-NEXT:            <key>line</key><integer>94</integer>
614// CHECK-NEXT:            <key>col</key><integer>3</integer>
615// CHECK-NEXT:            <key>file</key><integer>0</integer>
616// CHECK-NEXT:           </dict>
617// CHECK-NEXT:           <dict>
618// CHECK-NEXT:            <key>line</key><integer>94</integer>
619// CHECK-NEXT:            <key>col</key><integer>15</integer>
620// CHECK-NEXT:            <key>file</key><integer>0</integer>
621// CHECK-NEXT:           </dict>
622// CHECK-NEXT:          </array>
623// CHECK-NEXT:        </dict>
624// CHECK-NEXT:       </array>
625// CHECK-NEXT:     </dict>
626// CHECK-NEXT:     <dict>
627// CHECK-NEXT:      <key>kind</key><string>event</string>
628// CHECK-NEXT:      <key>location</key>
629// CHECK-NEXT:      <dict>
630// CHECK-NEXT:       <key>line</key><integer>94</integer>
631// CHECK-NEXT:       <key>col</key><integer>3</integer>
632// CHECK-NEXT:       <key>file</key><integer>0</integer>
633// CHECK-NEXT:      </dict>
634// CHECK-NEXT:      <key>ranges</key>
635// CHECK-NEXT:      <array>
636// CHECK-NEXT:        <array>
637// CHECK-NEXT:         <dict>
638// CHECK-NEXT:          <key>line</key><integer>94</integer>
639// CHECK-NEXT:          <key>col</key><integer>3</integer>
640// CHECK-NEXT:          <key>file</key><integer>0</integer>
641// CHECK-NEXT:         </dict>
642// CHECK-NEXT:         <dict>
643// CHECK-NEXT:          <key>line</key><integer>99</integer>
644// CHECK-NEXT:          <key>col</key><integer>4</integer>
645// CHECK-NEXT:          <key>file</key><integer>0</integer>
646// CHECK-NEXT:         </dict>
647// CHECK-NEXT:        </array>
648// CHECK-NEXT:      </array>
649// CHECK-NEXT:      <key>depth</key><integer>0</integer>
650// CHECK-NEXT:      <key>extended_message</key>
651// CHECK-NEXT:      <string>Calling &apos;dispatch_sync&apos;</string>
652// CHECK-NEXT:      <key>message</key>
653// CHECK-NEXT:      <string>Calling &apos;dispatch_sync&apos;</string>
654// CHECK-NEXT:     </dict>
655// CHECK-NEXT:     <dict>
656// CHECK-NEXT:      <key>kind</key><string>event</string>
657// CHECK-NEXT:      <key>location</key>
658// CHECK-NEXT:      <dict>
659// CHECK-NEXT:       <key>line</key><integer>94</integer>
660// CHECK-NEXT:       <key>col</key><integer>3</integer>
661// CHECK-NEXT:       <key>file</key><integer>0</integer>
662// CHECK-NEXT:      </dict>
663// CHECK-NEXT:      <key>ranges</key>
664// CHECK-NEXT:      <array>
665// CHECK-NEXT:        <array>
666// CHECK-NEXT:         <dict>
667// CHECK-NEXT:          <key>line</key><integer>94</integer>
668// CHECK-NEXT:          <key>col</key><integer>3</integer>
669// CHECK-NEXT:          <key>file</key><integer>0</integer>
670// CHECK-NEXT:         </dict>
671// CHECK-NEXT:         <dict>
672// CHECK-NEXT:          <key>line</key><integer>99</integer>
673// CHECK-NEXT:          <key>col</key><integer>4</integer>
674// CHECK-NEXT:          <key>file</key><integer>0</integer>
675// CHECK-NEXT:         </dict>
676// CHECK-NEXT:        </array>
677// CHECK-NEXT:      </array>
678// CHECK-NEXT:      <key>depth</key><integer>1</integer>
679// CHECK-NEXT:      <key>extended_message</key>
680// CHECK-NEXT:      <string>Calling anonymous block</string>
681// CHECK-NEXT:      <key>message</key>
682// CHECK-NEXT:      <string>Calling anonymous block</string>
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>94</integer>
689// CHECK-NEXT:       <key>col</key><integer>30</integer>
690// CHECK-NEXT:       <key>file</key><integer>0</integer>
691// CHECK-NEXT:      </dict>
692// CHECK-NEXT:      <key>depth</key><integer>2</integer>
693// CHECK-NEXT:      <key>extended_message</key>
694// CHECK-NEXT:      <string>Entered call from &apos;dispatch_sync&apos;</string>
695// CHECK-NEXT:      <key>message</key>
696// CHECK-NEXT:      <string>Entered call from &apos;dispatch_sync&apos;</string>
697// CHECK-NEXT:     </dict>
698// CHECK-NEXT:     <dict>
699// CHECK-NEXT:      <key>kind</key><string>control</string>
700// CHECK-NEXT:      <key>edges</key>
701// CHECK-NEXT:       <array>
702// CHECK-NEXT:        <dict>
703// CHECK-NEXT:         <key>start</key>
704// CHECK-NEXT:          <array>
705// CHECK-NEXT:           <dict>
706// CHECK-NEXT:            <key>line</key><integer>94</integer>
707// CHECK-NEXT:            <key>col</key><integer>30</integer>
708// CHECK-NEXT:            <key>file</key><integer>0</integer>
709// CHECK-NEXT:           </dict>
710// CHECK-NEXT:           <dict>
711// CHECK-NEXT:            <key>line</key><integer>94</integer>
712// CHECK-NEXT:            <key>col</key><integer>30</integer>
713// CHECK-NEXT:            <key>file</key><integer>0</integer>
714// CHECK-NEXT:           </dict>
715// CHECK-NEXT:          </array>
716// CHECK-NEXT:         <key>end</key>
717// CHECK-NEXT:          <array>
718// CHECK-NEXT:           <dict>
719// CHECK-NEXT:            <key>line</key><integer>97</integer>
720// CHECK-NEXT:            <key>col</key><integer>5</integer>
721// CHECK-NEXT:            <key>file</key><integer>0</integer>
722// CHECK-NEXT:           </dict>
723// CHECK-NEXT:           <dict>
724// CHECK-NEXT:            <key>line</key><integer>97</integer>
725// CHECK-NEXT:            <key>col</key><integer>5</integer>
726// CHECK-NEXT:            <key>file</key><integer>0</integer>
727// CHECK-NEXT:           </dict>
728// CHECK-NEXT:          </array>
729// CHECK-NEXT:        </dict>
730// CHECK-NEXT:       </array>
731// CHECK-NEXT:     </dict>
732// CHECK-NEXT:     <dict>
733// CHECK-NEXT:      <key>kind</key><string>event</string>
734// CHECK-NEXT:      <key>location</key>
735// CHECK-NEXT:      <dict>
736// CHECK-NEXT:       <key>line</key><integer>97</integer>
737// CHECK-NEXT:       <key>col</key><integer>5</integer>
738// CHECK-NEXT:       <key>file</key><integer>0</integer>
739// CHECK-NEXT:      </dict>
740// CHECK-NEXT:      <key>ranges</key>
741// CHECK-NEXT:      <array>
742// CHECK-NEXT:        <array>
743// CHECK-NEXT:         <dict>
744// CHECK-NEXT:          <key>line</key><integer>97</integer>
745// CHECK-NEXT:          <key>col</key><integer>5</integer>
746// CHECK-NEXT:          <key>file</key><integer>0</integer>
747// CHECK-NEXT:         </dict>
748// CHECK-NEXT:         <dict>
749// CHECK-NEXT:          <key>line</key><integer>97</integer>
750// CHECK-NEXT:          <key>col</key><integer>9</integer>
751// CHECK-NEXT:          <key>file</key><integer>0</integer>
752// CHECK-NEXT:         </dict>
753// CHECK-NEXT:        </array>
754// CHECK-NEXT:      </array>
755// CHECK-NEXT:      <key>depth</key><integer>2</integer>
756// CHECK-NEXT:      <key>extended_message</key>
757// CHECK-NEXT:      <string>The value 0 is assigned to &apos;x&apos;</string>
758// CHECK-NEXT:      <key>message</key>
759// CHECK-NEXT:      <string>The value 0 is assigned to &apos;x&apos;</string>
760// CHECK-NEXT:     </dict>
761// CHECK-NEXT:     <dict>
762// CHECK-NEXT:      <key>kind</key><string>event</string>
763// CHECK-NEXT:      <key>location</key>
764// CHECK-NEXT:      <dict>
765// CHECK-NEXT:       <key>line</key><integer>94</integer>
766// CHECK-NEXT:       <key>col</key><integer>3</integer>
767// CHECK-NEXT:       <key>file</key><integer>0</integer>
768// CHECK-NEXT:      </dict>
769// CHECK-NEXT:      <key>ranges</key>
770// CHECK-NEXT:      <array>
771// CHECK-NEXT:        <array>
772// CHECK-NEXT:         <dict>
773// CHECK-NEXT:          <key>line</key><integer>94</integer>
774// CHECK-NEXT:          <key>col</key><integer>3</integer>
775// CHECK-NEXT:          <key>file</key><integer>0</integer>
776// CHECK-NEXT:         </dict>
777// CHECK-NEXT:         <dict>
778// CHECK-NEXT:          <key>line</key><integer>99</integer>
779// CHECK-NEXT:          <key>col</key><integer>4</integer>
780// CHECK-NEXT:          <key>file</key><integer>0</integer>
781// CHECK-NEXT:         </dict>
782// CHECK-NEXT:        </array>
783// CHECK-NEXT:      </array>
784// CHECK-NEXT:      <key>depth</key><integer>1</integer>
785// CHECK-NEXT:      <key>extended_message</key>
786// CHECK-NEXT:      <string>Returning to caller</string>
787// CHECK-NEXT:      <key>message</key>
788// CHECK-NEXT:      <string>Returning to caller</string>
789// CHECK-NEXT:     </dict>
790// CHECK-NEXT:     <dict>
791// CHECK-NEXT:      <key>kind</key><string>event</string>
792// CHECK-NEXT:      <key>location</key>
793// CHECK-NEXT:      <dict>
794// CHECK-NEXT:       <key>line</key><integer>94</integer>
795// CHECK-NEXT:       <key>col</key><integer>3</integer>
796// CHECK-NEXT:       <key>file</key><integer>0</integer>
797// CHECK-NEXT:      </dict>
798// CHECK-NEXT:      <key>ranges</key>
799// CHECK-NEXT:      <array>
800// CHECK-NEXT:        <array>
801// CHECK-NEXT:         <dict>
802// CHECK-NEXT:          <key>line</key><integer>94</integer>
803// CHECK-NEXT:          <key>col</key><integer>3</integer>
804// CHECK-NEXT:          <key>file</key><integer>0</integer>
805// CHECK-NEXT:         </dict>
806// CHECK-NEXT:         <dict>
807// CHECK-NEXT:          <key>line</key><integer>99</integer>
808// CHECK-NEXT:          <key>col</key><integer>4</integer>
809// CHECK-NEXT:          <key>file</key><integer>0</integer>
810// CHECK-NEXT:         </dict>
811// CHECK-NEXT:        </array>
812// CHECK-NEXT:      </array>
813// CHECK-NEXT:      <key>depth</key><integer>0</integer>
814// CHECK-NEXT:      <key>extended_message</key>
815// CHECK-NEXT:      <string>Returning from &apos;dispatch_sync&apos;</string>
816// CHECK-NEXT:      <key>message</key>
817// CHECK-NEXT:      <string>Returning from &apos;dispatch_sync&apos;</string>
818// CHECK-NEXT:     </dict>
819// CHECK-NEXT:     <dict>
820// CHECK-NEXT:      <key>kind</key><string>control</string>
821// CHECK-NEXT:      <key>edges</key>
822// CHECK-NEXT:       <array>
823// CHECK-NEXT:        <dict>
824// CHECK-NEXT:         <key>start</key>
825// CHECK-NEXT:          <array>
826// CHECK-NEXT:           <dict>
827// CHECK-NEXT:            <key>line</key><integer>94</integer>
828// CHECK-NEXT:            <key>col</key><integer>3</integer>
829// CHECK-NEXT:            <key>file</key><integer>0</integer>
830// CHECK-NEXT:           </dict>
831// CHECK-NEXT:           <dict>
832// CHECK-NEXT:            <key>line</key><integer>94</integer>
833// CHECK-NEXT:            <key>col</key><integer>15</integer>
834// CHECK-NEXT:            <key>file</key><integer>0</integer>
835// CHECK-NEXT:           </dict>
836// CHECK-NEXT:          </array>
837// CHECK-NEXT:         <key>end</key>
838// CHECK-NEXT:          <array>
839// CHECK-NEXT:           <dict>
840// CHECK-NEXT:            <key>line</key><integer>101</integer>
841// CHECK-NEXT:            <key>col</key><integer>12</integer>
842// CHECK-NEXT:            <key>file</key><integer>0</integer>
843// CHECK-NEXT:           </dict>
844// CHECK-NEXT:           <dict>
845// CHECK-NEXT:            <key>line</key><integer>101</integer>
846// CHECK-NEXT:            <key>col</key><integer>12</integer>
847// CHECK-NEXT:            <key>file</key><integer>0</integer>
848// CHECK-NEXT:           </dict>
849// CHECK-NEXT:          </array>
850// CHECK-NEXT:        </dict>
851// CHECK-NEXT:       </array>
852// CHECK-NEXT:     </dict>
853// CHECK-NEXT:     <dict>
854// CHECK-NEXT:      <key>kind</key><string>event</string>
855// CHECK-NEXT:      <key>location</key>
856// CHECK-NEXT:      <dict>
857// CHECK-NEXT:       <key>line</key><integer>101</integer>
858// CHECK-NEXT:       <key>col</key><integer>12</integer>
859// CHECK-NEXT:       <key>file</key><integer>0</integer>
860// CHECK-NEXT:      </dict>
861// CHECK-NEXT:      <key>ranges</key>
862// CHECK-NEXT:      <array>
863// CHECK-NEXT:        <array>
864// CHECK-NEXT:         <dict>
865// CHECK-NEXT:          <key>line</key><integer>101</integer>
866// CHECK-NEXT:          <key>col</key><integer>10</integer>
867// CHECK-NEXT:          <key>file</key><integer>0</integer>
868// CHECK-NEXT:         </dict>
869// CHECK-NEXT:         <dict>
870// CHECK-NEXT:          <key>line</key><integer>101</integer>
871// CHECK-NEXT:          <key>col</key><integer>14</integer>
872// CHECK-NEXT:          <key>file</key><integer>0</integer>
873// CHECK-NEXT:         </dict>
874// CHECK-NEXT:        </array>
875// CHECK-NEXT:      </array>
876// CHECK-NEXT:      <key>depth</key><integer>0</integer>
877// CHECK-NEXT:      <key>extended_message</key>
878// CHECK-NEXT:      <string>Division by zero</string>
879// CHECK-NEXT:      <key>message</key>
880// CHECK-NEXT:      <string>Division by zero</string>
881// CHECK-NEXT:     </dict>
882// CHECK-NEXT:    </array>
883// CHECK-NEXT:    <key>description</key><string>Division by zero</string>
884// CHECK-NEXT:    <key>category</key><string>Logic error</string>
885// CHECK-NEXT:    <key>type</key><string>Division by zero</string>
886// CHECK-NEXT:    <key>check_name</key><string>core.DivideZero</string>
887// CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
888// CHECK-NEXT:   <key>issue_context</key><string>testDispatchSyncInlining</string>
889// CHECK-NEXT:   <key>issue_hash</key><string>14</string>
890// CHECK-NEXT:   <key>location</key>
891// CHECK-NEXT:   <dict>
892// CHECK-NEXT:    <key>line</key><integer>101</integer>
893// CHECK-NEXT:    <key>col</key><integer>12</integer>
894// CHECK-NEXT:    <key>file</key><integer>0</integer>
895// CHECK-NEXT:   </dict>
896// CHECK-NEXT:   </dict>
897// CHECK-NEXT:   <dict>
898// CHECK-NEXT:    <key>path</key>
899// CHECK-NEXT:    <array>
900// CHECK-NEXT:     <dict>
901// CHECK-NEXT:      <key>kind</key><string>control</string>
902// CHECK-NEXT:      <key>edges</key>
903// CHECK-NEXT:       <array>
904// CHECK-NEXT:        <dict>
905// CHECK-NEXT:         <key>start</key>
906// CHECK-NEXT:          <array>
907// CHECK-NEXT:           <dict>
908// CHECK-NEXT:            <key>line</key><integer>109</integer>
909// CHECK-NEXT:            <key>col</key><integer>3</integer>
910// CHECK-NEXT:            <key>file</key><integer>0</integer>
911// CHECK-NEXT:           </dict>
912// CHECK-NEXT:           <dict>
913// CHECK-NEXT:            <key>line</key><integer>109</integer>
914// CHECK-NEXT:            <key>col</key><integer>8</integer>
915// CHECK-NEXT:            <key>file</key><integer>0</integer>
916// CHECK-NEXT:           </dict>
917// CHECK-NEXT:          </array>
918// CHECK-NEXT:         <key>end</key>
919// CHECK-NEXT:          <array>
920// CHECK-NEXT:           <dict>
921// CHECK-NEXT:            <key>line</key><integer>114</integer>
922// CHECK-NEXT:            <key>col</key><integer>3</integer>
923// CHECK-NEXT:            <key>file</key><integer>0</integer>
924// CHECK-NEXT:           </dict>
925// CHECK-NEXT:           <dict>
926// CHECK-NEXT:            <key>line</key><integer>114</integer>
927// CHECK-NEXT:            <key>col</key><integer>15</integer>
928// CHECK-NEXT:            <key>file</key><integer>0</integer>
929// CHECK-NEXT:           </dict>
930// CHECK-NEXT:          </array>
931// CHECK-NEXT:        </dict>
932// CHECK-NEXT:       </array>
933// CHECK-NEXT:     </dict>
934// CHECK-NEXT:     <dict>
935// CHECK-NEXT:      <key>kind</key><string>event</string>
936// CHECK-NEXT:      <key>location</key>
937// CHECK-NEXT:      <dict>
938// CHECK-NEXT:       <key>line</key><integer>114</integer>
939// CHECK-NEXT:       <key>col</key><integer>3</integer>
940// CHECK-NEXT:       <key>file</key><integer>0</integer>
941// CHECK-NEXT:      </dict>
942// CHECK-NEXT:      <key>ranges</key>
943// CHECK-NEXT:      <array>
944// CHECK-NEXT:        <array>
945// CHECK-NEXT:         <dict>
946// CHECK-NEXT:          <key>line</key><integer>114</integer>
947// CHECK-NEXT:          <key>col</key><integer>3</integer>
948// CHECK-NEXT:          <key>file</key><integer>0</integer>
949// CHECK-NEXT:         </dict>
950// CHECK-NEXT:         <dict>
951// CHECK-NEXT:          <key>line</key><integer>120</integer>
952// CHECK-NEXT:          <key>col</key><integer>4</integer>
953// CHECK-NEXT:          <key>file</key><integer>0</integer>
954// CHECK-NEXT:         </dict>
955// CHECK-NEXT:        </array>
956// CHECK-NEXT:      </array>
957// CHECK-NEXT:      <key>depth</key><integer>0</integer>
958// CHECK-NEXT:      <key>extended_message</key>
959// CHECK-NEXT:      <string>Calling &apos;dispatch_sync&apos;</string>
960// CHECK-NEXT:      <key>message</key>
961// CHECK-NEXT:      <string>Calling &apos;dispatch_sync&apos;</string>
962// CHECK-NEXT:     </dict>
963// CHECK-NEXT:     <dict>
964// CHECK-NEXT:      <key>kind</key><string>event</string>
965// CHECK-NEXT:      <key>location</key>
966// CHECK-NEXT:      <dict>
967// CHECK-NEXT:       <key>line</key><integer>114</integer>
968// CHECK-NEXT:       <key>col</key><integer>3</integer>
969// CHECK-NEXT:       <key>file</key><integer>0</integer>
970// CHECK-NEXT:      </dict>
971// CHECK-NEXT:      <key>ranges</key>
972// CHECK-NEXT:      <array>
973// CHECK-NEXT:        <array>
974// CHECK-NEXT:         <dict>
975// CHECK-NEXT:          <key>line</key><integer>114</integer>
976// CHECK-NEXT:          <key>col</key><integer>3</integer>
977// CHECK-NEXT:          <key>file</key><integer>0</integer>
978// CHECK-NEXT:         </dict>
979// CHECK-NEXT:         <dict>
980// CHECK-NEXT:          <key>line</key><integer>120</integer>
981// CHECK-NEXT:          <key>col</key><integer>4</integer>
982// CHECK-NEXT:          <key>file</key><integer>0</integer>
983// CHECK-NEXT:         </dict>
984// CHECK-NEXT:        </array>
985// CHECK-NEXT:      </array>
986// CHECK-NEXT:      <key>depth</key><integer>1</integer>
987// CHECK-NEXT:      <key>extended_message</key>
988// CHECK-NEXT:      <string>Calling anonymous block</string>
989// CHECK-NEXT:      <key>message</key>
990// CHECK-NEXT:      <string>Calling anonymous block</string>
991// CHECK-NEXT:     </dict>
992// CHECK-NEXT:     <dict>
993// CHECK-NEXT:      <key>kind</key><string>event</string>
994// CHECK-NEXT:      <key>location</key>
995// CHECK-NEXT:      <dict>
996// CHECK-NEXT:       <key>line</key><integer>114</integer>
997// CHECK-NEXT:       <key>col</key><integer>30</integer>
998// CHECK-NEXT:       <key>file</key><integer>0</integer>
999// CHECK-NEXT:      </dict>
1000// CHECK-NEXT:      <key>depth</key><integer>2</integer>
1001// CHECK-NEXT:      <key>extended_message</key>
1002// CHECK-NEXT:      <string>Entered call from &apos;dispatch_sync&apos;</string>
1003// CHECK-NEXT:      <key>message</key>
1004// CHECK-NEXT:      <string>Entered call from &apos;dispatch_sync&apos;</string>
1005// CHECK-NEXT:     </dict>
1006// CHECK-NEXT:     <dict>
1007// CHECK-NEXT:      <key>kind</key><string>control</string>
1008// CHECK-NEXT:      <key>edges</key>
1009// CHECK-NEXT:       <array>
1010// CHECK-NEXT:        <dict>
1011// CHECK-NEXT:         <key>start</key>
1012// CHECK-NEXT:          <array>
1013// CHECK-NEXT:           <dict>
1014// CHECK-NEXT:            <key>line</key><integer>114</integer>
1015// CHECK-NEXT:            <key>col</key><integer>30</integer>
1016// CHECK-NEXT:            <key>file</key><integer>0</integer>
1017// CHECK-NEXT:           </dict>
1018// CHECK-NEXT:           <dict>
1019// CHECK-NEXT:            <key>line</key><integer>114</integer>
1020// CHECK-NEXT:            <key>col</key><integer>30</integer>
1021// CHECK-NEXT:            <key>file</key><integer>0</integer>
1022// CHECK-NEXT:           </dict>
1023// CHECK-NEXT:          </array>
1024// CHECK-NEXT:         <key>end</key>
1025// CHECK-NEXT:          <array>
1026// CHECK-NEXT:           <dict>
1027// CHECK-NEXT:            <key>line</key><integer>116</integer>
1028// CHECK-NEXT:            <key>col</key><integer>5</integer>
1029// CHECK-NEXT:            <key>file</key><integer>0</integer>
1030// CHECK-NEXT:           </dict>
1031// CHECK-NEXT:           <dict>
1032// CHECK-NEXT:            <key>line</key><integer>116</integer>
1033// CHECK-NEXT:            <key>col</key><integer>7</integer>
1034// CHECK-NEXT:            <key>file</key><integer>0</integer>
1035// CHECK-NEXT:           </dict>
1036// CHECK-NEXT:          </array>
1037// CHECK-NEXT:        </dict>
1038// CHECK-NEXT:       </array>
1039// CHECK-NEXT:     </dict>
1040// CHECK-NEXT:     <dict>
1041// CHECK-NEXT:      <key>kind</key><string>event</string>
1042// CHECK-NEXT:      <key>location</key>
1043// CHECK-NEXT:      <dict>
1044// CHECK-NEXT:       <key>line</key><integer>116</integer>
1045// CHECK-NEXT:       <key>col</key><integer>5</integer>
1046// CHECK-NEXT:       <key>file</key><integer>0</integer>
1047// CHECK-NEXT:      </dict>
1048// CHECK-NEXT:      <key>ranges</key>
1049// CHECK-NEXT:      <array>
1050// CHECK-NEXT:        <array>
1051// CHECK-NEXT:         <dict>
1052// CHECK-NEXT:          <key>line</key><integer>116</integer>
1053// CHECK-NEXT:          <key>col</key><integer>5</integer>
1054// CHECK-NEXT:          <key>file</key><integer>0</integer>
1055// CHECK-NEXT:         </dict>
1056// CHECK-NEXT:         <dict>
1057// CHECK-NEXT:          <key>line</key><integer>116</integer>
1058// CHECK-NEXT:          <key>col</key><integer>9</integer>
1059// CHECK-NEXT:          <key>file</key><integer>0</integer>
1060// CHECK-NEXT:         </dict>
1061// CHECK-NEXT:        </array>
1062// CHECK-NEXT:      </array>
1063// CHECK-NEXT:      <key>depth</key><integer>2</integer>
1064// CHECK-NEXT:      <key>extended_message</key>
1065// CHECK-NEXT:      <string>&apos;x&apos; declared without an initial value</string>
1066// CHECK-NEXT:      <key>message</key>
1067// CHECK-NEXT:      <string>&apos;x&apos; declared without an initial value</string>
1068// CHECK-NEXT:     </dict>
1069// CHECK-NEXT:     <dict>
1070// CHECK-NEXT:      <key>kind</key><string>control</string>
1071// CHECK-NEXT:      <key>edges</key>
1072// CHECK-NEXT:       <array>
1073// CHECK-NEXT:        <dict>
1074// CHECK-NEXT:         <key>start</key>
1075// CHECK-NEXT:          <array>
1076// CHECK-NEXT:           <dict>
1077// CHECK-NEXT:            <key>line</key><integer>116</integer>
1078// CHECK-NEXT:            <key>col</key><integer>5</integer>
1079// CHECK-NEXT:            <key>file</key><integer>0</integer>
1080// CHECK-NEXT:           </dict>
1081// CHECK-NEXT:           <dict>
1082// CHECK-NEXT:            <key>line</key><integer>116</integer>
1083// CHECK-NEXT:            <key>col</key><integer>7</integer>
1084// CHECK-NEXT:            <key>file</key><integer>0</integer>
1085// CHECK-NEXT:           </dict>
1086// CHECK-NEXT:          </array>
1087// CHECK-NEXT:         <key>end</key>
1088// CHECK-NEXT:          <array>
1089// CHECK-NEXT:           <dict>
1090// CHECK-NEXT:            <key>line</key><integer>118</integer>
1091// CHECK-NEXT:            <key>col</key><integer>5</integer>
1092// CHECK-NEXT:            <key>file</key><integer>0</integer>
1093// CHECK-NEXT:           </dict>
1094// CHECK-NEXT:           <dict>
1095// CHECK-NEXT:            <key>line</key><integer>118</integer>
1096// CHECK-NEXT:            <key>col</key><integer>5</integer>
1097// CHECK-NEXT:            <key>file</key><integer>0</integer>
1098// CHECK-NEXT:           </dict>
1099// CHECK-NEXT:          </array>
1100// CHECK-NEXT:        </dict>
1101// CHECK-NEXT:       </array>
1102// CHECK-NEXT:     </dict>
1103// CHECK-NEXT:     <dict>
1104// CHECK-NEXT:      <key>kind</key><string>event</string>
1105// CHECK-NEXT:      <key>location</key>
1106// CHECK-NEXT:      <dict>
1107// CHECK-NEXT:       <key>line</key><integer>118</integer>
1108// CHECK-NEXT:       <key>col</key><integer>5</integer>
1109// CHECK-NEXT:       <key>file</key><integer>0</integer>
1110// CHECK-NEXT:      </dict>
1111// CHECK-NEXT:      <key>ranges</key>
1112// CHECK-NEXT:      <array>
1113// CHECK-NEXT:        <array>
1114// CHECK-NEXT:         <dict>
1115// CHECK-NEXT:          <key>line</key><integer>118</integer>
1116// CHECK-NEXT:          <key>col</key><integer>12</integer>
1117// CHECK-NEXT:          <key>file</key><integer>0</integer>
1118// CHECK-NEXT:         </dict>
1119// CHECK-NEXT:         <dict>
1120// CHECK-NEXT:          <key>line</key><integer>118</integer>
1121// CHECK-NEXT:          <key>col</key><integer>12</integer>
1122// CHECK-NEXT:          <key>file</key><integer>0</integer>
1123// CHECK-NEXT:         </dict>
1124// CHECK-NEXT:        </array>
1125// CHECK-NEXT:      </array>
1126// CHECK-NEXT:      <key>depth</key><integer>2</integer>
1127// CHECK-NEXT:      <key>extended_message</key>
1128// CHECK-NEXT:      <string>Variable &apos;x&apos; is uninitialized when captured by block</string>
1129// CHECK-NEXT:      <key>message</key>
1130// CHECK-NEXT:      <string>Variable &apos;x&apos; is uninitialized when captured by block</string>
1131// CHECK-NEXT:     </dict>
1132// CHECK-NEXT:    </array>
1133// CHECK-NEXT:    <key>description</key><string>Variable &apos;x&apos; is uninitialized when captured by block</string>
1134// CHECK-NEXT:    <key>category</key><string>Logic error</string>
1135// CHECK-NEXT:    <key>type</key><string>uninitialized variable captured by block</string>
1136// CHECK-NEXT:    <key>check_name</key><string>core.uninitialized.CapturedBlockVariable</string>
1137// CHECK-NEXT:   <key>location</key>
1138// CHECK-NEXT:   <dict>
1139// CHECK-NEXT:    <key>line</key><integer>118</integer>
1140// CHECK-NEXT:    <key>col</key><integer>5</integer>
1141// CHECK-NEXT:    <key>file</key><integer>0</integer>
1142// CHECK-NEXT:   </dict>
1143// CHECK-NEXT:   </dict>
1144// CHECK-NEXT:   <dict>
1145// CHECK-NEXT:    <key>path</key>
1146// CHECK-NEXT:    <array>
1147// CHECK-NEXT:     <dict>
1148// CHECK-NEXT:      <key>kind</key><string>control</string>
1149// CHECK-NEXT:      <key>edges</key>
1150// CHECK-NEXT:       <array>
1151// CHECK-NEXT:        <dict>
1152// CHECK-NEXT:         <key>start</key>
1153// CHECK-NEXT:          <array>
1154// CHECK-NEXT:           <dict>
1155// CHECK-NEXT:            <key>line</key><integer>140</integer>
1156// CHECK-NEXT:            <key>col</key><integer>3</integer>
1157// CHECK-NEXT:            <key>file</key><integer>0</integer>
1158// CHECK-NEXT:           </dict>
1159// CHECK-NEXT:           <dict>
1160// CHECK-NEXT:            <key>line</key><integer>140</integer>
1161// CHECK-NEXT:            <key>col</key><integer>4</integer>
1162// CHECK-NEXT:            <key>file</key><integer>0</integer>
1163// CHECK-NEXT:           </dict>
1164// CHECK-NEXT:          </array>
1165// CHECK-NEXT:         <key>end</key>
1166// CHECK-NEXT:          <array>
1167// CHECK-NEXT:           <dict>
1168// CHECK-NEXT:            <key>line</key><integer>144</integer>
1169// CHECK-NEXT:            <key>col</key><integer>3</integer>
1170// CHECK-NEXT:            <key>file</key><integer>0</integer>
1171// CHECK-NEXT:           </dict>
1172// CHECK-NEXT:           <dict>
1173// CHECK-NEXT:            <key>line</key><integer>144</integer>
1174// CHECK-NEXT:            <key>col</key><integer>23</integer>
1175// CHECK-NEXT:            <key>file</key><integer>0</integer>
1176// CHECK-NEXT:           </dict>
1177// CHECK-NEXT:          </array>
1178// CHECK-NEXT:        </dict>
1179// CHECK-NEXT:       </array>
1180// CHECK-NEXT:     </dict>
1181// CHECK-NEXT:     <dict>
1182// CHECK-NEXT:      <key>kind</key><string>control</string>
1183// CHECK-NEXT:      <key>edges</key>
1184// CHECK-NEXT:       <array>
1185// CHECK-NEXT:        <dict>
1186// CHECK-NEXT:         <key>start</key>
1187// CHECK-NEXT:          <array>
1188// CHECK-NEXT:           <dict>
1189// CHECK-NEXT:            <key>line</key><integer>144</integer>
1190// CHECK-NEXT:            <key>col</key><integer>3</integer>
1191// CHECK-NEXT:            <key>file</key><integer>0</integer>
1192// CHECK-NEXT:           </dict>
1193// CHECK-NEXT:           <dict>
1194// CHECK-NEXT:            <key>line</key><integer>144</integer>
1195// CHECK-NEXT:            <key>col</key><integer>23</integer>
1196// CHECK-NEXT:            <key>file</key><integer>0</integer>
1197// CHECK-NEXT:           </dict>
1198// CHECK-NEXT:          </array>
1199// CHECK-NEXT:         <key>end</key>
1200// CHECK-NEXT:          <array>
1201// CHECK-NEXT:           <dict>
1202// CHECK-NEXT:            <key>line</key><integer>144</integer>
1203// CHECK-NEXT:            <key>col</key><integer>26</integer>
1204// CHECK-NEXT:            <key>file</key><integer>0</integer>
1205// CHECK-NEXT:           </dict>
1206// CHECK-NEXT:           <dict>
1207// CHECK-NEXT:            <key>line</key><integer>144</integer>
1208// CHECK-NEXT:            <key>col</key><integer>26</integer>
1209// CHECK-NEXT:            <key>file</key><integer>0</integer>
1210// CHECK-NEXT:           </dict>
1211// CHECK-NEXT:          </array>
1212// CHECK-NEXT:        </dict>
1213// CHECK-NEXT:       </array>
1214// CHECK-NEXT:     </dict>
1215// CHECK-NEXT:     <dict>
1216// CHECK-NEXT:      <key>kind</key><string>event</string>
1217// CHECK-NEXT:      <key>location</key>
1218// CHECK-NEXT:      <dict>
1219// CHECK-NEXT:       <key>line</key><integer>144</integer>
1220// CHECK-NEXT:       <key>col</key><integer>26</integer>
1221// CHECK-NEXT:       <key>file</key><integer>0</integer>
1222// CHECK-NEXT:      </dict>
1223// CHECK-NEXT:      <key>ranges</key>
1224// CHECK-NEXT:      <array>
1225// CHECK-NEXT:        <array>
1226// CHECK-NEXT:         <dict>
1227// CHECK-NEXT:          <key>line</key><integer>144</integer>
1228// CHECK-NEXT:          <key>col</key><integer>26</integer>
1229// CHECK-NEXT:          <key>file</key><integer>0</integer>
1230// CHECK-NEXT:         </dict>
1231// CHECK-NEXT:         <dict>
1232// CHECK-NEXT:          <key>line</key><integer>144</integer>
1233// CHECK-NEXT:          <key>col</key><integer>27</integer>
1234// CHECK-NEXT:          <key>file</key><integer>0</integer>
1235// CHECK-NEXT:         </dict>
1236// CHECK-NEXT:        </array>
1237// CHECK-NEXT:      </array>
1238// CHECK-NEXT:      <key>depth</key><integer>0</integer>
1239// CHECK-NEXT:      <key>extended_message</key>
1240// CHECK-NEXT:      <string>&apos;getPtr&apos; not called because the receiver is nil</string>
1241// CHECK-NEXT:      <key>message</key>
1242// CHECK-NEXT:      <string>&apos;getPtr&apos; not called because the receiver is nil</string>
1243// CHECK-NEXT:     </dict>
1244// CHECK-NEXT:     <dict>
1245// CHECK-NEXT:      <key>kind</key><string>control</string>
1246// CHECK-NEXT:      <key>edges</key>
1247// CHECK-NEXT:       <array>
1248// CHECK-NEXT:        <dict>
1249// CHECK-NEXT:         <key>start</key>
1250// CHECK-NEXT:          <array>
1251// CHECK-NEXT:           <dict>
1252// CHECK-NEXT:            <key>line</key><integer>144</integer>
1253// CHECK-NEXT:            <key>col</key><integer>26</integer>
1254// CHECK-NEXT:            <key>file</key><integer>0</integer>
1255// CHECK-NEXT:           </dict>
1256// CHECK-NEXT:           <dict>
1257// CHECK-NEXT:            <key>line</key><integer>144</integer>
1258// CHECK-NEXT:            <key>col</key><integer>26</integer>
1259// CHECK-NEXT:            <key>file</key><integer>0</integer>
1260// CHECK-NEXT:           </dict>
1261// CHECK-NEXT:          </array>
1262// CHECK-NEXT:         <key>end</key>
1263// CHECK-NEXT:          <array>
1264// CHECK-NEXT:           <dict>
1265// CHECK-NEXT:            <key>line</key><integer>144</integer>
1266// CHECK-NEXT:            <key>col</key><integer>25</integer>
1267// CHECK-NEXT:            <key>file</key><integer>0</integer>
1268// CHECK-NEXT:           </dict>
1269// CHECK-NEXT:           <dict>
1270// CHECK-NEXT:            <key>line</key><integer>144</integer>
1271// CHECK-NEXT:            <key>col</key><integer>25</integer>
1272// CHECK-NEXT:            <key>file</key><integer>0</integer>
1273// CHECK-NEXT:           </dict>
1274// CHECK-NEXT:          </array>
1275// CHECK-NEXT:        </dict>
1276// CHECK-NEXT:       </array>
1277// CHECK-NEXT:     </dict>
1278// CHECK-NEXT:     <dict>
1279// CHECK-NEXT:      <key>kind</key><string>event</string>
1280// CHECK-NEXT:      <key>location</key>
1281// CHECK-NEXT:      <dict>
1282// CHECK-NEXT:       <key>line</key><integer>144</integer>
1283// CHECK-NEXT:       <key>col</key><integer>25</integer>
1284// CHECK-NEXT:       <key>file</key><integer>0</integer>
1285// CHECK-NEXT:      </dict>
1286// CHECK-NEXT:      <key>ranges</key>
1287// CHECK-NEXT:      <array>
1288// CHECK-NEXT:        <array>
1289// CHECK-NEXT:         <dict>
1290// CHECK-NEXT:          <key>line</key><integer>144</integer>
1291// CHECK-NEXT:          <key>col</key><integer>25</integer>
1292// CHECK-NEXT:          <key>file</key><integer>0</integer>
1293// CHECK-NEXT:         </dict>
1294// CHECK-NEXT:         <dict>
1295// CHECK-NEXT:          <key>line</key><integer>144</integer>
1296// CHECK-NEXT:          <key>col</key><integer>35</integer>
1297// CHECK-NEXT:          <key>file</key><integer>0</integer>
1298// CHECK-NEXT:         </dict>
1299// CHECK-NEXT:        </array>
1300// CHECK-NEXT:      </array>
1301// CHECK-NEXT:      <key>depth</key><integer>0</integer>
1302// CHECK-NEXT:      <key>extended_message</key>
1303// CHECK-NEXT:      <string>Passing null pointer value via 1st parameter &apos;x&apos;</string>
1304// CHECK-NEXT:      <key>message</key>
1305// CHECK-NEXT:      <string>Passing null pointer value via 1st parameter &apos;x&apos;</string>
1306// CHECK-NEXT:     </dict>
1307// CHECK-NEXT:     <dict>
1308// CHECK-NEXT:      <key>kind</key><string>event</string>
1309// CHECK-NEXT:      <key>location</key>
1310// CHECK-NEXT:      <dict>
1311// CHECK-NEXT:       <key>line</key><integer>144</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:      <key>ranges</key>
1316// CHECK-NEXT:      <array>
1317// CHECK-NEXT:        <array>
1318// CHECK-NEXT:         <dict>
1319// CHECK-NEXT:          <key>line</key><integer>144</integer>
1320// CHECK-NEXT:          <key>col</key><integer>3</integer>
1321// CHECK-NEXT:          <key>file</key><integer>0</integer>
1322// CHECK-NEXT:         </dict>
1323// CHECK-NEXT:         <dict>
1324// CHECK-NEXT:          <key>line</key><integer>144</integer>
1325// CHECK-NEXT:          <key>col</key><integer>36</integer>
1326// CHECK-NEXT:          <key>file</key><integer>0</integer>
1327// CHECK-NEXT:         </dict>
1328// CHECK-NEXT:        </array>
1329// CHECK-NEXT:      </array>
1330// CHECK-NEXT:      <key>depth</key><integer>0</integer>
1331// CHECK-NEXT:      <key>extended_message</key>
1332// CHECK-NEXT:      <string>Calling &apos;testNilReceiverHelper&apos;</string>
1333// CHECK-NEXT:      <key>message</key>
1334// CHECK-NEXT:      <string>Calling &apos;testNilReceiverHelper&apos;</string>
1335// CHECK-NEXT:     </dict>
1336// CHECK-NEXT:     <dict>
1337// CHECK-NEXT:      <key>kind</key><string>event</string>
1338// CHECK-NEXT:      <key>location</key>
1339// CHECK-NEXT:      <dict>
1340// CHECK-NEXT:       <key>line</key><integer>134</integer>
1341// CHECK-NEXT:       <key>col</key><integer>1</integer>
1342// CHECK-NEXT:       <key>file</key><integer>0</integer>
1343// CHECK-NEXT:      </dict>
1344// CHECK-NEXT:      <key>depth</key><integer>1</integer>
1345// CHECK-NEXT:      <key>extended_message</key>
1346// CHECK-NEXT:      <string>Entered call from &apos;testNilReceiver&apos;</string>
1347// CHECK-NEXT:      <key>message</key>
1348// CHECK-NEXT:      <string>Entered call from &apos;testNilReceiver&apos;</string>
1349// CHECK-NEXT:     </dict>
1350// CHECK-NEXT:     <dict>
1351// CHECK-NEXT:      <key>kind</key><string>control</string>
1352// CHECK-NEXT:      <key>edges</key>
1353// CHECK-NEXT:       <array>
1354// CHECK-NEXT:        <dict>
1355// CHECK-NEXT:         <key>start</key>
1356// CHECK-NEXT:          <array>
1357// CHECK-NEXT:           <dict>
1358// CHECK-NEXT:            <key>line</key><integer>134</integer>
1359// CHECK-NEXT:            <key>col</key><integer>1</integer>
1360// CHECK-NEXT:            <key>file</key><integer>0</integer>
1361// CHECK-NEXT:           </dict>
1362// CHECK-NEXT:           <dict>
1363// CHECK-NEXT:            <key>line</key><integer>134</integer>
1364// CHECK-NEXT:            <key>col</key><integer>4</integer>
1365// CHECK-NEXT:            <key>file</key><integer>0</integer>
1366// CHECK-NEXT:           </dict>
1367// CHECK-NEXT:          </array>
1368// CHECK-NEXT:         <key>end</key>
1369// CHECK-NEXT:          <array>
1370// CHECK-NEXT:           <dict>
1371// CHECK-NEXT:            <key>line</key><integer>135</integer>
1372// CHECK-NEXT:            <key>col</key><integer>3</integer>
1373// CHECK-NEXT:            <key>file</key><integer>0</integer>
1374// CHECK-NEXT:           </dict>
1375// CHECK-NEXT:           <dict>
1376// CHECK-NEXT:            <key>line</key><integer>135</integer>
1377// CHECK-NEXT:            <key>col</key><integer>3</integer>
1378// CHECK-NEXT:            <key>file</key><integer>0</integer>
1379// CHECK-NEXT:           </dict>
1380// CHECK-NEXT:          </array>
1381// CHECK-NEXT:        </dict>
1382// CHECK-NEXT:       </array>
1383// CHECK-NEXT:     </dict>
1384// CHECK-NEXT:     <dict>
1385// CHECK-NEXT:      <key>kind</key><string>control</string>
1386// CHECK-NEXT:      <key>edges</key>
1387// CHECK-NEXT:       <array>
1388// CHECK-NEXT:        <dict>
1389// CHECK-NEXT:         <key>start</key>
1390// CHECK-NEXT:          <array>
1391// CHECK-NEXT:           <dict>
1392// CHECK-NEXT:            <key>line</key><integer>135</integer>
1393// CHECK-NEXT:            <key>col</key><integer>3</integer>
1394// CHECK-NEXT:            <key>file</key><integer>0</integer>
1395// CHECK-NEXT:           </dict>
1396// CHECK-NEXT:           <dict>
1397// CHECK-NEXT:            <key>line</key><integer>135</integer>
1398// CHECK-NEXT:            <key>col</key><integer>3</integer>
1399// CHECK-NEXT:            <key>file</key><integer>0</integer>
1400// CHECK-NEXT:           </dict>
1401// CHECK-NEXT:          </array>
1402// CHECK-NEXT:         <key>end</key>
1403// CHECK-NEXT:          <array>
1404// CHECK-NEXT:           <dict>
1405// CHECK-NEXT:            <key>line</key><integer>135</integer>
1406// CHECK-NEXT:            <key>col</key><integer>6</integer>
1407// CHECK-NEXT:            <key>file</key><integer>0</integer>
1408// CHECK-NEXT:           </dict>
1409// CHECK-NEXT:           <dict>
1410// CHECK-NEXT:            <key>line</key><integer>135</integer>
1411// CHECK-NEXT:            <key>col</key><integer>6</integer>
1412// CHECK-NEXT:            <key>file</key><integer>0</integer>
1413// CHECK-NEXT:           </dict>
1414// CHECK-NEXT:          </array>
1415// CHECK-NEXT:        </dict>
1416// CHECK-NEXT:       </array>
1417// CHECK-NEXT:     </dict>
1418// CHECK-NEXT:     <dict>
1419// CHECK-NEXT:      <key>kind</key><string>event</string>
1420// CHECK-NEXT:      <key>location</key>
1421// CHECK-NEXT:      <dict>
1422// CHECK-NEXT:       <key>line</key><integer>135</integer>
1423// CHECK-NEXT:       <key>col</key><integer>6</integer>
1424// CHECK-NEXT:       <key>file</key><integer>0</integer>
1425// CHECK-NEXT:      </dict>
1426// CHECK-NEXT:      <key>ranges</key>
1427// CHECK-NEXT:      <array>
1428// CHECK-NEXT:        <array>
1429// CHECK-NEXT:         <dict>
1430// CHECK-NEXT:          <key>line</key><integer>135</integer>
1431// CHECK-NEXT:          <key>col</key><integer>4</integer>
1432// CHECK-NEXT:          <key>file</key><integer>0</integer>
1433// CHECK-NEXT:         </dict>
1434// CHECK-NEXT:         <dict>
1435// CHECK-NEXT:          <key>line</key><integer>135</integer>
1436// CHECK-NEXT:          <key>col</key><integer>4</integer>
1437// CHECK-NEXT:          <key>file</key><integer>0</integer>
1438// CHECK-NEXT:         </dict>
1439// CHECK-NEXT:        </array>
1440// CHECK-NEXT:      </array>
1441// CHECK-NEXT:      <key>depth</key><integer>1</integer>
1442// CHECK-NEXT:      <key>extended_message</key>
1443// CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;x&apos;)</string>
1444// CHECK-NEXT:      <key>message</key>
1445// CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;x&apos;)</string>
1446// CHECK-NEXT:     </dict>
1447// CHECK-NEXT:    </array>
1448// CHECK-NEXT:    <key>description</key><string>Dereference of null pointer (loaded from variable &apos;x&apos;)</string>
1449// CHECK-NEXT:    <key>category</key><string>Logic error</string>
1450// CHECK-NEXT:    <key>type</key><string>Dereference of null pointer</string>
1451// CHECK-NEXT:    <key>check_name</key><string>core.NullDereference</string>
1452// CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
1453// CHECK-NEXT:   <key>issue_context</key><string>testNilReceiverHelper</string>
1454// CHECK-NEXT:   <key>issue_hash</key><string>1</string>
1455// CHECK-NEXT:   <key>location</key>
1456// CHECK-NEXT:   <dict>
1457// CHECK-NEXT:    <key>line</key><integer>135</integer>
1458// CHECK-NEXT:    <key>col</key><integer>6</integer>
1459// CHECK-NEXT:    <key>file</key><integer>0</integer>
1460// CHECK-NEXT:   </dict>
1461// CHECK-NEXT:   </dict>
1462// CHECK-NEXT:   <dict>
1463// CHECK-NEXT:    <key>path</key>
1464// CHECK-NEXT:    <array>
1465// CHECK-NEXT:     <dict>
1466// CHECK-NEXT:      <key>kind</key><string>control</string>
1467// CHECK-NEXT:      <key>edges</key>
1468// CHECK-NEXT:       <array>
1469// CHECK-NEXT:        <dict>
1470// CHECK-NEXT:         <key>start</key>
1471// CHECK-NEXT:          <array>
1472// CHECK-NEXT:           <dict>
1473// CHECK-NEXT:            <key>line</key><integer>151</integer>
1474// CHECK-NEXT:            <key>col</key><integer>3</integer>
1475// CHECK-NEXT:            <key>file</key><integer>0</integer>
1476// CHECK-NEXT:           </dict>
1477// CHECK-NEXT:           <dict>
1478// CHECK-NEXT:            <key>line</key><integer>151</integer>
1479// CHECK-NEXT:            <key>col</key><integer>4</integer>
1480// CHECK-NEXT:            <key>file</key><integer>0</integer>
1481// CHECK-NEXT:           </dict>
1482// CHECK-NEXT:          </array>
1483// CHECK-NEXT:         <key>end</key>
1484// CHECK-NEXT:          <array>
1485// CHECK-NEXT:           <dict>
1486// CHECK-NEXT:            <key>line</key><integer>151</integer>
1487// CHECK-NEXT:            <key>col</key><integer>7</integer>
1488// CHECK-NEXT:            <key>file</key><integer>0</integer>
1489// CHECK-NEXT:           </dict>
1490// CHECK-NEXT:           <dict>
1491// CHECK-NEXT:            <key>line</key><integer>151</integer>
1492// CHECK-NEXT:            <key>col</key><integer>11</integer>
1493// CHECK-NEXT:            <key>file</key><integer>0</integer>
1494// CHECK-NEXT:           </dict>
1495// CHECK-NEXT:          </array>
1496// CHECK-NEXT:        </dict>
1497// CHECK-NEXT:       </array>
1498// CHECK-NEXT:     </dict>
1499// CHECK-NEXT:     <dict>
1500// CHECK-NEXT:      <key>kind</key><string>event</string>
1501// CHECK-NEXT:      <key>location</key>
1502// CHECK-NEXT:      <dict>
1503// CHECK-NEXT:       <key>line</key><integer>151</integer>
1504// CHECK-NEXT:       <key>col</key><integer>7</integer>
1505// CHECK-NEXT:       <key>file</key><integer>0</integer>
1506// CHECK-NEXT:      </dict>
1507// CHECK-NEXT:      <key>ranges</key>
1508// CHECK-NEXT:      <array>
1509// CHECK-NEXT:        <array>
1510// CHECK-NEXT:         <dict>
1511// CHECK-NEXT:          <key>line</key><integer>151</integer>
1512// CHECK-NEXT:          <key>col</key><integer>7</integer>
1513// CHECK-NEXT:          <key>file</key><integer>0</integer>
1514// CHECK-NEXT:         </dict>
1515// CHECK-NEXT:         <dict>
1516// CHECK-NEXT:          <key>line</key><integer>151</integer>
1517// CHECK-NEXT:          <key>col</key><integer>11</integer>
1518// CHECK-NEXT:          <key>file</key><integer>0</integer>
1519// CHECK-NEXT:         </dict>
1520// CHECK-NEXT:        </array>
1521// CHECK-NEXT:      </array>
1522// CHECK-NEXT:      <key>depth</key><integer>0</integer>
1523// CHECK-NEXT:      <key>extended_message</key>
1524// CHECK-NEXT:      <string>Assuming &apos;myNil&apos; is nil</string>
1525// CHECK-NEXT:      <key>message</key>
1526// CHECK-NEXT:      <string>Assuming &apos;myNil&apos; is nil</string>
1527// CHECK-NEXT:     </dict>
1528// CHECK-NEXT:     <dict>
1529// CHECK-NEXT:      <key>kind</key><string>control</string>
1530// CHECK-NEXT:      <key>edges</key>
1531// CHECK-NEXT:       <array>
1532// CHECK-NEXT:        <dict>
1533// CHECK-NEXT:         <key>start</key>
1534// CHECK-NEXT:          <array>
1535// CHECK-NEXT:           <dict>
1536// CHECK-NEXT:            <key>line</key><integer>151</integer>
1537// CHECK-NEXT:            <key>col</key><integer>7</integer>
1538// CHECK-NEXT:            <key>file</key><integer>0</integer>
1539// CHECK-NEXT:           </dict>
1540// CHECK-NEXT:           <dict>
1541// CHECK-NEXT:            <key>line</key><integer>151</integer>
1542// CHECK-NEXT:            <key>col</key><integer>11</integer>
1543// CHECK-NEXT:            <key>file</key><integer>0</integer>
1544// CHECK-NEXT:           </dict>
1545// CHECK-NEXT:          </array>
1546// CHECK-NEXT:         <key>end</key>
1547// CHECK-NEXT:          <array>
1548// CHECK-NEXT:           <dict>
1549// CHECK-NEXT:            <key>line</key><integer>153</integer>
1550// CHECK-NEXT:            <key>col</key><integer>3</integer>
1551// CHECK-NEXT:            <key>file</key><integer>0</integer>
1552// CHECK-NEXT:           </dict>
1553// CHECK-NEXT:           <dict>
1554// CHECK-NEXT:            <key>line</key><integer>153</integer>
1555// CHECK-NEXT:            <key>col</key><integer>8</integer>
1556// CHECK-NEXT:            <key>file</key><integer>0</integer>
1557// CHECK-NEXT:           </dict>
1558// CHECK-NEXT:          </array>
1559// CHECK-NEXT:        </dict>
1560// CHECK-NEXT:       </array>
1561// CHECK-NEXT:     </dict>
1562// CHECK-NEXT:     <dict>
1563// CHECK-NEXT:      <key>kind</key><string>control</string>
1564// CHECK-NEXT:      <key>edges</key>
1565// CHECK-NEXT:       <array>
1566// CHECK-NEXT:        <dict>
1567// CHECK-NEXT:         <key>start</key>
1568// CHECK-NEXT:          <array>
1569// CHECK-NEXT:           <dict>
1570// CHECK-NEXT:            <key>line</key><integer>153</integer>
1571// CHECK-NEXT:            <key>col</key><integer>3</integer>
1572// CHECK-NEXT:            <key>file</key><integer>0</integer>
1573// CHECK-NEXT:           </dict>
1574// CHECK-NEXT:           <dict>
1575// CHECK-NEXT:            <key>line</key><integer>153</integer>
1576// CHECK-NEXT:            <key>col</key><integer>8</integer>
1577// CHECK-NEXT:            <key>file</key><integer>0</integer>
1578// CHECK-NEXT:           </dict>
1579// CHECK-NEXT:          </array>
1580// CHECK-NEXT:         <key>end</key>
1581// CHECK-NEXT:          <array>
1582// CHECK-NEXT:           <dict>
1583// CHECK-NEXT:            <key>line</key><integer>153</integer>
1584// CHECK-NEXT:            <key>col</key><integer>10</integer>
1585// CHECK-NEXT:            <key>file</key><integer>0</integer>
1586// CHECK-NEXT:           </dict>
1587// CHECK-NEXT:           <dict>
1588// CHECK-NEXT:            <key>line</key><integer>153</integer>
1589// CHECK-NEXT:            <key>col</key><integer>10</integer>
1590// CHECK-NEXT:            <key>file</key><integer>0</integer>
1591// CHECK-NEXT:           </dict>
1592// CHECK-NEXT:          </array>
1593// CHECK-NEXT:        </dict>
1594// CHECK-NEXT:       </array>
1595// CHECK-NEXT:     </dict>
1596// CHECK-NEXT:     <dict>
1597// CHECK-NEXT:      <key>kind</key><string>event</string>
1598// CHECK-NEXT:      <key>location</key>
1599// CHECK-NEXT:      <dict>
1600// CHECK-NEXT:       <key>line</key><integer>153</integer>
1601// CHECK-NEXT:       <key>col</key><integer>10</integer>
1602// CHECK-NEXT:       <key>file</key><integer>0</integer>
1603// CHECK-NEXT:      </dict>
1604// CHECK-NEXT:      <key>ranges</key>
1605// CHECK-NEXT:      <array>
1606// CHECK-NEXT:        <array>
1607// CHECK-NEXT:         <dict>
1608// CHECK-NEXT:          <key>line</key><integer>153</integer>
1609// CHECK-NEXT:          <key>col</key><integer>19</integer>
1610// CHECK-NEXT:          <key>file</key><integer>0</integer>
1611// CHECK-NEXT:         </dict>
1612// CHECK-NEXT:         <dict>
1613// CHECK-NEXT:          <key>line</key><integer>153</integer>
1614// CHECK-NEXT:          <key>col</key><integer>23</integer>
1615// CHECK-NEXT:          <key>file</key><integer>0</integer>
1616// CHECK-NEXT:         </dict>
1617// CHECK-NEXT:        </array>
1618// CHECK-NEXT:      </array>
1619// CHECK-NEXT:      <key>depth</key><integer>0</integer>
1620// CHECK-NEXT:      <key>extended_message</key>
1621// CHECK-NEXT:      <string>Array element cannot be nil</string>
1622// CHECK-NEXT:      <key>message</key>
1623// CHECK-NEXT:      <string>Array element cannot be nil</string>
1624// CHECK-NEXT:     </dict>
1625// CHECK-NEXT:    </array>
1626// CHECK-NEXT:    <key>description</key><string>Array element cannot be nil</string>
1627// CHECK-NEXT:    <key>category</key><string>API Misuse (Apple)</string>
1628// CHECK-NEXT:    <key>type</key><string>nil argument</string>
1629// CHECK-NEXT:    <key>check_name</key><string>osx.cocoa.NilArg</string>
1630// CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
1631// CHECK-NEXT:   <key>issue_context</key><string>testCreateArrayLiteral</string>
1632// CHECK-NEXT:   <key>issue_hash</key><string>3</string>
1633// CHECK-NEXT:   <key>location</key>
1634// CHECK-NEXT:   <dict>
1635// CHECK-NEXT:    <key>line</key><integer>153</integer>
1636// CHECK-NEXT:    <key>col</key><integer>10</integer>
1637// CHECK-NEXT:    <key>file</key><integer>0</integer>
1638// CHECK-NEXT:   </dict>
1639// CHECK-NEXT:   </dict>
1640// CHECK-NEXT:   <dict>
1641// CHECK-NEXT:    <key>path</key>
1642// CHECK-NEXT:    <array>
1643// CHECK-NEXT:     <dict>
1644// CHECK-NEXT:      <key>kind</key><string>control</string>
1645// CHECK-NEXT:      <key>edges</key>
1646// CHECK-NEXT:       <array>
1647// CHECK-NEXT:        <dict>
1648// CHECK-NEXT:         <key>start</key>
1649// CHECK-NEXT:          <array>
1650// CHECK-NEXT:           <dict>
1651// CHECK-NEXT:            <key>line</key><integer>159</integer>
1652// CHECK-NEXT:            <key>col</key><integer>3</integer>
1653// CHECK-NEXT:            <key>file</key><integer>0</integer>
1654// CHECK-NEXT:           </dict>
1655// CHECK-NEXT:           <dict>
1656// CHECK-NEXT:            <key>line</key><integer>159</integer>
1657// CHECK-NEXT:            <key>col</key><integer>8</integer>
1658// CHECK-NEXT:            <key>file</key><integer>0</integer>
1659// CHECK-NEXT:           </dict>
1660// CHECK-NEXT:          </array>
1661// CHECK-NEXT:         <key>end</key>
1662// CHECK-NEXT:          <array>
1663// CHECK-NEXT:           <dict>
1664// CHECK-NEXT:            <key>line</key><integer>160</integer>
1665// CHECK-NEXT:            <key>col</key><integer>3</integer>
1666// CHECK-NEXT:            <key>file</key><integer>0</integer>
1667// CHECK-NEXT:           </dict>
1668// CHECK-NEXT:           <dict>
1669// CHECK-NEXT:            <key>line</key><integer>160</integer>
1670// CHECK-NEXT:            <key>col</key><integer>15</integer>
1671// CHECK-NEXT:            <key>file</key><integer>0</integer>
1672// CHECK-NEXT:           </dict>
1673// CHECK-NEXT:          </array>
1674// CHECK-NEXT:        </dict>
1675// CHECK-NEXT:       </array>
1676// CHECK-NEXT:     </dict>
1677// CHECK-NEXT:     <dict>
1678// CHECK-NEXT:      <key>kind</key><string>control</string>
1679// CHECK-NEXT:      <key>edges</key>
1680// CHECK-NEXT:       <array>
1681// CHECK-NEXT:        <dict>
1682// CHECK-NEXT:         <key>start</key>
1683// CHECK-NEXT:          <array>
1684// CHECK-NEXT:           <dict>
1685// CHECK-NEXT:            <key>line</key><integer>160</integer>
1686// CHECK-NEXT:            <key>col</key><integer>3</integer>
1687// CHECK-NEXT:            <key>file</key><integer>0</integer>
1688// CHECK-NEXT:           </dict>
1689// CHECK-NEXT:           <dict>
1690// CHECK-NEXT:            <key>line</key><integer>160</integer>
1691// CHECK-NEXT:            <key>col</key><integer>15</integer>
1692// CHECK-NEXT:            <key>file</key><integer>0</integer>
1693// CHECK-NEXT:           </dict>
1694// CHECK-NEXT:          </array>
1695// CHECK-NEXT:         <key>end</key>
1696// CHECK-NEXT:          <array>
1697// CHECK-NEXT:           <dict>
1698// CHECK-NEXT:            <key>line</key><integer>162</integer>
1699// CHECK-NEXT:            <key>col</key><integer>3</integer>
1700// CHECK-NEXT:            <key>file</key><integer>0</integer>
1701// CHECK-NEXT:           </dict>
1702// CHECK-NEXT:           <dict>
1703// CHECK-NEXT:            <key>line</key><integer>162</integer>
1704// CHECK-NEXT:            <key>col</key><integer>4</integer>
1705// CHECK-NEXT:            <key>file</key><integer>0</integer>
1706// CHECK-NEXT:           </dict>
1707// CHECK-NEXT:          </array>
1708// CHECK-NEXT:        </dict>
1709// CHECK-NEXT:       </array>
1710// CHECK-NEXT:     </dict>
1711// CHECK-NEXT:     <dict>
1712// CHECK-NEXT:      <key>kind</key><string>control</string>
1713// CHECK-NEXT:      <key>edges</key>
1714// CHECK-NEXT:       <array>
1715// CHECK-NEXT:        <dict>
1716// CHECK-NEXT:         <key>start</key>
1717// CHECK-NEXT:          <array>
1718// CHECK-NEXT:           <dict>
1719// CHECK-NEXT:            <key>line</key><integer>162</integer>
1720// CHECK-NEXT:            <key>col</key><integer>3</integer>
1721// CHECK-NEXT:            <key>file</key><integer>0</integer>
1722// CHECK-NEXT:           </dict>
1723// CHECK-NEXT:           <dict>
1724// CHECK-NEXT:            <key>line</key><integer>162</integer>
1725// CHECK-NEXT:            <key>col</key><integer>4</integer>
1726// CHECK-NEXT:            <key>file</key><integer>0</integer>
1727// CHECK-NEXT:           </dict>
1728// CHECK-NEXT:          </array>
1729// CHECK-NEXT:         <key>end</key>
1730// CHECK-NEXT:          <array>
1731// CHECK-NEXT:           <dict>
1732// CHECK-NEXT:            <key>line</key><integer>162</integer>
1733// CHECK-NEXT:            <key>col</key><integer>12</integer>
1734// CHECK-NEXT:            <key>file</key><integer>0</integer>
1735// CHECK-NEXT:           </dict>
1736// CHECK-NEXT:           <dict>
1737// CHECK-NEXT:            <key>line</key><integer>162</integer>
1738// CHECK-NEXT:            <key>col</key><integer>12</integer>
1739// CHECK-NEXT:            <key>file</key><integer>0</integer>
1740// CHECK-NEXT:           </dict>
1741// CHECK-NEXT:          </array>
1742// CHECK-NEXT:        </dict>
1743// CHECK-NEXT:       </array>
1744// CHECK-NEXT:     </dict>
1745// CHECK-NEXT:     <dict>
1746// CHECK-NEXT:      <key>kind</key><string>event</string>
1747// CHECK-NEXT:      <key>location</key>
1748// CHECK-NEXT:      <dict>
1749// CHECK-NEXT:       <key>line</key><integer>162</integer>
1750// CHECK-NEXT:       <key>col</key><integer>12</integer>
1751// CHECK-NEXT:       <key>file</key><integer>0</integer>
1752// CHECK-NEXT:      </dict>
1753// CHECK-NEXT:      <key>ranges</key>
1754// CHECK-NEXT:      <array>
1755// CHECK-NEXT:        <array>
1756// CHECK-NEXT:         <dict>
1757// CHECK-NEXT:          <key>line</key><integer>162</integer>
1758// CHECK-NEXT:          <key>col</key><integer>12</integer>
1759// CHECK-NEXT:          <key>file</key><integer>0</integer>
1760// CHECK-NEXT:         </dict>
1761// CHECK-NEXT:         <dict>
1762// CHECK-NEXT:          <key>line</key><integer>162</integer>
1763// CHECK-NEXT:          <key>col</key><integer>34</integer>
1764// CHECK-NEXT:          <key>file</key><integer>0</integer>
1765// CHECK-NEXT:         </dict>
1766// CHECK-NEXT:        </array>
1767// CHECK-NEXT:      </array>
1768// CHECK-NEXT:      <key>depth</key><integer>0</integer>
1769// CHECK-NEXT:      <key>extended_message</key>
1770// CHECK-NEXT:      <string>Method returns an Objective-C object with a +1 retain count</string>
1771// CHECK-NEXT:      <key>message</key>
1772// CHECK-NEXT:      <string>Method returns an Objective-C object with a +1 retain count</string>
1773// CHECK-NEXT:     </dict>
1774// CHECK-NEXT:     <dict>
1775// CHECK-NEXT:      <key>kind</key><string>control</string>
1776// CHECK-NEXT:      <key>edges</key>
1777// CHECK-NEXT:       <array>
1778// CHECK-NEXT:        <dict>
1779// CHECK-NEXT:         <key>start</key>
1780// CHECK-NEXT:          <array>
1781// CHECK-NEXT:           <dict>
1782// CHECK-NEXT:            <key>line</key><integer>162</integer>
1783// CHECK-NEXT:            <key>col</key><integer>12</integer>
1784// CHECK-NEXT:            <key>file</key><integer>0</integer>
1785// CHECK-NEXT:           </dict>
1786// CHECK-NEXT:           <dict>
1787// CHECK-NEXT:            <key>line</key><integer>162</integer>
1788// CHECK-NEXT:            <key>col</key><integer>12</integer>
1789// CHECK-NEXT:            <key>file</key><integer>0</integer>
1790// CHECK-NEXT:           </dict>
1791// CHECK-NEXT:          </array>
1792// CHECK-NEXT:         <key>end</key>
1793// CHECK-NEXT:          <array>
1794// CHECK-NEXT:           <dict>
1795// CHECK-NEXT:            <key>line</key><integer>162</integer>
1796// CHECK-NEXT:            <key>col</key><integer>11</integer>
1797// CHECK-NEXT:            <key>file</key><integer>0</integer>
1798// CHECK-NEXT:           </dict>
1799// CHECK-NEXT:           <dict>
1800// CHECK-NEXT:            <key>line</key><integer>162</integer>
1801// CHECK-NEXT:            <key>col</key><integer>11</integer>
1802// CHECK-NEXT:            <key>file</key><integer>0</integer>
1803// CHECK-NEXT:           </dict>
1804// CHECK-NEXT:          </array>
1805// CHECK-NEXT:        </dict>
1806// CHECK-NEXT:       </array>
1807// CHECK-NEXT:     </dict>
1808// CHECK-NEXT:     <dict>
1809// CHECK-NEXT:      <key>kind</key><string>event</string>
1810// CHECK-NEXT:      <key>location</key>
1811// CHECK-NEXT:      <dict>
1812// CHECK-NEXT:       <key>line</key><integer>162</integer>
1813// CHECK-NEXT:       <key>col</key><integer>11</integer>
1814// CHECK-NEXT:       <key>file</key><integer>0</integer>
1815// CHECK-NEXT:      </dict>
1816// CHECK-NEXT:      <key>ranges</key>
1817// CHECK-NEXT:      <array>
1818// CHECK-NEXT:        <array>
1819// CHECK-NEXT:         <dict>
1820// CHECK-NEXT:          <key>line</key><integer>162</integer>
1821// CHECK-NEXT:          <key>col</key><integer>11</integer>
1822// CHECK-NEXT:          <key>file</key><integer>0</integer>
1823// CHECK-NEXT:         </dict>
1824// CHECK-NEXT:         <dict>
1825// CHECK-NEXT:          <key>line</key><integer>162</integer>
1826// CHECK-NEXT:          <key>col</key><integer>47</integer>
1827// CHECK-NEXT:          <key>file</key><integer>0</integer>
1828// CHECK-NEXT:         </dict>
1829// CHECK-NEXT:        </array>
1830// CHECK-NEXT:        <array>
1831// CHECK-NEXT:         <dict>
1832// CHECK-NEXT:          <key>line</key><integer>162</integer>
1833// CHECK-NEXT:          <key>col</key><integer>12</integer>
1834// CHECK-NEXT:          <key>file</key><integer>0</integer>
1835// CHECK-NEXT:         </dict>
1836// CHECK-NEXT:         <dict>
1837// CHECK-NEXT:          <key>line</key><integer>162</integer>
1838// CHECK-NEXT:          <key>col</key><integer>34</integer>
1839// CHECK-NEXT:          <key>file</key><integer>0</integer>
1840// CHECK-NEXT:         </dict>
1841// CHECK-NEXT:        </array>
1842// CHECK-NEXT:      </array>
1843// CHECK-NEXT:      <key>depth</key><integer>0</integer>
1844// CHECK-NEXT:      <key>extended_message</key>
1845// CHECK-NEXT:      <string>Object autoreleased</string>
1846// CHECK-NEXT:      <key>message</key>
1847// CHECK-NEXT:      <string>Object autoreleased</string>
1848// CHECK-NEXT:     </dict>
1849// CHECK-NEXT:     <dict>
1850// CHECK-NEXT:      <key>kind</key><string>control</string>
1851// CHECK-NEXT:      <key>edges</key>
1852// CHECK-NEXT:       <array>
1853// CHECK-NEXT:        <dict>
1854// CHECK-NEXT:         <key>start</key>
1855// CHECK-NEXT:          <array>
1856// CHECK-NEXT:           <dict>
1857// CHECK-NEXT:            <key>line</key><integer>162</integer>
1858// CHECK-NEXT:            <key>col</key><integer>11</integer>
1859// CHECK-NEXT:            <key>file</key><integer>0</integer>
1860// CHECK-NEXT:           </dict>
1861// CHECK-NEXT:           <dict>
1862// CHECK-NEXT:            <key>line</key><integer>162</integer>
1863// CHECK-NEXT:            <key>col</key><integer>11</integer>
1864// CHECK-NEXT:            <key>file</key><integer>0</integer>
1865// CHECK-NEXT:           </dict>
1866// CHECK-NEXT:          </array>
1867// CHECK-NEXT:         <key>end</key>
1868// CHECK-NEXT:          <array>
1869// CHECK-NEXT:           <dict>
1870// CHECK-NEXT:            <key>line</key><integer>162</integer>
1871// CHECK-NEXT:            <key>col</key><integer>10</integer>
1872// CHECK-NEXT:            <key>file</key><integer>0</integer>
1873// CHECK-NEXT:           </dict>
1874// CHECK-NEXT:           <dict>
1875// CHECK-NEXT:            <key>line</key><integer>162</integer>
1876// CHECK-NEXT:            <key>col</key><integer>10</integer>
1877// CHECK-NEXT:            <key>file</key><integer>0</integer>
1878// CHECK-NEXT:           </dict>
1879// CHECK-NEXT:          </array>
1880// CHECK-NEXT:        </dict>
1881// CHECK-NEXT:       </array>
1882// CHECK-NEXT:     </dict>
1883// CHECK-NEXT:     <dict>
1884// CHECK-NEXT:      <key>kind</key><string>event</string>
1885// CHECK-NEXT:      <key>location</key>
1886// CHECK-NEXT:      <dict>
1887// CHECK-NEXT:       <key>line</key><integer>162</integer>
1888// CHECK-NEXT:       <key>col</key><integer>10</integer>
1889// CHECK-NEXT:       <key>file</key><integer>0</integer>
1890// CHECK-NEXT:      </dict>
1891// CHECK-NEXT:      <key>ranges</key>
1892// CHECK-NEXT:      <array>
1893// CHECK-NEXT:        <array>
1894// CHECK-NEXT:         <dict>
1895// CHECK-NEXT:          <key>line</key><integer>162</integer>
1896// CHECK-NEXT:          <key>col</key><integer>10</integer>
1897// CHECK-NEXT:          <key>file</key><integer>0</integer>
1898// CHECK-NEXT:         </dict>
1899// CHECK-NEXT:         <dict>
1900// CHECK-NEXT:          <key>line</key><integer>162</integer>
1901// CHECK-NEXT:          <key>col</key><integer>60</integer>
1902// CHECK-NEXT:          <key>file</key><integer>0</integer>
1903// CHECK-NEXT:         </dict>
1904// CHECK-NEXT:        </array>
1905// CHECK-NEXT:        <array>
1906// CHECK-NEXT:         <dict>
1907// CHECK-NEXT:          <key>line</key><integer>162</integer>
1908// CHECK-NEXT:          <key>col</key><integer>11</integer>
1909// CHECK-NEXT:          <key>file</key><integer>0</integer>
1910// CHECK-NEXT:         </dict>
1911// CHECK-NEXT:         <dict>
1912// CHECK-NEXT:          <key>line</key><integer>162</integer>
1913// CHECK-NEXT:          <key>col</key><integer>47</integer>
1914// CHECK-NEXT:          <key>file</key><integer>0</integer>
1915// CHECK-NEXT:         </dict>
1916// CHECK-NEXT:        </array>
1917// CHECK-NEXT:      </array>
1918// CHECK-NEXT:      <key>depth</key><integer>0</integer>
1919// CHECK-NEXT:      <key>extended_message</key>
1920// CHECK-NEXT:      <string>Object autoreleased</string>
1921// CHECK-NEXT:      <key>message</key>
1922// CHECK-NEXT:      <string>Object autoreleased</string>
1923// CHECK-NEXT:     </dict>
1924// CHECK-NEXT:     <dict>
1925// CHECK-NEXT:      <key>kind</key><string>control</string>
1926// CHECK-NEXT:      <key>edges</key>
1927// CHECK-NEXT:       <array>
1928// CHECK-NEXT:        <dict>
1929// CHECK-NEXT:         <key>start</key>
1930// CHECK-NEXT:          <array>
1931// CHECK-NEXT:           <dict>
1932// CHECK-NEXT:            <key>line</key><integer>162</integer>
1933// CHECK-NEXT:            <key>col</key><integer>10</integer>
1934// CHECK-NEXT:            <key>file</key><integer>0</integer>
1935// CHECK-NEXT:           </dict>
1936// CHECK-NEXT:           <dict>
1937// CHECK-NEXT:            <key>line</key><integer>162</integer>
1938// CHECK-NEXT:            <key>col</key><integer>10</integer>
1939// CHECK-NEXT:            <key>file</key><integer>0</integer>
1940// CHECK-NEXT:           </dict>
1941// CHECK-NEXT:          </array>
1942// CHECK-NEXT:         <key>end</key>
1943// CHECK-NEXT:          <array>
1944// CHECK-NEXT:           <dict>
1945// CHECK-NEXT:            <key>line</key><integer>167</integer>
1946// CHECK-NEXT:            <key>col</key><integer>3</integer>
1947// CHECK-NEXT:            <key>file</key><integer>0</integer>
1948// CHECK-NEXT:           </dict>
1949// CHECK-NEXT:           <dict>
1950// CHECK-NEXT:            <key>line</key><integer>167</integer>
1951// CHECK-NEXT:            <key>col</key><integer>15</integer>
1952// CHECK-NEXT:            <key>file</key><integer>0</integer>
1953// CHECK-NEXT:           </dict>
1954// CHECK-NEXT:          </array>
1955// CHECK-NEXT:        </dict>
1956// CHECK-NEXT:       </array>
1957// CHECK-NEXT:     </dict>
1958// CHECK-NEXT:     <dict>
1959// CHECK-NEXT:      <key>kind</key><string>control</string>
1960// CHECK-NEXT:      <key>edges</key>
1961// CHECK-NEXT:       <array>
1962// CHECK-NEXT:        <dict>
1963// CHECK-NEXT:         <key>start</key>
1964// CHECK-NEXT:          <array>
1965// CHECK-NEXT:           <dict>
1966// CHECK-NEXT:            <key>line</key><integer>167</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>167</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:         <key>end</key>
1977// CHECK-NEXT:          <array>
1978// CHECK-NEXT:           <dict>
1979// CHECK-NEXT:            <key>line</key><integer>169</integer>
1980// CHECK-NEXT:            <key>col</key><integer>3</integer>
1981// CHECK-NEXT:            <key>file</key><integer>0</integer>
1982// CHECK-NEXT:           </dict>
1983// CHECK-NEXT:           <dict>
1984// CHECK-NEXT:            <key>line</key><integer>169</integer>
1985// CHECK-NEXT:            <key>col</key><integer>8</integer>
1986// CHECK-NEXT:            <key>file</key><integer>0</integer>
1987// CHECK-NEXT:           </dict>
1988// CHECK-NEXT:          </array>
1989// CHECK-NEXT:        </dict>
1990// CHECK-NEXT:       </array>
1991// CHECK-NEXT:     </dict>
1992// CHECK-NEXT:     <dict>
1993// CHECK-NEXT:      <key>kind</key><string>event</string>
1994// CHECK-NEXT:      <key>location</key>
1995// CHECK-NEXT:      <dict>
1996// CHECK-NEXT:       <key>line</key><integer>169</integer>
1997// CHECK-NEXT:       <key>col</key><integer>3</integer>
1998// CHECK-NEXT:       <key>file</key><integer>0</integer>
1999// CHECK-NEXT:      </dict>
2000// CHECK-NEXT:      <key>ranges</key>
2001// CHECK-NEXT:      <array>
2002// CHECK-NEXT:        <array>
2003// CHECK-NEXT:         <dict>
2004// CHECK-NEXT:          <key>line</key><integer>169</integer>
2005// CHECK-NEXT:          <key>col</key><integer>3</integer>
2006// CHECK-NEXT:          <key>file</key><integer>0</integer>
2007// CHECK-NEXT:         </dict>
2008// CHECK-NEXT:         <dict>
2009// CHECK-NEXT:          <key>line</key><integer>169</integer>
2010// CHECK-NEXT:          <key>col</key><integer>10</integer>
2011// CHECK-NEXT:          <key>file</key><integer>0</integer>
2012// CHECK-NEXT:         </dict>
2013// CHECK-NEXT:        </array>
2014// CHECK-NEXT:      </array>
2015// CHECK-NEXT:      <key>depth</key><integer>0</integer>
2016// CHECK-NEXT:      <key>extended_message</key>
2017// CHECK-NEXT:      <string>Object was autoreleased 2 times but the object has a +0 retain count</string>
2018// CHECK-NEXT:      <key>message</key>
2019// CHECK-NEXT:      <string>Object was autoreleased 2 times but the object has a +0 retain count</string>
2020// CHECK-NEXT:     </dict>
2021// CHECK-NEXT:    </array>
2022// CHECK-NEXT:    <key>description</key><string>Object autoreleased too many times</string>
2023// CHECK-NEXT:    <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
2024// CHECK-NEXT:    <key>type</key><string>Object autoreleased too many times</string>
2025// CHECK-NEXT:    <key>check_name</key><string>osx.cocoa.RetainCount</string>
2026// CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
2027// CHECK-NEXT:   <key>issue_context</key><string>testAutoreleaseTakesEffectInDispatch</string>
2028// CHECK-NEXT:   <key>issue_hash</key><string>11</string>
2029// CHECK-NEXT:   <key>location</key>
2030// CHECK-NEXT:   <dict>
2031// CHECK-NEXT:    <key>line</key><integer>169</integer>
2032// CHECK-NEXT:    <key>col</key><integer>3</integer>
2033// CHECK-NEXT:    <key>file</key><integer>0</integer>
2034// CHECK-NEXT:   </dict>
2035// CHECK-NEXT:   </dict>
2036// CHECK-NEXT:  </array>
2037