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