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>issue_context_kind</key><string>function</string>
579// CHECK-NEXT:   <key>issue_context</key><string>testReturnZeroIfNil</string>
580// CHECK-NEXT:   <key>issue_hash</key><string>1</string>
581// CHECK-NEXT:   <key>location</key>
582// CHECK-NEXT:   <dict>
583// CHECK-NEXT:    <key>line</key><integer>79</integer>
584// CHECK-NEXT:    <key>col</key><integer>20</integer>
585// CHECK-NEXT:    <key>file</key><integer>0</integer>
586// CHECK-NEXT:   </dict>
587// CHECK-NEXT:   </dict>
588// CHECK-NEXT:   <dict>
589// CHECK-NEXT:    <key>path</key>
590// CHECK-NEXT:    <array>
591// CHECK-NEXT:     <dict>
592// CHECK-NEXT:      <key>kind</key><string>control</string>
593// CHECK-NEXT:      <key>edges</key>
594// CHECK-NEXT:       <array>
595// CHECK-NEXT:        <dict>
596// CHECK-NEXT:         <key>start</key>
597// CHECK-NEXT:          <array>
598// CHECK-NEXT:           <dict>
599// CHECK-NEXT:            <key>line</key><integer>88</integer>
600// CHECK-NEXT:            <key>col</key><integer>3</integer>
601// CHECK-NEXT:            <key>file</key><integer>0</integer>
602// CHECK-NEXT:           </dict>
603// CHECK-NEXT:           <dict>
604// CHECK-NEXT:            <key>line</key><integer>88</integer>
605// CHECK-NEXT:            <key>col</key><integer>8</integer>
606// CHECK-NEXT:            <key>file</key><integer>0</integer>
607// CHECK-NEXT:           </dict>
608// CHECK-NEXT:          </array>
609// CHECK-NEXT:         <key>end</key>
610// CHECK-NEXT:          <array>
611// CHECK-NEXT:           <dict>
612// CHECK-NEXT:            <key>line</key><integer>94</integer>
613// CHECK-NEXT:            <key>col</key><integer>3</integer>
614// CHECK-NEXT:            <key>file</key><integer>0</integer>
615// CHECK-NEXT:           </dict>
616// CHECK-NEXT:           <dict>
617// CHECK-NEXT:            <key>line</key><integer>94</integer>
618// CHECK-NEXT:            <key>col</key><integer>15</integer>
619// CHECK-NEXT:            <key>file</key><integer>0</integer>
620// CHECK-NEXT:           </dict>
621// CHECK-NEXT:          </array>
622// CHECK-NEXT:        </dict>
623// CHECK-NEXT:       </array>
624// CHECK-NEXT:     </dict>
625// CHECK-NEXT:     <dict>
626// CHECK-NEXT:      <key>kind</key><string>event</string>
627// CHECK-NEXT:      <key>location</key>
628// CHECK-NEXT:      <dict>
629// CHECK-NEXT:       <key>line</key><integer>94</integer>
630// CHECK-NEXT:       <key>col</key><integer>3</integer>
631// CHECK-NEXT:       <key>file</key><integer>0</integer>
632// CHECK-NEXT:      </dict>
633// CHECK-NEXT:      <key>ranges</key>
634// CHECK-NEXT:      <array>
635// CHECK-NEXT:        <array>
636// CHECK-NEXT:         <dict>
637// CHECK-NEXT:          <key>line</key><integer>94</integer>
638// CHECK-NEXT:          <key>col</key><integer>3</integer>
639// CHECK-NEXT:          <key>file</key><integer>0</integer>
640// CHECK-NEXT:         </dict>
641// CHECK-NEXT:         <dict>
642// CHECK-NEXT:          <key>line</key><integer>99</integer>
643// CHECK-NEXT:          <key>col</key><integer>4</integer>
644// CHECK-NEXT:          <key>file</key><integer>0</integer>
645// CHECK-NEXT:         </dict>
646// CHECK-NEXT:        </array>
647// CHECK-NEXT:      </array>
648// CHECK-NEXT:      <key>depth</key><integer>0</integer>
649// CHECK-NEXT:      <key>extended_message</key>
650// CHECK-NEXT:      <string>Calling &apos;dispatch_sync&apos;</string>
651// CHECK-NEXT:      <key>message</key>
652// CHECK-NEXT:      <string>Calling &apos;dispatch_sync&apos;</string>
653// CHECK-NEXT:     </dict>
654// CHECK-NEXT:     <dict>
655// CHECK-NEXT:      <key>kind</key><string>event</string>
656// CHECK-NEXT:      <key>location</key>
657// CHECK-NEXT:      <dict>
658// CHECK-NEXT:       <key>line</key><integer>94</integer>
659// CHECK-NEXT:       <key>col</key><integer>3</integer>
660// CHECK-NEXT:       <key>file</key><integer>0</integer>
661// CHECK-NEXT:      </dict>
662// CHECK-NEXT:      <key>ranges</key>
663// CHECK-NEXT:      <array>
664// CHECK-NEXT:        <array>
665// CHECK-NEXT:         <dict>
666// CHECK-NEXT:          <key>line</key><integer>94</integer>
667// CHECK-NEXT:          <key>col</key><integer>3</integer>
668// CHECK-NEXT:          <key>file</key><integer>0</integer>
669// CHECK-NEXT:         </dict>
670// CHECK-NEXT:         <dict>
671// CHECK-NEXT:          <key>line</key><integer>99</integer>
672// CHECK-NEXT:          <key>col</key><integer>4</integer>
673// CHECK-NEXT:          <key>file</key><integer>0</integer>
674// CHECK-NEXT:         </dict>
675// CHECK-NEXT:        </array>
676// CHECK-NEXT:      </array>
677// CHECK-NEXT:      <key>depth</key><integer>1</integer>
678// CHECK-NEXT:      <key>extended_message</key>
679// CHECK-NEXT:      <string>Calling anonymous block</string>
680// CHECK-NEXT:      <key>message</key>
681// CHECK-NEXT:      <string>Calling anonymous block</string>
682// CHECK-NEXT:     </dict>
683// CHECK-NEXT:     <dict>
684// CHECK-NEXT:      <key>kind</key><string>event</string>
685// CHECK-NEXT:      <key>location</key>
686// CHECK-NEXT:      <dict>
687// CHECK-NEXT:       <key>line</key><integer>94</integer>
688// CHECK-NEXT:       <key>col</key><integer>30</integer>
689// CHECK-NEXT:       <key>file</key><integer>0</integer>
690// CHECK-NEXT:      </dict>
691// CHECK-NEXT:      <key>depth</key><integer>2</integer>
692// CHECK-NEXT:      <key>extended_message</key>
693// CHECK-NEXT:      <string>Entered call from &apos;dispatch_sync&apos;</string>
694// CHECK-NEXT:      <key>message</key>
695// CHECK-NEXT:      <string>Entered call from &apos;dispatch_sync&apos;</string>
696// CHECK-NEXT:     </dict>
697// CHECK-NEXT:     <dict>
698// CHECK-NEXT:      <key>kind</key><string>control</string>
699// CHECK-NEXT:      <key>edges</key>
700// CHECK-NEXT:       <array>
701// CHECK-NEXT:        <dict>
702// CHECK-NEXT:         <key>start</key>
703// CHECK-NEXT:          <array>
704// CHECK-NEXT:           <dict>
705// CHECK-NEXT:            <key>line</key><integer>94</integer>
706// CHECK-NEXT:            <key>col</key><integer>30</integer>
707// CHECK-NEXT:            <key>file</key><integer>0</integer>
708// CHECK-NEXT:           </dict>
709// CHECK-NEXT:           <dict>
710// CHECK-NEXT:            <key>line</key><integer>94</integer>
711// CHECK-NEXT:            <key>col</key><integer>30</integer>
712// CHECK-NEXT:            <key>file</key><integer>0</integer>
713// CHECK-NEXT:           </dict>
714// CHECK-NEXT:          </array>
715// CHECK-NEXT:         <key>end</key>
716// CHECK-NEXT:          <array>
717// CHECK-NEXT:           <dict>
718// CHECK-NEXT:            <key>line</key><integer>97</integer>
719// CHECK-NEXT:            <key>col</key><integer>5</integer>
720// CHECK-NEXT:            <key>file</key><integer>0</integer>
721// CHECK-NEXT:           </dict>
722// CHECK-NEXT:           <dict>
723// CHECK-NEXT:            <key>line</key><integer>97</integer>
724// CHECK-NEXT:            <key>col</key><integer>5</integer>
725// CHECK-NEXT:            <key>file</key><integer>0</integer>
726// CHECK-NEXT:           </dict>
727// CHECK-NEXT:          </array>
728// CHECK-NEXT:        </dict>
729// CHECK-NEXT:       </array>
730// CHECK-NEXT:     </dict>
731// CHECK-NEXT:     <dict>
732// CHECK-NEXT:      <key>kind</key><string>event</string>
733// CHECK-NEXT:      <key>location</key>
734// CHECK-NEXT:      <dict>
735// CHECK-NEXT:       <key>line</key><integer>97</integer>
736// CHECK-NEXT:       <key>col</key><integer>5</integer>
737// CHECK-NEXT:       <key>file</key><integer>0</integer>
738// CHECK-NEXT:      </dict>
739// CHECK-NEXT:      <key>ranges</key>
740// CHECK-NEXT:      <array>
741// CHECK-NEXT:        <array>
742// CHECK-NEXT:         <dict>
743// CHECK-NEXT:          <key>line</key><integer>97</integer>
744// CHECK-NEXT:          <key>col</key><integer>5</integer>
745// CHECK-NEXT:          <key>file</key><integer>0</integer>
746// CHECK-NEXT:         </dict>
747// CHECK-NEXT:         <dict>
748// CHECK-NEXT:          <key>line</key><integer>97</integer>
749// CHECK-NEXT:          <key>col</key><integer>9</integer>
750// CHECK-NEXT:          <key>file</key><integer>0</integer>
751// CHECK-NEXT:         </dict>
752// CHECK-NEXT:        </array>
753// CHECK-NEXT:      </array>
754// CHECK-NEXT:      <key>depth</key><integer>2</integer>
755// CHECK-NEXT:      <key>extended_message</key>
756// CHECK-NEXT:      <string>The value 0 is assigned to &apos;x&apos;</string>
757// CHECK-NEXT:      <key>message</key>
758// CHECK-NEXT:      <string>The value 0 is assigned to &apos;x&apos;</string>
759// CHECK-NEXT:     </dict>
760// CHECK-NEXT:     <dict>
761// CHECK-NEXT:      <key>kind</key><string>event</string>
762// CHECK-NEXT:      <key>location</key>
763// CHECK-NEXT:      <dict>
764// CHECK-NEXT:       <key>line</key><integer>94</integer>
765// CHECK-NEXT:       <key>col</key><integer>3</integer>
766// CHECK-NEXT:       <key>file</key><integer>0</integer>
767// CHECK-NEXT:      </dict>
768// CHECK-NEXT:      <key>ranges</key>
769// CHECK-NEXT:      <array>
770// CHECK-NEXT:        <array>
771// CHECK-NEXT:         <dict>
772// CHECK-NEXT:          <key>line</key><integer>94</integer>
773// CHECK-NEXT:          <key>col</key><integer>3</integer>
774// CHECK-NEXT:          <key>file</key><integer>0</integer>
775// CHECK-NEXT:         </dict>
776// CHECK-NEXT:         <dict>
777// CHECK-NEXT:          <key>line</key><integer>99</integer>
778// CHECK-NEXT:          <key>col</key><integer>4</integer>
779// CHECK-NEXT:          <key>file</key><integer>0</integer>
780// CHECK-NEXT:         </dict>
781// CHECK-NEXT:        </array>
782// CHECK-NEXT:      </array>
783// CHECK-NEXT:      <key>depth</key><integer>1</integer>
784// CHECK-NEXT:      <key>extended_message</key>
785// CHECK-NEXT:      <string>Returning to caller</string>
786// CHECK-NEXT:      <key>message</key>
787// CHECK-NEXT:      <string>Returning to caller</string>
788// CHECK-NEXT:     </dict>
789// CHECK-NEXT:     <dict>
790// CHECK-NEXT:      <key>kind</key><string>event</string>
791// CHECK-NEXT:      <key>location</key>
792// CHECK-NEXT:      <dict>
793// CHECK-NEXT:       <key>line</key><integer>94</integer>
794// CHECK-NEXT:       <key>col</key><integer>3</integer>
795// CHECK-NEXT:       <key>file</key><integer>0</integer>
796// CHECK-NEXT:      </dict>
797// CHECK-NEXT:      <key>ranges</key>
798// CHECK-NEXT:      <array>
799// CHECK-NEXT:        <array>
800// CHECK-NEXT:         <dict>
801// CHECK-NEXT:          <key>line</key><integer>94</integer>
802// CHECK-NEXT:          <key>col</key><integer>3</integer>
803// CHECK-NEXT:          <key>file</key><integer>0</integer>
804// CHECK-NEXT:         </dict>
805// CHECK-NEXT:         <dict>
806// CHECK-NEXT:          <key>line</key><integer>99</integer>
807// CHECK-NEXT:          <key>col</key><integer>4</integer>
808// CHECK-NEXT:          <key>file</key><integer>0</integer>
809// CHECK-NEXT:         </dict>
810// CHECK-NEXT:        </array>
811// CHECK-NEXT:      </array>
812// CHECK-NEXT:      <key>depth</key><integer>0</integer>
813// CHECK-NEXT:      <key>extended_message</key>
814// CHECK-NEXT:      <string>Returning from &apos;dispatch_sync&apos;</string>
815// CHECK-NEXT:      <key>message</key>
816// CHECK-NEXT:      <string>Returning from &apos;dispatch_sync&apos;</string>
817// CHECK-NEXT:     </dict>
818// CHECK-NEXT:     <dict>
819// CHECK-NEXT:      <key>kind</key><string>control</string>
820// CHECK-NEXT:      <key>edges</key>
821// CHECK-NEXT:       <array>
822// CHECK-NEXT:        <dict>
823// CHECK-NEXT:         <key>start</key>
824// CHECK-NEXT:          <array>
825// CHECK-NEXT:           <dict>
826// CHECK-NEXT:            <key>line</key><integer>94</integer>
827// CHECK-NEXT:            <key>col</key><integer>3</integer>
828// CHECK-NEXT:            <key>file</key><integer>0</integer>
829// CHECK-NEXT:           </dict>
830// CHECK-NEXT:           <dict>
831// CHECK-NEXT:            <key>line</key><integer>94</integer>
832// CHECK-NEXT:            <key>col</key><integer>15</integer>
833// CHECK-NEXT:            <key>file</key><integer>0</integer>
834// CHECK-NEXT:           </dict>
835// CHECK-NEXT:          </array>
836// CHECK-NEXT:         <key>end</key>
837// CHECK-NEXT:          <array>
838// CHECK-NEXT:           <dict>
839// CHECK-NEXT:            <key>line</key><integer>101</integer>
840// CHECK-NEXT:            <key>col</key><integer>12</integer>
841// CHECK-NEXT:            <key>file</key><integer>0</integer>
842// CHECK-NEXT:           </dict>
843// CHECK-NEXT:           <dict>
844// CHECK-NEXT:            <key>line</key><integer>101</integer>
845// CHECK-NEXT:            <key>col</key><integer>12</integer>
846// CHECK-NEXT:            <key>file</key><integer>0</integer>
847// CHECK-NEXT:           </dict>
848// CHECK-NEXT:          </array>
849// CHECK-NEXT:        </dict>
850// CHECK-NEXT:       </array>
851// CHECK-NEXT:     </dict>
852// CHECK-NEXT:     <dict>
853// CHECK-NEXT:      <key>kind</key><string>event</string>
854// CHECK-NEXT:      <key>location</key>
855// CHECK-NEXT:      <dict>
856// CHECK-NEXT:       <key>line</key><integer>101</integer>
857// CHECK-NEXT:       <key>col</key><integer>12</integer>
858// CHECK-NEXT:       <key>file</key><integer>0</integer>
859// CHECK-NEXT:      </dict>
860// CHECK-NEXT:      <key>ranges</key>
861// CHECK-NEXT:      <array>
862// CHECK-NEXT:        <array>
863// CHECK-NEXT:         <dict>
864// CHECK-NEXT:          <key>line</key><integer>101</integer>
865// CHECK-NEXT:          <key>col</key><integer>10</integer>
866// CHECK-NEXT:          <key>file</key><integer>0</integer>
867// CHECK-NEXT:         </dict>
868// CHECK-NEXT:         <dict>
869// CHECK-NEXT:          <key>line</key><integer>101</integer>
870// CHECK-NEXT:          <key>col</key><integer>14</integer>
871// CHECK-NEXT:          <key>file</key><integer>0</integer>
872// CHECK-NEXT:         </dict>
873// CHECK-NEXT:        </array>
874// CHECK-NEXT:      </array>
875// CHECK-NEXT:      <key>depth</key><integer>0</integer>
876// CHECK-NEXT:      <key>extended_message</key>
877// CHECK-NEXT:      <string>Division by zero</string>
878// CHECK-NEXT:      <key>message</key>
879// CHECK-NEXT:      <string>Division by zero</string>
880// CHECK-NEXT:     </dict>
881// CHECK-NEXT:    </array>
882// CHECK-NEXT:    <key>description</key><string>Division by zero</string>
883// CHECK-NEXT:    <key>category</key><string>Logic error</string>
884// CHECK-NEXT:    <key>type</key><string>Division by zero</string>
885// CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
886// CHECK-NEXT:   <key>issue_context</key><string>testDispatchSyncInlining</string>
887// CHECK-NEXT:   <key>issue_hash</key><string>14</string>
888// CHECK-NEXT:   <key>location</key>
889// CHECK-NEXT:   <dict>
890// CHECK-NEXT:    <key>line</key><integer>101</integer>
891// CHECK-NEXT:    <key>col</key><integer>12</integer>
892// CHECK-NEXT:    <key>file</key><integer>0</integer>
893// CHECK-NEXT:   </dict>
894// CHECK-NEXT:   </dict>
895// CHECK-NEXT:   <dict>
896// CHECK-NEXT:    <key>path</key>
897// CHECK-NEXT:    <array>
898// CHECK-NEXT:     <dict>
899// CHECK-NEXT:      <key>kind</key><string>control</string>
900// CHECK-NEXT:      <key>edges</key>
901// CHECK-NEXT:       <array>
902// CHECK-NEXT:        <dict>
903// CHECK-NEXT:         <key>start</key>
904// CHECK-NEXT:          <array>
905// CHECK-NEXT:           <dict>
906// CHECK-NEXT:            <key>line</key><integer>109</integer>
907// CHECK-NEXT:            <key>col</key><integer>3</integer>
908// CHECK-NEXT:            <key>file</key><integer>0</integer>
909// CHECK-NEXT:           </dict>
910// CHECK-NEXT:           <dict>
911// CHECK-NEXT:            <key>line</key><integer>109</integer>
912// CHECK-NEXT:            <key>col</key><integer>8</integer>
913// CHECK-NEXT:            <key>file</key><integer>0</integer>
914// CHECK-NEXT:           </dict>
915// CHECK-NEXT:          </array>
916// CHECK-NEXT:         <key>end</key>
917// CHECK-NEXT:          <array>
918// CHECK-NEXT:           <dict>
919// CHECK-NEXT:            <key>line</key><integer>114</integer>
920// CHECK-NEXT:            <key>col</key><integer>3</integer>
921// CHECK-NEXT:            <key>file</key><integer>0</integer>
922// CHECK-NEXT:           </dict>
923// CHECK-NEXT:           <dict>
924// CHECK-NEXT:            <key>line</key><integer>114</integer>
925// CHECK-NEXT:            <key>col</key><integer>15</integer>
926// CHECK-NEXT:            <key>file</key><integer>0</integer>
927// CHECK-NEXT:           </dict>
928// CHECK-NEXT:          </array>
929// CHECK-NEXT:        </dict>
930// CHECK-NEXT:       </array>
931// CHECK-NEXT:     </dict>
932// CHECK-NEXT:     <dict>
933// CHECK-NEXT:      <key>kind</key><string>event</string>
934// CHECK-NEXT:      <key>location</key>
935// CHECK-NEXT:      <dict>
936// CHECK-NEXT:       <key>line</key><integer>114</integer>
937// CHECK-NEXT:       <key>col</key><integer>3</integer>
938// CHECK-NEXT:       <key>file</key><integer>0</integer>
939// CHECK-NEXT:      </dict>
940// CHECK-NEXT:      <key>ranges</key>
941// CHECK-NEXT:      <array>
942// CHECK-NEXT:        <array>
943// CHECK-NEXT:         <dict>
944// CHECK-NEXT:          <key>line</key><integer>114</integer>
945// CHECK-NEXT:          <key>col</key><integer>3</integer>
946// CHECK-NEXT:          <key>file</key><integer>0</integer>
947// CHECK-NEXT:         </dict>
948// CHECK-NEXT:         <dict>
949// CHECK-NEXT:          <key>line</key><integer>120</integer>
950// CHECK-NEXT:          <key>col</key><integer>4</integer>
951// CHECK-NEXT:          <key>file</key><integer>0</integer>
952// CHECK-NEXT:         </dict>
953// CHECK-NEXT:        </array>
954// CHECK-NEXT:      </array>
955// CHECK-NEXT:      <key>depth</key><integer>0</integer>
956// CHECK-NEXT:      <key>extended_message</key>
957// CHECK-NEXT:      <string>Calling &apos;dispatch_sync&apos;</string>
958// CHECK-NEXT:      <key>message</key>
959// CHECK-NEXT:      <string>Calling &apos;dispatch_sync&apos;</string>
960// CHECK-NEXT:     </dict>
961// CHECK-NEXT:     <dict>
962// CHECK-NEXT:      <key>kind</key><string>event</string>
963// CHECK-NEXT:      <key>location</key>
964// CHECK-NEXT:      <dict>
965// CHECK-NEXT:       <key>line</key><integer>114</integer>
966// CHECK-NEXT:       <key>col</key><integer>3</integer>
967// CHECK-NEXT:       <key>file</key><integer>0</integer>
968// CHECK-NEXT:      </dict>
969// CHECK-NEXT:      <key>ranges</key>
970// CHECK-NEXT:      <array>
971// CHECK-NEXT:        <array>
972// CHECK-NEXT:         <dict>
973// CHECK-NEXT:          <key>line</key><integer>114</integer>
974// CHECK-NEXT:          <key>col</key><integer>3</integer>
975// CHECK-NEXT:          <key>file</key><integer>0</integer>
976// CHECK-NEXT:         </dict>
977// CHECK-NEXT:         <dict>
978// CHECK-NEXT:          <key>line</key><integer>120</integer>
979// CHECK-NEXT:          <key>col</key><integer>4</integer>
980// CHECK-NEXT:          <key>file</key><integer>0</integer>
981// CHECK-NEXT:         </dict>
982// CHECK-NEXT:        </array>
983// CHECK-NEXT:      </array>
984// CHECK-NEXT:      <key>depth</key><integer>1</integer>
985// CHECK-NEXT:      <key>extended_message</key>
986// CHECK-NEXT:      <string>Calling anonymous block</string>
987// CHECK-NEXT:      <key>message</key>
988// CHECK-NEXT:      <string>Calling anonymous block</string>
989// CHECK-NEXT:     </dict>
990// CHECK-NEXT:     <dict>
991// CHECK-NEXT:      <key>kind</key><string>event</string>
992// CHECK-NEXT:      <key>location</key>
993// CHECK-NEXT:      <dict>
994// CHECK-NEXT:       <key>line</key><integer>114</integer>
995// CHECK-NEXT:       <key>col</key><integer>30</integer>
996// CHECK-NEXT:       <key>file</key><integer>0</integer>
997// CHECK-NEXT:      </dict>
998// CHECK-NEXT:      <key>depth</key><integer>2</integer>
999// CHECK-NEXT:      <key>extended_message</key>
1000// CHECK-NEXT:      <string>Entered call from &apos;dispatch_sync&apos;</string>
1001// CHECK-NEXT:      <key>message</key>
1002// CHECK-NEXT:      <string>Entered call from &apos;dispatch_sync&apos;</string>
1003// CHECK-NEXT:     </dict>
1004// CHECK-NEXT:     <dict>
1005// CHECK-NEXT:      <key>kind</key><string>control</string>
1006// CHECK-NEXT:      <key>edges</key>
1007// CHECK-NEXT:       <array>
1008// CHECK-NEXT:        <dict>
1009// CHECK-NEXT:         <key>start</key>
1010// CHECK-NEXT:          <array>
1011// CHECK-NEXT:           <dict>
1012// CHECK-NEXT:            <key>line</key><integer>114</integer>
1013// CHECK-NEXT:            <key>col</key><integer>30</integer>
1014// CHECK-NEXT:            <key>file</key><integer>0</integer>
1015// CHECK-NEXT:           </dict>
1016// CHECK-NEXT:           <dict>
1017// CHECK-NEXT:            <key>line</key><integer>114</integer>
1018// CHECK-NEXT:            <key>col</key><integer>30</integer>
1019// CHECK-NEXT:            <key>file</key><integer>0</integer>
1020// CHECK-NEXT:           </dict>
1021// CHECK-NEXT:          </array>
1022// CHECK-NEXT:         <key>end</key>
1023// CHECK-NEXT:          <array>
1024// CHECK-NEXT:           <dict>
1025// CHECK-NEXT:            <key>line</key><integer>116</integer>
1026// CHECK-NEXT:            <key>col</key><integer>5</integer>
1027// CHECK-NEXT:            <key>file</key><integer>0</integer>
1028// CHECK-NEXT:           </dict>
1029// CHECK-NEXT:           <dict>
1030// CHECK-NEXT:            <key>line</key><integer>116</integer>
1031// CHECK-NEXT:            <key>col</key><integer>7</integer>
1032// CHECK-NEXT:            <key>file</key><integer>0</integer>
1033// CHECK-NEXT:           </dict>
1034// CHECK-NEXT:          </array>
1035// CHECK-NEXT:        </dict>
1036// CHECK-NEXT:       </array>
1037// CHECK-NEXT:     </dict>
1038// CHECK-NEXT:     <dict>
1039// CHECK-NEXT:      <key>kind</key><string>event</string>
1040// CHECK-NEXT:      <key>location</key>
1041// CHECK-NEXT:      <dict>
1042// CHECK-NEXT:       <key>line</key><integer>116</integer>
1043// CHECK-NEXT:       <key>col</key><integer>5</integer>
1044// CHECK-NEXT:       <key>file</key><integer>0</integer>
1045// CHECK-NEXT:      </dict>
1046// CHECK-NEXT:      <key>ranges</key>
1047// CHECK-NEXT:      <array>
1048// CHECK-NEXT:        <array>
1049// CHECK-NEXT:         <dict>
1050// CHECK-NEXT:          <key>line</key><integer>116</integer>
1051// CHECK-NEXT:          <key>col</key><integer>5</integer>
1052// CHECK-NEXT:          <key>file</key><integer>0</integer>
1053// CHECK-NEXT:         </dict>
1054// CHECK-NEXT:         <dict>
1055// CHECK-NEXT:          <key>line</key><integer>116</integer>
1056// CHECK-NEXT:          <key>col</key><integer>9</integer>
1057// CHECK-NEXT:          <key>file</key><integer>0</integer>
1058// CHECK-NEXT:         </dict>
1059// CHECK-NEXT:        </array>
1060// CHECK-NEXT:      </array>
1061// CHECK-NEXT:      <key>depth</key><integer>2</integer>
1062// CHECK-NEXT:      <key>extended_message</key>
1063// CHECK-NEXT:      <string>&apos;x&apos; declared without an initial value</string>
1064// CHECK-NEXT:      <key>message</key>
1065// CHECK-NEXT:      <string>&apos;x&apos; declared without an initial value</string>
1066// CHECK-NEXT:     </dict>
1067// CHECK-NEXT:     <dict>
1068// CHECK-NEXT:      <key>kind</key><string>control</string>
1069// CHECK-NEXT:      <key>edges</key>
1070// CHECK-NEXT:       <array>
1071// CHECK-NEXT:        <dict>
1072// CHECK-NEXT:         <key>start</key>
1073// CHECK-NEXT:          <array>
1074// CHECK-NEXT:           <dict>
1075// CHECK-NEXT:            <key>line</key><integer>116</integer>
1076// CHECK-NEXT:            <key>col</key><integer>5</integer>
1077// CHECK-NEXT:            <key>file</key><integer>0</integer>
1078// CHECK-NEXT:           </dict>
1079// CHECK-NEXT:           <dict>
1080// CHECK-NEXT:            <key>line</key><integer>116</integer>
1081// CHECK-NEXT:            <key>col</key><integer>7</integer>
1082// CHECK-NEXT:            <key>file</key><integer>0</integer>
1083// CHECK-NEXT:           </dict>
1084// CHECK-NEXT:          </array>
1085// CHECK-NEXT:         <key>end</key>
1086// CHECK-NEXT:          <array>
1087// CHECK-NEXT:           <dict>
1088// CHECK-NEXT:            <key>line</key><integer>118</integer>
1089// CHECK-NEXT:            <key>col</key><integer>5</integer>
1090// CHECK-NEXT:            <key>file</key><integer>0</integer>
1091// CHECK-NEXT:           </dict>
1092// CHECK-NEXT:           <dict>
1093// CHECK-NEXT:            <key>line</key><integer>118</integer>
1094// CHECK-NEXT:            <key>col</key><integer>5</integer>
1095// CHECK-NEXT:            <key>file</key><integer>0</integer>
1096// CHECK-NEXT:           </dict>
1097// CHECK-NEXT:          </array>
1098// CHECK-NEXT:        </dict>
1099// CHECK-NEXT:       </array>
1100// CHECK-NEXT:     </dict>
1101// CHECK-NEXT:     <dict>
1102// CHECK-NEXT:      <key>kind</key><string>event</string>
1103// CHECK-NEXT:      <key>location</key>
1104// CHECK-NEXT:      <dict>
1105// CHECK-NEXT:       <key>line</key><integer>118</integer>
1106// CHECK-NEXT:       <key>col</key><integer>5</integer>
1107// CHECK-NEXT:       <key>file</key><integer>0</integer>
1108// CHECK-NEXT:      </dict>
1109// CHECK-NEXT:      <key>ranges</key>
1110// CHECK-NEXT:      <array>
1111// CHECK-NEXT:        <array>
1112// CHECK-NEXT:         <dict>
1113// CHECK-NEXT:          <key>line</key><integer>118</integer>
1114// CHECK-NEXT:          <key>col</key><integer>12</integer>
1115// CHECK-NEXT:          <key>file</key><integer>0</integer>
1116// CHECK-NEXT:         </dict>
1117// CHECK-NEXT:         <dict>
1118// CHECK-NEXT:          <key>line</key><integer>118</integer>
1119// CHECK-NEXT:          <key>col</key><integer>12</integer>
1120// CHECK-NEXT:          <key>file</key><integer>0</integer>
1121// CHECK-NEXT:         </dict>
1122// CHECK-NEXT:        </array>
1123// CHECK-NEXT:      </array>
1124// CHECK-NEXT:      <key>depth</key><integer>2</integer>
1125// CHECK-NEXT:      <key>extended_message</key>
1126// CHECK-NEXT:      <string>Variable &apos;x&apos; is uninitialized when captured by block</string>
1127// CHECK-NEXT:      <key>message</key>
1128// CHECK-NEXT:      <string>Variable &apos;x&apos; is uninitialized when captured by block</string>
1129// CHECK-NEXT:     </dict>
1130// CHECK-NEXT:    </array>
1131// CHECK-NEXT:    <key>description</key><string>Variable &apos;x&apos; is uninitialized when captured by block</string>
1132// CHECK-NEXT:    <key>category</key><string>Logic error</string>
1133// CHECK-NEXT:    <key>type</key><string>uninitialized variable captured by block</string>
1134// CHECK-NEXT:   <key>location</key>
1135// CHECK-NEXT:   <dict>
1136// CHECK-NEXT:    <key>line</key><integer>118</integer>
1137// CHECK-NEXT:    <key>col</key><integer>5</integer>
1138// CHECK-NEXT:    <key>file</key><integer>0</integer>
1139// CHECK-NEXT:   </dict>
1140// CHECK-NEXT:   </dict>
1141// CHECK-NEXT:   <dict>
1142// CHECK-NEXT:    <key>path</key>
1143// CHECK-NEXT:    <array>
1144// CHECK-NEXT:     <dict>
1145// CHECK-NEXT:      <key>kind</key><string>control</string>
1146// CHECK-NEXT:      <key>edges</key>
1147// CHECK-NEXT:       <array>
1148// CHECK-NEXT:        <dict>
1149// CHECK-NEXT:         <key>start</key>
1150// CHECK-NEXT:          <array>
1151// CHECK-NEXT:           <dict>
1152// CHECK-NEXT:            <key>line</key><integer>140</integer>
1153// CHECK-NEXT:            <key>col</key><integer>3</integer>
1154// CHECK-NEXT:            <key>file</key><integer>0</integer>
1155// CHECK-NEXT:           </dict>
1156// CHECK-NEXT:           <dict>
1157// CHECK-NEXT:            <key>line</key><integer>140</integer>
1158// CHECK-NEXT:            <key>col</key><integer>4</integer>
1159// CHECK-NEXT:            <key>file</key><integer>0</integer>
1160// CHECK-NEXT:           </dict>
1161// CHECK-NEXT:          </array>
1162// CHECK-NEXT:         <key>end</key>
1163// CHECK-NEXT:          <array>
1164// CHECK-NEXT:           <dict>
1165// CHECK-NEXT:            <key>line</key><integer>144</integer>
1166// CHECK-NEXT:            <key>col</key><integer>3</integer>
1167// CHECK-NEXT:            <key>file</key><integer>0</integer>
1168// CHECK-NEXT:           </dict>
1169// CHECK-NEXT:           <dict>
1170// CHECK-NEXT:            <key>line</key><integer>144</integer>
1171// CHECK-NEXT:            <key>col</key><integer>23</integer>
1172// CHECK-NEXT:            <key>file</key><integer>0</integer>
1173// CHECK-NEXT:           </dict>
1174// CHECK-NEXT:          </array>
1175// CHECK-NEXT:        </dict>
1176// CHECK-NEXT:       </array>
1177// CHECK-NEXT:     </dict>
1178// CHECK-NEXT:     <dict>
1179// CHECK-NEXT:      <key>kind</key><string>control</string>
1180// CHECK-NEXT:      <key>edges</key>
1181// CHECK-NEXT:       <array>
1182// CHECK-NEXT:        <dict>
1183// CHECK-NEXT:         <key>start</key>
1184// CHECK-NEXT:          <array>
1185// CHECK-NEXT:           <dict>
1186// CHECK-NEXT:            <key>line</key><integer>144</integer>
1187// CHECK-NEXT:            <key>col</key><integer>3</integer>
1188// CHECK-NEXT:            <key>file</key><integer>0</integer>
1189// CHECK-NEXT:           </dict>
1190// CHECK-NEXT:           <dict>
1191// CHECK-NEXT:            <key>line</key><integer>144</integer>
1192// CHECK-NEXT:            <key>col</key><integer>23</integer>
1193// CHECK-NEXT:            <key>file</key><integer>0</integer>
1194// CHECK-NEXT:           </dict>
1195// CHECK-NEXT:          </array>
1196// CHECK-NEXT:         <key>end</key>
1197// CHECK-NEXT:          <array>
1198// CHECK-NEXT:           <dict>
1199// CHECK-NEXT:            <key>line</key><integer>144</integer>
1200// CHECK-NEXT:            <key>col</key><integer>26</integer>
1201// CHECK-NEXT:            <key>file</key><integer>0</integer>
1202// CHECK-NEXT:           </dict>
1203// CHECK-NEXT:           <dict>
1204// CHECK-NEXT:            <key>line</key><integer>144</integer>
1205// CHECK-NEXT:            <key>col</key><integer>26</integer>
1206// CHECK-NEXT:            <key>file</key><integer>0</integer>
1207// CHECK-NEXT:           </dict>
1208// CHECK-NEXT:          </array>
1209// CHECK-NEXT:        </dict>
1210// CHECK-NEXT:       </array>
1211// CHECK-NEXT:     </dict>
1212// CHECK-NEXT:     <dict>
1213// CHECK-NEXT:      <key>kind</key><string>event</string>
1214// CHECK-NEXT:      <key>location</key>
1215// CHECK-NEXT:      <dict>
1216// CHECK-NEXT:       <key>line</key><integer>144</integer>
1217// CHECK-NEXT:       <key>col</key><integer>26</integer>
1218// CHECK-NEXT:       <key>file</key><integer>0</integer>
1219// CHECK-NEXT:      </dict>
1220// CHECK-NEXT:      <key>ranges</key>
1221// CHECK-NEXT:      <array>
1222// CHECK-NEXT:        <array>
1223// CHECK-NEXT:         <dict>
1224// CHECK-NEXT:          <key>line</key><integer>144</integer>
1225// CHECK-NEXT:          <key>col</key><integer>26</integer>
1226// CHECK-NEXT:          <key>file</key><integer>0</integer>
1227// CHECK-NEXT:         </dict>
1228// CHECK-NEXT:         <dict>
1229// CHECK-NEXT:          <key>line</key><integer>144</integer>
1230// CHECK-NEXT:          <key>col</key><integer>27</integer>
1231// CHECK-NEXT:          <key>file</key><integer>0</integer>
1232// CHECK-NEXT:         </dict>
1233// CHECK-NEXT:        </array>
1234// CHECK-NEXT:      </array>
1235// CHECK-NEXT:      <key>depth</key><integer>0</integer>
1236// CHECK-NEXT:      <key>extended_message</key>
1237// CHECK-NEXT:      <string>&apos;getPtr&apos; not called because the receiver is nil</string>
1238// CHECK-NEXT:      <key>message</key>
1239// CHECK-NEXT:      <string>&apos;getPtr&apos; not called because the receiver is nil</string>
1240// CHECK-NEXT:     </dict>
1241// CHECK-NEXT:     <dict>
1242// CHECK-NEXT:      <key>kind</key><string>control</string>
1243// CHECK-NEXT:      <key>edges</key>
1244// CHECK-NEXT:       <array>
1245// CHECK-NEXT:        <dict>
1246// CHECK-NEXT:         <key>start</key>
1247// CHECK-NEXT:          <array>
1248// CHECK-NEXT:           <dict>
1249// CHECK-NEXT:            <key>line</key><integer>144</integer>
1250// CHECK-NEXT:            <key>col</key><integer>26</integer>
1251// CHECK-NEXT:            <key>file</key><integer>0</integer>
1252// CHECK-NEXT:           </dict>
1253// CHECK-NEXT:           <dict>
1254// CHECK-NEXT:            <key>line</key><integer>144</integer>
1255// CHECK-NEXT:            <key>col</key><integer>26</integer>
1256// CHECK-NEXT:            <key>file</key><integer>0</integer>
1257// CHECK-NEXT:           </dict>
1258// CHECK-NEXT:          </array>
1259// CHECK-NEXT:         <key>end</key>
1260// CHECK-NEXT:          <array>
1261// CHECK-NEXT:           <dict>
1262// CHECK-NEXT:            <key>line</key><integer>144</integer>
1263// CHECK-NEXT:            <key>col</key><integer>25</integer>
1264// CHECK-NEXT:            <key>file</key><integer>0</integer>
1265// CHECK-NEXT:           </dict>
1266// CHECK-NEXT:           <dict>
1267// CHECK-NEXT:            <key>line</key><integer>144</integer>
1268// CHECK-NEXT:            <key>col</key><integer>25</integer>
1269// CHECK-NEXT:            <key>file</key><integer>0</integer>
1270// CHECK-NEXT:           </dict>
1271// CHECK-NEXT:          </array>
1272// CHECK-NEXT:        </dict>
1273// CHECK-NEXT:       </array>
1274// CHECK-NEXT:     </dict>
1275// CHECK-NEXT:     <dict>
1276// CHECK-NEXT:      <key>kind</key><string>event</string>
1277// CHECK-NEXT:      <key>location</key>
1278// CHECK-NEXT:      <dict>
1279// CHECK-NEXT:       <key>line</key><integer>144</integer>
1280// CHECK-NEXT:       <key>col</key><integer>25</integer>
1281// CHECK-NEXT:       <key>file</key><integer>0</integer>
1282// CHECK-NEXT:      </dict>
1283// CHECK-NEXT:      <key>ranges</key>
1284// CHECK-NEXT:      <array>
1285// CHECK-NEXT:        <array>
1286// CHECK-NEXT:         <dict>
1287// CHECK-NEXT:          <key>line</key><integer>144</integer>
1288// CHECK-NEXT:          <key>col</key><integer>25</integer>
1289// CHECK-NEXT:          <key>file</key><integer>0</integer>
1290// CHECK-NEXT:         </dict>
1291// CHECK-NEXT:         <dict>
1292// CHECK-NEXT:          <key>line</key><integer>144</integer>
1293// CHECK-NEXT:          <key>col</key><integer>35</integer>
1294// CHECK-NEXT:          <key>file</key><integer>0</integer>
1295// CHECK-NEXT:         </dict>
1296// CHECK-NEXT:        </array>
1297// CHECK-NEXT:      </array>
1298// CHECK-NEXT:      <key>depth</key><integer>0</integer>
1299// CHECK-NEXT:      <key>extended_message</key>
1300// CHECK-NEXT:      <string>Passing null pointer value via 1st parameter &apos;x&apos;</string>
1301// CHECK-NEXT:      <key>message</key>
1302// CHECK-NEXT:      <string>Passing null pointer value via 1st parameter &apos;x&apos;</string>
1303// CHECK-NEXT:     </dict>
1304// CHECK-NEXT:     <dict>
1305// CHECK-NEXT:      <key>kind</key><string>event</string>
1306// CHECK-NEXT:      <key>location</key>
1307// CHECK-NEXT:      <dict>
1308// CHECK-NEXT:       <key>line</key><integer>144</integer>
1309// CHECK-NEXT:       <key>col</key><integer>3</integer>
1310// CHECK-NEXT:       <key>file</key><integer>0</integer>
1311// CHECK-NEXT:      </dict>
1312// CHECK-NEXT:      <key>ranges</key>
1313// CHECK-NEXT:      <array>
1314// CHECK-NEXT:        <array>
1315// CHECK-NEXT:         <dict>
1316// CHECK-NEXT:          <key>line</key><integer>144</integer>
1317// CHECK-NEXT:          <key>col</key><integer>3</integer>
1318// CHECK-NEXT:          <key>file</key><integer>0</integer>
1319// CHECK-NEXT:         </dict>
1320// CHECK-NEXT:         <dict>
1321// CHECK-NEXT:          <key>line</key><integer>144</integer>
1322// CHECK-NEXT:          <key>col</key><integer>36</integer>
1323// CHECK-NEXT:          <key>file</key><integer>0</integer>
1324// CHECK-NEXT:         </dict>
1325// CHECK-NEXT:        </array>
1326// CHECK-NEXT:      </array>
1327// CHECK-NEXT:      <key>depth</key><integer>0</integer>
1328// CHECK-NEXT:      <key>extended_message</key>
1329// CHECK-NEXT:      <string>Calling &apos;testNilReceiverHelper&apos;</string>
1330// CHECK-NEXT:      <key>message</key>
1331// CHECK-NEXT:      <string>Calling &apos;testNilReceiverHelper&apos;</string>
1332// CHECK-NEXT:     </dict>
1333// CHECK-NEXT:     <dict>
1334// CHECK-NEXT:      <key>kind</key><string>event</string>
1335// CHECK-NEXT:      <key>location</key>
1336// CHECK-NEXT:      <dict>
1337// CHECK-NEXT:       <key>line</key><integer>134</integer>
1338// CHECK-NEXT:       <key>col</key><integer>1</integer>
1339// CHECK-NEXT:       <key>file</key><integer>0</integer>
1340// CHECK-NEXT:      </dict>
1341// CHECK-NEXT:      <key>depth</key><integer>1</integer>
1342// CHECK-NEXT:      <key>extended_message</key>
1343// CHECK-NEXT:      <string>Entered call from &apos;testNilReceiver&apos;</string>
1344// CHECK-NEXT:      <key>message</key>
1345// CHECK-NEXT:      <string>Entered call from &apos;testNilReceiver&apos;</string>
1346// CHECK-NEXT:     </dict>
1347// CHECK-NEXT:     <dict>
1348// CHECK-NEXT:      <key>kind</key><string>control</string>
1349// CHECK-NEXT:      <key>edges</key>
1350// CHECK-NEXT:       <array>
1351// CHECK-NEXT:        <dict>
1352// CHECK-NEXT:         <key>start</key>
1353// CHECK-NEXT:          <array>
1354// CHECK-NEXT:           <dict>
1355// CHECK-NEXT:            <key>line</key><integer>134</integer>
1356// CHECK-NEXT:            <key>col</key><integer>1</integer>
1357// CHECK-NEXT:            <key>file</key><integer>0</integer>
1358// CHECK-NEXT:           </dict>
1359// CHECK-NEXT:           <dict>
1360// CHECK-NEXT:            <key>line</key><integer>134</integer>
1361// CHECK-NEXT:            <key>col</key><integer>4</integer>
1362// CHECK-NEXT:            <key>file</key><integer>0</integer>
1363// CHECK-NEXT:           </dict>
1364// CHECK-NEXT:          </array>
1365// CHECK-NEXT:         <key>end</key>
1366// CHECK-NEXT:          <array>
1367// CHECK-NEXT:           <dict>
1368// CHECK-NEXT:            <key>line</key><integer>135</integer>
1369// CHECK-NEXT:            <key>col</key><integer>3</integer>
1370// CHECK-NEXT:            <key>file</key><integer>0</integer>
1371// CHECK-NEXT:           </dict>
1372// CHECK-NEXT:           <dict>
1373// CHECK-NEXT:            <key>line</key><integer>135</integer>
1374// CHECK-NEXT:            <key>col</key><integer>3</integer>
1375// CHECK-NEXT:            <key>file</key><integer>0</integer>
1376// CHECK-NEXT:           </dict>
1377// CHECK-NEXT:          </array>
1378// CHECK-NEXT:        </dict>
1379// CHECK-NEXT:       </array>
1380// CHECK-NEXT:     </dict>
1381// CHECK-NEXT:     <dict>
1382// CHECK-NEXT:      <key>kind</key><string>control</string>
1383// CHECK-NEXT:      <key>edges</key>
1384// CHECK-NEXT:       <array>
1385// CHECK-NEXT:        <dict>
1386// CHECK-NEXT:         <key>start</key>
1387// CHECK-NEXT:          <array>
1388// CHECK-NEXT:           <dict>
1389// CHECK-NEXT:            <key>line</key><integer>135</integer>
1390// CHECK-NEXT:            <key>col</key><integer>3</integer>
1391// CHECK-NEXT:            <key>file</key><integer>0</integer>
1392// CHECK-NEXT:           </dict>
1393// CHECK-NEXT:           <dict>
1394// CHECK-NEXT:            <key>line</key><integer>135</integer>
1395// CHECK-NEXT:            <key>col</key><integer>3</integer>
1396// CHECK-NEXT:            <key>file</key><integer>0</integer>
1397// CHECK-NEXT:           </dict>
1398// CHECK-NEXT:          </array>
1399// CHECK-NEXT:         <key>end</key>
1400// CHECK-NEXT:          <array>
1401// CHECK-NEXT:           <dict>
1402// CHECK-NEXT:            <key>line</key><integer>135</integer>
1403// CHECK-NEXT:            <key>col</key><integer>6</integer>
1404// CHECK-NEXT:            <key>file</key><integer>0</integer>
1405// CHECK-NEXT:           </dict>
1406// CHECK-NEXT:           <dict>
1407// CHECK-NEXT:            <key>line</key><integer>135</integer>
1408// CHECK-NEXT:            <key>col</key><integer>6</integer>
1409// CHECK-NEXT:            <key>file</key><integer>0</integer>
1410// CHECK-NEXT:           </dict>
1411// CHECK-NEXT:          </array>
1412// CHECK-NEXT:        </dict>
1413// CHECK-NEXT:       </array>
1414// CHECK-NEXT:     </dict>
1415// CHECK-NEXT:     <dict>
1416// CHECK-NEXT:      <key>kind</key><string>event</string>
1417// CHECK-NEXT:      <key>location</key>
1418// CHECK-NEXT:      <dict>
1419// CHECK-NEXT:       <key>line</key><integer>135</integer>
1420// CHECK-NEXT:       <key>col</key><integer>6</integer>
1421// CHECK-NEXT:       <key>file</key><integer>0</integer>
1422// CHECK-NEXT:      </dict>
1423// CHECK-NEXT:      <key>ranges</key>
1424// CHECK-NEXT:      <array>
1425// CHECK-NEXT:        <array>
1426// CHECK-NEXT:         <dict>
1427// CHECK-NEXT:          <key>line</key><integer>135</integer>
1428// CHECK-NEXT:          <key>col</key><integer>4</integer>
1429// CHECK-NEXT:          <key>file</key><integer>0</integer>
1430// CHECK-NEXT:         </dict>
1431// CHECK-NEXT:         <dict>
1432// CHECK-NEXT:          <key>line</key><integer>135</integer>
1433// CHECK-NEXT:          <key>col</key><integer>4</integer>
1434// CHECK-NEXT:          <key>file</key><integer>0</integer>
1435// CHECK-NEXT:         </dict>
1436// CHECK-NEXT:        </array>
1437// CHECK-NEXT:      </array>
1438// CHECK-NEXT:      <key>depth</key><integer>1</integer>
1439// CHECK-NEXT:      <key>extended_message</key>
1440// CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;x&apos;)</string>
1441// CHECK-NEXT:      <key>message</key>
1442// CHECK-NEXT:      <string>Dereference of null pointer (loaded from variable &apos;x&apos;)</string>
1443// CHECK-NEXT:     </dict>
1444// CHECK-NEXT:    </array>
1445// CHECK-NEXT:    <key>description</key><string>Dereference of null pointer (loaded from variable &apos;x&apos;)</string>
1446// CHECK-NEXT:    <key>category</key><string>Logic error</string>
1447// CHECK-NEXT:    <key>type</key><string>Dereference of null pointer</string>
1448// CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
1449// CHECK-NEXT:   <key>issue_context</key><string>testNilReceiverHelper</string>
1450// CHECK-NEXT:   <key>issue_hash</key><string>1</string>
1451// CHECK-NEXT:   <key>location</key>
1452// CHECK-NEXT:   <dict>
1453// CHECK-NEXT:    <key>line</key><integer>135</integer>
1454// CHECK-NEXT:    <key>col</key><integer>6</integer>
1455// CHECK-NEXT:    <key>file</key><integer>0</integer>
1456// CHECK-NEXT:   </dict>
1457// CHECK-NEXT:   </dict>
1458// CHECK-NEXT:   <dict>
1459// CHECK-NEXT:    <key>path</key>
1460// CHECK-NEXT:    <array>
1461// CHECK-NEXT:     <dict>
1462// CHECK-NEXT:      <key>kind</key><string>control</string>
1463// CHECK-NEXT:      <key>edges</key>
1464// CHECK-NEXT:       <array>
1465// CHECK-NEXT:        <dict>
1466// CHECK-NEXT:         <key>start</key>
1467// CHECK-NEXT:          <array>
1468// CHECK-NEXT:           <dict>
1469// CHECK-NEXT:            <key>line</key><integer>151</integer>
1470// CHECK-NEXT:            <key>col</key><integer>3</integer>
1471// CHECK-NEXT:            <key>file</key><integer>0</integer>
1472// CHECK-NEXT:           </dict>
1473// CHECK-NEXT:           <dict>
1474// CHECK-NEXT:            <key>line</key><integer>151</integer>
1475// CHECK-NEXT:            <key>col</key><integer>4</integer>
1476// CHECK-NEXT:            <key>file</key><integer>0</integer>
1477// CHECK-NEXT:           </dict>
1478// CHECK-NEXT:          </array>
1479// CHECK-NEXT:         <key>end</key>
1480// CHECK-NEXT:          <array>
1481// CHECK-NEXT:           <dict>
1482// CHECK-NEXT:            <key>line</key><integer>151</integer>
1483// CHECK-NEXT:            <key>col</key><integer>7</integer>
1484// CHECK-NEXT:            <key>file</key><integer>0</integer>
1485// CHECK-NEXT:           </dict>
1486// CHECK-NEXT:           <dict>
1487// CHECK-NEXT:            <key>line</key><integer>151</integer>
1488// CHECK-NEXT:            <key>col</key><integer>11</integer>
1489// CHECK-NEXT:            <key>file</key><integer>0</integer>
1490// CHECK-NEXT:           </dict>
1491// CHECK-NEXT:          </array>
1492// CHECK-NEXT:        </dict>
1493// CHECK-NEXT:       </array>
1494// CHECK-NEXT:     </dict>
1495// CHECK-NEXT:     <dict>
1496// CHECK-NEXT:      <key>kind</key><string>event</string>
1497// CHECK-NEXT:      <key>location</key>
1498// CHECK-NEXT:      <dict>
1499// CHECK-NEXT:       <key>line</key><integer>151</integer>
1500// CHECK-NEXT:       <key>col</key><integer>7</integer>
1501// CHECK-NEXT:       <key>file</key><integer>0</integer>
1502// CHECK-NEXT:      </dict>
1503// CHECK-NEXT:      <key>ranges</key>
1504// CHECK-NEXT:      <array>
1505// CHECK-NEXT:        <array>
1506// CHECK-NEXT:         <dict>
1507// CHECK-NEXT:          <key>line</key><integer>151</integer>
1508// CHECK-NEXT:          <key>col</key><integer>7</integer>
1509// CHECK-NEXT:          <key>file</key><integer>0</integer>
1510// CHECK-NEXT:         </dict>
1511// CHECK-NEXT:         <dict>
1512// CHECK-NEXT:          <key>line</key><integer>151</integer>
1513// CHECK-NEXT:          <key>col</key><integer>11</integer>
1514// CHECK-NEXT:          <key>file</key><integer>0</integer>
1515// CHECK-NEXT:         </dict>
1516// CHECK-NEXT:        </array>
1517// CHECK-NEXT:      </array>
1518// CHECK-NEXT:      <key>depth</key><integer>0</integer>
1519// CHECK-NEXT:      <key>extended_message</key>
1520// CHECK-NEXT:      <string>Assuming &apos;myNil&apos; is nil</string>
1521// CHECK-NEXT:      <key>message</key>
1522// CHECK-NEXT:      <string>Assuming &apos;myNil&apos; is nil</string>
1523// CHECK-NEXT:     </dict>
1524// CHECK-NEXT:     <dict>
1525// CHECK-NEXT:      <key>kind</key><string>control</string>
1526// CHECK-NEXT:      <key>edges</key>
1527// CHECK-NEXT:       <array>
1528// CHECK-NEXT:        <dict>
1529// CHECK-NEXT:         <key>start</key>
1530// CHECK-NEXT:          <array>
1531// CHECK-NEXT:           <dict>
1532// CHECK-NEXT:            <key>line</key><integer>151</integer>
1533// CHECK-NEXT:            <key>col</key><integer>7</integer>
1534// CHECK-NEXT:            <key>file</key><integer>0</integer>
1535// CHECK-NEXT:           </dict>
1536// CHECK-NEXT:           <dict>
1537// CHECK-NEXT:            <key>line</key><integer>151</integer>
1538// CHECK-NEXT:            <key>col</key><integer>11</integer>
1539// CHECK-NEXT:            <key>file</key><integer>0</integer>
1540// CHECK-NEXT:           </dict>
1541// CHECK-NEXT:          </array>
1542// CHECK-NEXT:         <key>end</key>
1543// CHECK-NEXT:          <array>
1544// CHECK-NEXT:           <dict>
1545// CHECK-NEXT:            <key>line</key><integer>153</integer>
1546// CHECK-NEXT:            <key>col</key><integer>3</integer>
1547// CHECK-NEXT:            <key>file</key><integer>0</integer>
1548// CHECK-NEXT:           </dict>
1549// CHECK-NEXT:           <dict>
1550// CHECK-NEXT:            <key>line</key><integer>153</integer>
1551// CHECK-NEXT:            <key>col</key><integer>8</integer>
1552// CHECK-NEXT:            <key>file</key><integer>0</integer>
1553// CHECK-NEXT:           </dict>
1554// CHECK-NEXT:          </array>
1555// CHECK-NEXT:        </dict>
1556// CHECK-NEXT:       </array>
1557// CHECK-NEXT:     </dict>
1558// CHECK-NEXT:     <dict>
1559// CHECK-NEXT:      <key>kind</key><string>control</string>
1560// CHECK-NEXT:      <key>edges</key>
1561// CHECK-NEXT:       <array>
1562// CHECK-NEXT:        <dict>
1563// CHECK-NEXT:         <key>start</key>
1564// CHECK-NEXT:          <array>
1565// CHECK-NEXT:           <dict>
1566// CHECK-NEXT:            <key>line</key><integer>153</integer>
1567// CHECK-NEXT:            <key>col</key><integer>3</integer>
1568// CHECK-NEXT:            <key>file</key><integer>0</integer>
1569// CHECK-NEXT:           </dict>
1570// CHECK-NEXT:           <dict>
1571// CHECK-NEXT:            <key>line</key><integer>153</integer>
1572// CHECK-NEXT:            <key>col</key><integer>8</integer>
1573// CHECK-NEXT:            <key>file</key><integer>0</integer>
1574// CHECK-NEXT:           </dict>
1575// CHECK-NEXT:          </array>
1576// CHECK-NEXT:         <key>end</key>
1577// CHECK-NEXT:          <array>
1578// CHECK-NEXT:           <dict>
1579// CHECK-NEXT:            <key>line</key><integer>153</integer>
1580// CHECK-NEXT:            <key>col</key><integer>10</integer>
1581// CHECK-NEXT:            <key>file</key><integer>0</integer>
1582// CHECK-NEXT:           </dict>
1583// CHECK-NEXT:           <dict>
1584// CHECK-NEXT:            <key>line</key><integer>153</integer>
1585// CHECK-NEXT:            <key>col</key><integer>10</integer>
1586// CHECK-NEXT:            <key>file</key><integer>0</integer>
1587// CHECK-NEXT:           </dict>
1588// CHECK-NEXT:          </array>
1589// CHECK-NEXT:        </dict>
1590// CHECK-NEXT:       </array>
1591// CHECK-NEXT:     </dict>
1592// CHECK-NEXT:     <dict>
1593// CHECK-NEXT:      <key>kind</key><string>event</string>
1594// CHECK-NEXT:      <key>location</key>
1595// CHECK-NEXT:      <dict>
1596// CHECK-NEXT:       <key>line</key><integer>153</integer>
1597// CHECK-NEXT:       <key>col</key><integer>10</integer>
1598// CHECK-NEXT:       <key>file</key><integer>0</integer>
1599// CHECK-NEXT:      </dict>
1600// CHECK-NEXT:      <key>ranges</key>
1601// CHECK-NEXT:      <array>
1602// CHECK-NEXT:        <array>
1603// CHECK-NEXT:         <dict>
1604// CHECK-NEXT:          <key>line</key><integer>153</integer>
1605// CHECK-NEXT:          <key>col</key><integer>19</integer>
1606// CHECK-NEXT:          <key>file</key><integer>0</integer>
1607// CHECK-NEXT:         </dict>
1608// CHECK-NEXT:         <dict>
1609// CHECK-NEXT:          <key>line</key><integer>153</integer>
1610// CHECK-NEXT:          <key>col</key><integer>23</integer>
1611// CHECK-NEXT:          <key>file</key><integer>0</integer>
1612// CHECK-NEXT:         </dict>
1613// CHECK-NEXT:        </array>
1614// CHECK-NEXT:      </array>
1615// CHECK-NEXT:      <key>depth</key><integer>0</integer>
1616// CHECK-NEXT:      <key>extended_message</key>
1617// CHECK-NEXT:      <string>Array element cannot be nil</string>
1618// CHECK-NEXT:      <key>message</key>
1619// CHECK-NEXT:      <string>Array element cannot be nil</string>
1620// CHECK-NEXT:     </dict>
1621// CHECK-NEXT:    </array>
1622// CHECK-NEXT:    <key>description</key><string>Array element cannot be nil</string>
1623// CHECK-NEXT:    <key>category</key><string>API Misuse (Apple)</string>
1624// CHECK-NEXT:    <key>type</key><string>nil argument</string>
1625// CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
1626// CHECK-NEXT:   <key>issue_context</key><string>testCreateArrayLiteral</string>
1627// CHECK-NEXT:   <key>issue_hash</key><string>3</string>
1628// CHECK-NEXT:   <key>location</key>
1629// CHECK-NEXT:   <dict>
1630// CHECK-NEXT:    <key>line</key><integer>153</integer>
1631// CHECK-NEXT:    <key>col</key><integer>10</integer>
1632// CHECK-NEXT:    <key>file</key><integer>0</integer>
1633// CHECK-NEXT:   </dict>
1634// CHECK-NEXT:   </dict>
1635// CHECK-NEXT:   <dict>
1636// CHECK-NEXT:    <key>path</key>
1637// CHECK-NEXT:    <array>
1638// CHECK-NEXT:     <dict>
1639// CHECK-NEXT:      <key>kind</key><string>control</string>
1640// CHECK-NEXT:      <key>edges</key>
1641// CHECK-NEXT:       <array>
1642// CHECK-NEXT:        <dict>
1643// CHECK-NEXT:         <key>start</key>
1644// CHECK-NEXT:          <array>
1645// CHECK-NEXT:           <dict>
1646// CHECK-NEXT:            <key>line</key><integer>159</integer>
1647// CHECK-NEXT:            <key>col</key><integer>3</integer>
1648// CHECK-NEXT:            <key>file</key><integer>0</integer>
1649// CHECK-NEXT:           </dict>
1650// CHECK-NEXT:           <dict>
1651// CHECK-NEXT:            <key>line</key><integer>159</integer>
1652// CHECK-NEXT:            <key>col</key><integer>8</integer>
1653// CHECK-NEXT:            <key>file</key><integer>0</integer>
1654// CHECK-NEXT:           </dict>
1655// CHECK-NEXT:          </array>
1656// CHECK-NEXT:         <key>end</key>
1657// CHECK-NEXT:          <array>
1658// CHECK-NEXT:           <dict>
1659// CHECK-NEXT:            <key>line</key><integer>160</integer>
1660// CHECK-NEXT:            <key>col</key><integer>3</integer>
1661// CHECK-NEXT:            <key>file</key><integer>0</integer>
1662// CHECK-NEXT:           </dict>
1663// CHECK-NEXT:           <dict>
1664// CHECK-NEXT:            <key>line</key><integer>160</integer>
1665// CHECK-NEXT:            <key>col</key><integer>15</integer>
1666// CHECK-NEXT:            <key>file</key><integer>0</integer>
1667// CHECK-NEXT:           </dict>
1668// CHECK-NEXT:          </array>
1669// CHECK-NEXT:        </dict>
1670// CHECK-NEXT:       </array>
1671// CHECK-NEXT:     </dict>
1672// CHECK-NEXT:     <dict>
1673// CHECK-NEXT:      <key>kind</key><string>control</string>
1674// CHECK-NEXT:      <key>edges</key>
1675// CHECK-NEXT:       <array>
1676// CHECK-NEXT:        <dict>
1677// CHECK-NEXT:         <key>start</key>
1678// CHECK-NEXT:          <array>
1679// CHECK-NEXT:           <dict>
1680// CHECK-NEXT:            <key>line</key><integer>160</integer>
1681// CHECK-NEXT:            <key>col</key><integer>3</integer>
1682// CHECK-NEXT:            <key>file</key><integer>0</integer>
1683// CHECK-NEXT:           </dict>
1684// CHECK-NEXT:           <dict>
1685// CHECK-NEXT:            <key>line</key><integer>160</integer>
1686// CHECK-NEXT:            <key>col</key><integer>15</integer>
1687// CHECK-NEXT:            <key>file</key><integer>0</integer>
1688// CHECK-NEXT:           </dict>
1689// CHECK-NEXT:          </array>
1690// CHECK-NEXT:         <key>end</key>
1691// CHECK-NEXT:          <array>
1692// CHECK-NEXT:           <dict>
1693// CHECK-NEXT:            <key>line</key><integer>162</integer>
1694// CHECK-NEXT:            <key>col</key><integer>3</integer>
1695// CHECK-NEXT:            <key>file</key><integer>0</integer>
1696// CHECK-NEXT:           </dict>
1697// CHECK-NEXT:           <dict>
1698// CHECK-NEXT:            <key>line</key><integer>162</integer>
1699// CHECK-NEXT:            <key>col</key><integer>4</integer>
1700// CHECK-NEXT:            <key>file</key><integer>0</integer>
1701// CHECK-NEXT:           </dict>
1702// CHECK-NEXT:          </array>
1703// CHECK-NEXT:        </dict>
1704// CHECK-NEXT:       </array>
1705// CHECK-NEXT:     </dict>
1706// CHECK-NEXT:     <dict>
1707// CHECK-NEXT:      <key>kind</key><string>control</string>
1708// CHECK-NEXT:      <key>edges</key>
1709// CHECK-NEXT:       <array>
1710// CHECK-NEXT:        <dict>
1711// CHECK-NEXT:         <key>start</key>
1712// CHECK-NEXT:          <array>
1713// CHECK-NEXT:           <dict>
1714// CHECK-NEXT:            <key>line</key><integer>162</integer>
1715// CHECK-NEXT:            <key>col</key><integer>3</integer>
1716// CHECK-NEXT:            <key>file</key><integer>0</integer>
1717// CHECK-NEXT:           </dict>
1718// CHECK-NEXT:           <dict>
1719// CHECK-NEXT:            <key>line</key><integer>162</integer>
1720// CHECK-NEXT:            <key>col</key><integer>4</integer>
1721// CHECK-NEXT:            <key>file</key><integer>0</integer>
1722// CHECK-NEXT:           </dict>
1723// CHECK-NEXT:          </array>
1724// CHECK-NEXT:         <key>end</key>
1725// CHECK-NEXT:          <array>
1726// CHECK-NEXT:           <dict>
1727// CHECK-NEXT:            <key>line</key><integer>162</integer>
1728// CHECK-NEXT:            <key>col</key><integer>12</integer>
1729// CHECK-NEXT:            <key>file</key><integer>0</integer>
1730// CHECK-NEXT:           </dict>
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:          </array>
1737// CHECK-NEXT:        </dict>
1738// CHECK-NEXT:       </array>
1739// CHECK-NEXT:     </dict>
1740// CHECK-NEXT:     <dict>
1741// CHECK-NEXT:      <key>kind</key><string>event</string>
1742// CHECK-NEXT:      <key>location</key>
1743// CHECK-NEXT:      <dict>
1744// CHECK-NEXT:       <key>line</key><integer>162</integer>
1745// CHECK-NEXT:       <key>col</key><integer>12</integer>
1746// CHECK-NEXT:       <key>file</key><integer>0</integer>
1747// CHECK-NEXT:      </dict>
1748// CHECK-NEXT:      <key>ranges</key>
1749// CHECK-NEXT:      <array>
1750// CHECK-NEXT:        <array>
1751// CHECK-NEXT:         <dict>
1752// CHECK-NEXT:          <key>line</key><integer>162</integer>
1753// CHECK-NEXT:          <key>col</key><integer>12</integer>
1754// CHECK-NEXT:          <key>file</key><integer>0</integer>
1755// CHECK-NEXT:         </dict>
1756// CHECK-NEXT:         <dict>
1757// CHECK-NEXT:          <key>line</key><integer>162</integer>
1758// CHECK-NEXT:          <key>col</key><integer>34</integer>
1759// CHECK-NEXT:          <key>file</key><integer>0</integer>
1760// CHECK-NEXT:         </dict>
1761// CHECK-NEXT:        </array>
1762// CHECK-NEXT:      </array>
1763// CHECK-NEXT:      <key>depth</key><integer>0</integer>
1764// CHECK-NEXT:      <key>extended_message</key>
1765// CHECK-NEXT:      <string>Method returns an Objective-C object with a +1 retain count</string>
1766// CHECK-NEXT:      <key>message</key>
1767// CHECK-NEXT:      <string>Method returns an Objective-C object with a +1 retain count</string>
1768// CHECK-NEXT:     </dict>
1769// CHECK-NEXT:     <dict>
1770// CHECK-NEXT:      <key>kind</key><string>control</string>
1771// CHECK-NEXT:      <key>edges</key>
1772// CHECK-NEXT:       <array>
1773// CHECK-NEXT:        <dict>
1774// CHECK-NEXT:         <key>start</key>
1775// CHECK-NEXT:          <array>
1776// CHECK-NEXT:           <dict>
1777// CHECK-NEXT:            <key>line</key><integer>162</integer>
1778// CHECK-NEXT:            <key>col</key><integer>12</integer>
1779// CHECK-NEXT:            <key>file</key><integer>0</integer>
1780// CHECK-NEXT:           </dict>
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:          </array>
1787// CHECK-NEXT:         <key>end</key>
1788// CHECK-NEXT:          <array>
1789// CHECK-NEXT:           <dict>
1790// CHECK-NEXT:            <key>line</key><integer>162</integer>
1791// CHECK-NEXT:            <key>col</key><integer>11</integer>
1792// CHECK-NEXT:            <key>file</key><integer>0</integer>
1793// CHECK-NEXT:           </dict>
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:          </array>
1800// CHECK-NEXT:        </dict>
1801// CHECK-NEXT:       </array>
1802// CHECK-NEXT:     </dict>
1803// CHECK-NEXT:     <dict>
1804// CHECK-NEXT:      <key>kind</key><string>event</string>
1805// CHECK-NEXT:      <key>location</key>
1806// CHECK-NEXT:      <dict>
1807// CHECK-NEXT:       <key>line</key><integer>162</integer>
1808// CHECK-NEXT:       <key>col</key><integer>11</integer>
1809// CHECK-NEXT:       <key>file</key><integer>0</integer>
1810// CHECK-NEXT:      </dict>
1811// CHECK-NEXT:      <key>ranges</key>
1812// CHECK-NEXT:      <array>
1813// CHECK-NEXT:        <array>
1814// CHECK-NEXT:         <dict>
1815// CHECK-NEXT:          <key>line</key><integer>162</integer>
1816// CHECK-NEXT:          <key>col</key><integer>11</integer>
1817// CHECK-NEXT:          <key>file</key><integer>0</integer>
1818// CHECK-NEXT:         </dict>
1819// CHECK-NEXT:         <dict>
1820// CHECK-NEXT:          <key>line</key><integer>162</integer>
1821// CHECK-NEXT:          <key>col</key><integer>47</integer>
1822// CHECK-NEXT:          <key>file</key><integer>0</integer>
1823// CHECK-NEXT:         </dict>
1824// CHECK-NEXT:        </array>
1825// CHECK-NEXT:        <array>
1826// CHECK-NEXT:         <dict>
1827// CHECK-NEXT:          <key>line</key><integer>162</integer>
1828// CHECK-NEXT:          <key>col</key><integer>12</integer>
1829// CHECK-NEXT:          <key>file</key><integer>0</integer>
1830// CHECK-NEXT:         </dict>
1831// CHECK-NEXT:         <dict>
1832// CHECK-NEXT:          <key>line</key><integer>162</integer>
1833// CHECK-NEXT:          <key>col</key><integer>34</integer>
1834// CHECK-NEXT:          <key>file</key><integer>0</integer>
1835// CHECK-NEXT:         </dict>
1836// CHECK-NEXT:        </array>
1837// CHECK-NEXT:      </array>
1838// CHECK-NEXT:      <key>depth</key><integer>0</integer>
1839// CHECK-NEXT:      <key>extended_message</key>
1840// CHECK-NEXT:      <string>Object autoreleased</string>
1841// CHECK-NEXT:      <key>message</key>
1842// CHECK-NEXT:      <string>Object autoreleased</string>
1843// CHECK-NEXT:     </dict>
1844// CHECK-NEXT:     <dict>
1845// CHECK-NEXT:      <key>kind</key><string>control</string>
1846// CHECK-NEXT:      <key>edges</key>
1847// CHECK-NEXT:       <array>
1848// CHECK-NEXT:        <dict>
1849// CHECK-NEXT:         <key>start</key>
1850// CHECK-NEXT:          <array>
1851// CHECK-NEXT:           <dict>
1852// CHECK-NEXT:            <key>line</key><integer>162</integer>
1853// CHECK-NEXT:            <key>col</key><integer>11</integer>
1854// CHECK-NEXT:            <key>file</key><integer>0</integer>
1855// CHECK-NEXT:           </dict>
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:          </array>
1862// CHECK-NEXT:         <key>end</key>
1863// CHECK-NEXT:          <array>
1864// CHECK-NEXT:           <dict>
1865// CHECK-NEXT:            <key>line</key><integer>162</integer>
1866// CHECK-NEXT:            <key>col</key><integer>10</integer>
1867// CHECK-NEXT:            <key>file</key><integer>0</integer>
1868// CHECK-NEXT:           </dict>
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:          </array>
1875// CHECK-NEXT:        </dict>
1876// CHECK-NEXT:       </array>
1877// CHECK-NEXT:     </dict>
1878// CHECK-NEXT:     <dict>
1879// CHECK-NEXT:      <key>kind</key><string>event</string>
1880// CHECK-NEXT:      <key>location</key>
1881// CHECK-NEXT:      <dict>
1882// CHECK-NEXT:       <key>line</key><integer>162</integer>
1883// CHECK-NEXT:       <key>col</key><integer>10</integer>
1884// CHECK-NEXT:       <key>file</key><integer>0</integer>
1885// CHECK-NEXT:      </dict>
1886// CHECK-NEXT:      <key>ranges</key>
1887// CHECK-NEXT:      <array>
1888// CHECK-NEXT:        <array>
1889// CHECK-NEXT:         <dict>
1890// CHECK-NEXT:          <key>line</key><integer>162</integer>
1891// CHECK-NEXT:          <key>col</key><integer>10</integer>
1892// CHECK-NEXT:          <key>file</key><integer>0</integer>
1893// CHECK-NEXT:         </dict>
1894// CHECK-NEXT:         <dict>
1895// CHECK-NEXT:          <key>line</key><integer>162</integer>
1896// CHECK-NEXT:          <key>col</key><integer>60</integer>
1897// CHECK-NEXT:          <key>file</key><integer>0</integer>
1898// CHECK-NEXT:         </dict>
1899// CHECK-NEXT:        </array>
1900// CHECK-NEXT:        <array>
1901// CHECK-NEXT:         <dict>
1902// CHECK-NEXT:          <key>line</key><integer>162</integer>
1903// CHECK-NEXT:          <key>col</key><integer>11</integer>
1904// CHECK-NEXT:          <key>file</key><integer>0</integer>
1905// CHECK-NEXT:         </dict>
1906// CHECK-NEXT:         <dict>
1907// CHECK-NEXT:          <key>line</key><integer>162</integer>
1908// CHECK-NEXT:          <key>col</key><integer>47</integer>
1909// CHECK-NEXT:          <key>file</key><integer>0</integer>
1910// CHECK-NEXT:         </dict>
1911// CHECK-NEXT:        </array>
1912// CHECK-NEXT:      </array>
1913// CHECK-NEXT:      <key>depth</key><integer>0</integer>
1914// CHECK-NEXT:      <key>extended_message</key>
1915// CHECK-NEXT:      <string>Object autoreleased</string>
1916// CHECK-NEXT:      <key>message</key>
1917// CHECK-NEXT:      <string>Object autoreleased</string>
1918// CHECK-NEXT:     </dict>
1919// CHECK-NEXT:     <dict>
1920// CHECK-NEXT:      <key>kind</key><string>control</string>
1921// CHECK-NEXT:      <key>edges</key>
1922// CHECK-NEXT:       <array>
1923// CHECK-NEXT:        <dict>
1924// CHECK-NEXT:         <key>start</key>
1925// CHECK-NEXT:          <array>
1926// CHECK-NEXT:           <dict>
1927// CHECK-NEXT:            <key>line</key><integer>162</integer>
1928// CHECK-NEXT:            <key>col</key><integer>10</integer>
1929// CHECK-NEXT:            <key>file</key><integer>0</integer>
1930// CHECK-NEXT:           </dict>
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:          </array>
1937// CHECK-NEXT:         <key>end</key>
1938// CHECK-NEXT:          <array>
1939// CHECK-NEXT:           <dict>
1940// CHECK-NEXT:            <key>line</key><integer>167</integer>
1941// CHECK-NEXT:            <key>col</key><integer>3</integer>
1942// CHECK-NEXT:            <key>file</key><integer>0</integer>
1943// CHECK-NEXT:           </dict>
1944// CHECK-NEXT:           <dict>
1945// CHECK-NEXT:            <key>line</key><integer>167</integer>
1946// CHECK-NEXT:            <key>col</key><integer>15</integer>
1947// CHECK-NEXT:            <key>file</key><integer>0</integer>
1948// CHECK-NEXT:           </dict>
1949// CHECK-NEXT:          </array>
1950// CHECK-NEXT:        </dict>
1951// CHECK-NEXT:       </array>
1952// CHECK-NEXT:     </dict>
1953// CHECK-NEXT:     <dict>
1954// CHECK-NEXT:      <key>kind</key><string>control</string>
1955// CHECK-NEXT:      <key>edges</key>
1956// CHECK-NEXT:       <array>
1957// CHECK-NEXT:        <dict>
1958// CHECK-NEXT:         <key>start</key>
1959// CHECK-NEXT:          <array>
1960// CHECK-NEXT:           <dict>
1961// CHECK-NEXT:            <key>line</key><integer>167</integer>
1962// CHECK-NEXT:            <key>col</key><integer>3</integer>
1963// CHECK-NEXT:            <key>file</key><integer>0</integer>
1964// CHECK-NEXT:           </dict>
1965// CHECK-NEXT:           <dict>
1966// CHECK-NEXT:            <key>line</key><integer>167</integer>
1967// CHECK-NEXT:            <key>col</key><integer>15</integer>
1968// CHECK-NEXT:            <key>file</key><integer>0</integer>
1969// CHECK-NEXT:           </dict>
1970// CHECK-NEXT:          </array>
1971// CHECK-NEXT:         <key>end</key>
1972// CHECK-NEXT:          <array>
1973// CHECK-NEXT:           <dict>
1974// CHECK-NEXT:            <key>line</key><integer>169</integer>
1975// CHECK-NEXT:            <key>col</key><integer>3</integer>
1976// CHECK-NEXT:            <key>file</key><integer>0</integer>
1977// CHECK-NEXT:           </dict>
1978// CHECK-NEXT:           <dict>
1979// CHECK-NEXT:            <key>line</key><integer>169</integer>
1980// CHECK-NEXT:            <key>col</key><integer>8</integer>
1981// CHECK-NEXT:            <key>file</key><integer>0</integer>
1982// CHECK-NEXT:           </dict>
1983// CHECK-NEXT:          </array>
1984// CHECK-NEXT:        </dict>
1985// CHECK-NEXT:       </array>
1986// CHECK-NEXT:     </dict>
1987// CHECK-NEXT:     <dict>
1988// CHECK-NEXT:      <key>kind</key><string>event</string>
1989// CHECK-NEXT:      <key>location</key>
1990// CHECK-NEXT:      <dict>
1991// CHECK-NEXT:       <key>line</key><integer>169</integer>
1992// CHECK-NEXT:       <key>col</key><integer>3</integer>
1993// CHECK-NEXT:       <key>file</key><integer>0</integer>
1994// CHECK-NEXT:      </dict>
1995// CHECK-NEXT:      <key>ranges</key>
1996// CHECK-NEXT:      <array>
1997// CHECK-NEXT:        <array>
1998// CHECK-NEXT:         <dict>
1999// CHECK-NEXT:          <key>line</key><integer>169</integer>
2000// CHECK-NEXT:          <key>col</key><integer>3</integer>
2001// CHECK-NEXT:          <key>file</key><integer>0</integer>
2002// CHECK-NEXT:         </dict>
2003// CHECK-NEXT:         <dict>
2004// CHECK-NEXT:          <key>line</key><integer>169</integer>
2005// CHECK-NEXT:          <key>col</key><integer>10</integer>
2006// CHECK-NEXT:          <key>file</key><integer>0</integer>
2007// CHECK-NEXT:         </dict>
2008// CHECK-NEXT:        </array>
2009// CHECK-NEXT:      </array>
2010// CHECK-NEXT:      <key>depth</key><integer>0</integer>
2011// CHECK-NEXT:      <key>extended_message</key>
2012// CHECK-NEXT:      <string>Object was autoreleased 2 times but the object has a +0 retain count</string>
2013// CHECK-NEXT:      <key>message</key>
2014// CHECK-NEXT:      <string>Object was autoreleased 2 times but the object has a +0 retain count</string>
2015// CHECK-NEXT:     </dict>
2016// CHECK-NEXT:    </array>
2017// CHECK-NEXT:    <key>description</key><string>Object autoreleased too many times</string>
2018// CHECK-NEXT:    <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
2019// CHECK-NEXT:    <key>type</key><string>Object autoreleased too many times</string>
2020// CHECK-NEXT:   <key>issue_context_kind</key><string>function</string>
2021// CHECK-NEXT:   <key>issue_context</key><string>testAutoreleaseTakesEffectInDispatch</string>
2022// CHECK-NEXT:   <key>issue_hash</key><string>11</string>
2023// CHECK-NEXT:   <key>location</key>
2024// CHECK-NEXT:   <dict>
2025// CHECK-NEXT:    <key>line</key><integer>169</integer>
2026// CHECK-NEXT:    <key>col</key><integer>3</integer>
2027// CHECK-NEXT:    <key>file</key><integer>0</integer>
2028// CHECK-NEXT:   </dict>
2029// CHECK-NEXT:   </dict>
2030// CHECK-NEXT:  </array>
2031