• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: %clang_cc1 -analyze -analyzer-checker=core,osx -analyzer-output=text -verify %s
2// RUN: %clang_cc1 -analyze -analyzer-checker=core,osx -analyzer-output=plist-multi-file -analyzer-config path-diagnostics-alternate=false %s -o %t.plist
3// RUN: FileCheck --input-file=%t.plist %s
4
5typedef signed char BOOL;
6@protocol NSObject  - (BOOL)isEqual:(id)object; @end
7@interface NSObject <NSObject> {}
8+(id)alloc;
9+(id)new;
10-(id)init;
11-(id)autorelease;
12-(id)copy;
13- (Class)class;
14-(id)retain;
15@end
16typedef const void * CFTypeRef;
17extern void CFRelease(CFTypeRef cf);
18
19@interface Cell : NSObject
20- (void)test;
21@end
22
23@interface SpecialString
24+ (id)alloc;
25- (oneway void)release;
26@end
27
28typedef SpecialString* SCDynamicStoreRef;
29static void CreateRef(SCDynamicStoreRef *storeRef, unsigned x);
30static void CreateRefUndef(SCDynamicStoreRef *storeRef, unsigned x);
31SCDynamicStoreRef anotherCreateRef(unsigned *err, unsigned x);
32
33@implementation Cell
34- (void) test {
35    SCDynamicStoreRef storeRef = 0;
36    CreateRef(&storeRef, 4);
37                             //expected-note@-1{{Calling 'CreateRef'}}
38                             //expected-note@-2{{Returning from 'CreateRef'}}
39    CFRelease(storeRef); //expected-warning {{Null pointer argument in call to CFRelease}}
40                         //expected-note@-1{{Null pointer argument in call to CFRelease}}
41}
42
43- (void)test2 {
44    SCDynamicStoreRef storeRef; // expected-note {{'storeRef' declared without an initial value}}
45    CreateRefUndef(&storeRef, 4);
46                             //expected-note@-1{{Calling 'CreateRefUndef'}}
47                             //expected-note@-2{{Returning from 'CreateRefUndef'}}
48    CFRelease(storeRef); //expected-warning {{Function call argument is an uninitialized value}}
49                         //expected-note@-1{{Function call argument is an uninitialized value}}
50}
51@end
52
53static void CreateRef(SCDynamicStoreRef *storeRef, unsigned x) {
54    unsigned err = 0;
55    SCDynamicStoreRef ref = anotherCreateRef(&err, x);
56    if (err) {
57               //expected-note@-1{{Assuming 'err' is not equal to 0}}
58               //expected-note@-2{{Taking true branch}}
59        CFRelease(ref);
60        ref = 0; // expected-note{{nil object reference stored to 'ref'}}
61    }
62    *storeRef = ref; // expected-note{{nil object reference stored to 'storeRef'}}
63}
64
65static void CreateRefUndef(SCDynamicStoreRef *storeRef, unsigned x) {
66  unsigned err = 0;
67  SCDynamicStoreRef ref = anotherCreateRef(&err, x);
68  if (err) {
69             //expected-note@-1{{Assuming 'err' is not equal to 0}}
70             //expected-note@-2{{Taking true branch}}
71    CFRelease(ref);
72    return;
73  }
74  *storeRef = ref;
75}
76
77// CHECK:  <key>diagnostics</key>
78// CHECK-NEXT:  <array>
79// CHECK-NEXT:   <dict>
80// CHECK-NEXT:    <key>path</key>
81// CHECK-NEXT:    <array>
82// CHECK-NEXT:     <dict>
83// CHECK-NEXT:      <key>kind</key><string>control</string>
84// CHECK-NEXT:      <key>edges</key>
85// CHECK-NEXT:       <array>
86// CHECK-NEXT:        <dict>
87// CHECK-NEXT:         <key>start</key>
88// CHECK-NEXT:          <array>
89// CHECK-NEXT:           <dict>
90// CHECK-NEXT:            <key>line</key><integer>35</integer>
91// CHECK-NEXT:            <key>col</key><integer>5</integer>
92// CHECK-NEXT:            <key>file</key><integer>0</integer>
93// CHECK-NEXT:           </dict>
94// CHECK-NEXT:           <dict>
95// CHECK-NEXT:            <key>line</key><integer>35</integer>
96// CHECK-NEXT:            <key>col</key><integer>21</integer>
97// CHECK-NEXT:            <key>file</key><integer>0</integer>
98// CHECK-NEXT:           </dict>
99// CHECK-NEXT:          </array>
100// CHECK-NEXT:         <key>end</key>
101// CHECK-NEXT:          <array>
102// CHECK-NEXT:           <dict>
103// CHECK-NEXT:            <key>line</key><integer>36</integer>
104// CHECK-NEXT:            <key>col</key><integer>5</integer>
105// CHECK-NEXT:            <key>file</key><integer>0</integer>
106// CHECK-NEXT:           </dict>
107// CHECK-NEXT:           <dict>
108// CHECK-NEXT:            <key>line</key><integer>36</integer>
109// CHECK-NEXT:            <key>col</key><integer>13</integer>
110// CHECK-NEXT:            <key>file</key><integer>0</integer>
111// CHECK-NEXT:           </dict>
112// CHECK-NEXT:          </array>
113// CHECK-NEXT:        </dict>
114// CHECK-NEXT:       </array>
115// CHECK-NEXT:     </dict>
116// CHECK-NEXT:     <dict>
117// CHECK-NEXT:      <key>kind</key><string>event</string>
118// CHECK-NEXT:      <key>location</key>
119// CHECK-NEXT:      <dict>
120// CHECK-NEXT:       <key>line</key><integer>36</integer>
121// CHECK-NEXT:       <key>col</key><integer>5</integer>
122// CHECK-NEXT:       <key>file</key><integer>0</integer>
123// CHECK-NEXT:      </dict>
124// CHECK-NEXT:      <key>ranges</key>
125// CHECK-NEXT:      <array>
126// CHECK-NEXT:        <array>
127// CHECK-NEXT:         <dict>
128// CHECK-NEXT:          <key>line</key><integer>36</integer>
129// CHECK-NEXT:          <key>col</key><integer>5</integer>
130// CHECK-NEXT:          <key>file</key><integer>0</integer>
131// CHECK-NEXT:         </dict>
132// CHECK-NEXT:         <dict>
133// CHECK-NEXT:          <key>line</key><integer>36</integer>
134// CHECK-NEXT:          <key>col</key><integer>27</integer>
135// CHECK-NEXT:          <key>file</key><integer>0</integer>
136// CHECK-NEXT:         </dict>
137// CHECK-NEXT:        </array>
138// CHECK-NEXT:      </array>
139// CHECK-NEXT:      <key>depth</key><integer>0</integer>
140// CHECK-NEXT:      <key>extended_message</key>
141// CHECK-NEXT:      <string>Calling &apos;CreateRef&apos;</string>
142// CHECK-NEXT:      <key>message</key>
143// CHECK-NEXT:      <string>Calling &apos;CreateRef&apos;</string>
144// CHECK-NEXT:     </dict>
145// CHECK-NEXT:     <dict>
146// CHECK-NEXT:      <key>kind</key><string>event</string>
147// CHECK-NEXT:      <key>location</key>
148// CHECK-NEXT:      <dict>
149// CHECK-NEXT:       <key>line</key><integer>53</integer>
150// CHECK-NEXT:       <key>col</key><integer>1</integer>
151// CHECK-NEXT:       <key>file</key><integer>0</integer>
152// CHECK-NEXT:      </dict>
153// CHECK-NEXT:      <key>depth</key><integer>1</integer>
154// CHECK-NEXT:      <key>extended_message</key>
155// CHECK-NEXT:      <string>Entered call from &apos;test&apos;</string>
156// CHECK-NEXT:      <key>message</key>
157// CHECK-NEXT:      <string>Entered call from &apos;test&apos;</string>
158// CHECK-NEXT:     </dict>
159// CHECK-NEXT:     <dict>
160// CHECK-NEXT:      <key>kind</key><string>control</string>
161// CHECK-NEXT:      <key>edges</key>
162// CHECK-NEXT:       <array>
163// CHECK-NEXT:        <dict>
164// CHECK-NEXT:         <key>start</key>
165// CHECK-NEXT:          <array>
166// CHECK-NEXT:           <dict>
167// CHECK-NEXT:            <key>line</key><integer>53</integer>
168// CHECK-NEXT:            <key>col</key><integer>1</integer>
169// CHECK-NEXT:            <key>file</key><integer>0</integer>
170// CHECK-NEXT:           </dict>
171// CHECK-NEXT:           <dict>
172// CHECK-NEXT:            <key>line</key><integer>53</integer>
173// CHECK-NEXT:            <key>col</key><integer>6</integer>
174// CHECK-NEXT:            <key>file</key><integer>0</integer>
175// CHECK-NEXT:           </dict>
176// CHECK-NEXT:          </array>
177// CHECK-NEXT:         <key>end</key>
178// CHECK-NEXT:          <array>
179// CHECK-NEXT:           <dict>
180// CHECK-NEXT:            <key>line</key><integer>54</integer>
181// CHECK-NEXT:            <key>col</key><integer>5</integer>
182// CHECK-NEXT:            <key>file</key><integer>0</integer>
183// CHECK-NEXT:           </dict>
184// CHECK-NEXT:           <dict>
185// CHECK-NEXT:            <key>line</key><integer>54</integer>
186// CHECK-NEXT:            <key>col</key><integer>12</integer>
187// CHECK-NEXT:            <key>file</key><integer>0</integer>
188// CHECK-NEXT:           </dict>
189// CHECK-NEXT:          </array>
190// CHECK-NEXT:        </dict>
191// CHECK-NEXT:       </array>
192// CHECK-NEXT:     </dict>
193// CHECK-NEXT:     <dict>
194// CHECK-NEXT:      <key>kind</key><string>control</string>
195// CHECK-NEXT:      <key>edges</key>
196// CHECK-NEXT:       <array>
197// CHECK-NEXT:        <dict>
198// CHECK-NEXT:         <key>start</key>
199// CHECK-NEXT:          <array>
200// CHECK-NEXT:           <dict>
201// CHECK-NEXT:            <key>line</key><integer>54</integer>
202// CHECK-NEXT:            <key>col</key><integer>5</integer>
203// CHECK-NEXT:            <key>file</key><integer>0</integer>
204// CHECK-NEXT:           </dict>
205// CHECK-NEXT:           <dict>
206// CHECK-NEXT:            <key>line</key><integer>54</integer>
207// CHECK-NEXT:            <key>col</key><integer>12</integer>
208// CHECK-NEXT:            <key>file</key><integer>0</integer>
209// CHECK-NEXT:           </dict>
210// CHECK-NEXT:          </array>
211// CHECK-NEXT:         <key>end</key>
212// CHECK-NEXT:          <array>
213// CHECK-NEXT:           <dict>
214// CHECK-NEXT:            <key>line</key><integer>56</integer>
215// CHECK-NEXT:            <key>col</key><integer>5</integer>
216// CHECK-NEXT:            <key>file</key><integer>0</integer>
217// CHECK-NEXT:           </dict>
218// CHECK-NEXT:           <dict>
219// CHECK-NEXT:            <key>line</key><integer>56</integer>
220// CHECK-NEXT:            <key>col</key><integer>6</integer>
221// CHECK-NEXT:            <key>file</key><integer>0</integer>
222// CHECK-NEXT:           </dict>
223// CHECK-NEXT:          </array>
224// CHECK-NEXT:        </dict>
225// CHECK-NEXT:       </array>
226// CHECK-NEXT:     </dict>
227// CHECK-NEXT:     <dict>
228// CHECK-NEXT:      <key>kind</key><string>control</string>
229// CHECK-NEXT:      <key>edges</key>
230// CHECK-NEXT:       <array>
231// CHECK-NEXT:        <dict>
232// CHECK-NEXT:         <key>start</key>
233// CHECK-NEXT:          <array>
234// CHECK-NEXT:           <dict>
235// CHECK-NEXT:            <key>line</key><integer>56</integer>
236// CHECK-NEXT:            <key>col</key><integer>5</integer>
237// CHECK-NEXT:            <key>file</key><integer>0</integer>
238// CHECK-NEXT:           </dict>
239// CHECK-NEXT:           <dict>
240// CHECK-NEXT:            <key>line</key><integer>56</integer>
241// CHECK-NEXT:            <key>col</key><integer>6</integer>
242// CHECK-NEXT:            <key>file</key><integer>0</integer>
243// CHECK-NEXT:           </dict>
244// CHECK-NEXT:          </array>
245// CHECK-NEXT:         <key>end</key>
246// CHECK-NEXT:          <array>
247// CHECK-NEXT:           <dict>
248// CHECK-NEXT:            <key>line</key><integer>56</integer>
249// CHECK-NEXT:            <key>col</key><integer>9</integer>
250// CHECK-NEXT:            <key>file</key><integer>0</integer>
251// CHECK-NEXT:           </dict>
252// CHECK-NEXT:           <dict>
253// CHECK-NEXT:            <key>line</key><integer>56</integer>
254// CHECK-NEXT:            <key>col</key><integer>11</integer>
255// CHECK-NEXT:            <key>file</key><integer>0</integer>
256// CHECK-NEXT:           </dict>
257// CHECK-NEXT:          </array>
258// CHECK-NEXT:        </dict>
259// CHECK-NEXT:       </array>
260// CHECK-NEXT:     </dict>
261// CHECK-NEXT:     <dict>
262// CHECK-NEXT:      <key>kind</key><string>event</string>
263// CHECK-NEXT:      <key>location</key>
264// CHECK-NEXT:      <dict>
265// CHECK-NEXT:       <key>line</key><integer>56</integer>
266// CHECK-NEXT:       <key>col</key><integer>9</integer>
267// CHECK-NEXT:       <key>file</key><integer>0</integer>
268// CHECK-NEXT:      </dict>
269// CHECK-NEXT:      <key>ranges</key>
270// CHECK-NEXT:      <array>
271// CHECK-NEXT:        <array>
272// CHECK-NEXT:         <dict>
273// CHECK-NEXT:          <key>line</key><integer>56</integer>
274// CHECK-NEXT:          <key>col</key><integer>9</integer>
275// CHECK-NEXT:          <key>file</key><integer>0</integer>
276// CHECK-NEXT:         </dict>
277// CHECK-NEXT:         <dict>
278// CHECK-NEXT:          <key>line</key><integer>56</integer>
279// CHECK-NEXT:          <key>col</key><integer>11</integer>
280// CHECK-NEXT:          <key>file</key><integer>0</integer>
281// CHECK-NEXT:         </dict>
282// CHECK-NEXT:        </array>
283// CHECK-NEXT:      </array>
284// CHECK-NEXT:      <key>depth</key><integer>1</integer>
285// CHECK-NEXT:      <key>extended_message</key>
286// CHECK-NEXT:      <string>Assuming &apos;err&apos; is not equal to 0</string>
287// CHECK-NEXT:      <key>message</key>
288// CHECK-NEXT:      <string>Assuming &apos;err&apos; is not equal to 0</string>
289// CHECK-NEXT:     </dict>
290// CHECK-NEXT:     <dict>
291// CHECK-NEXT:      <key>kind</key><string>control</string>
292// CHECK-NEXT:      <key>edges</key>
293// CHECK-NEXT:       <array>
294// CHECK-NEXT:        <dict>
295// CHECK-NEXT:         <key>start</key>
296// CHECK-NEXT:          <array>
297// CHECK-NEXT:           <dict>
298// CHECK-NEXT:            <key>line</key><integer>56</integer>
299// CHECK-NEXT:            <key>col</key><integer>9</integer>
300// CHECK-NEXT:            <key>file</key><integer>0</integer>
301// CHECK-NEXT:           </dict>
302// CHECK-NEXT:           <dict>
303// CHECK-NEXT:            <key>line</key><integer>56</integer>
304// CHECK-NEXT:            <key>col</key><integer>11</integer>
305// CHECK-NEXT:            <key>file</key><integer>0</integer>
306// CHECK-NEXT:           </dict>
307// CHECK-NEXT:          </array>
308// CHECK-NEXT:         <key>end</key>
309// CHECK-NEXT:          <array>
310// CHECK-NEXT:           <dict>
311// CHECK-NEXT:            <key>line</key><integer>59</integer>
312// CHECK-NEXT:            <key>col</key><integer>9</integer>
313// CHECK-NEXT:            <key>file</key><integer>0</integer>
314// CHECK-NEXT:           </dict>
315// CHECK-NEXT:           <dict>
316// CHECK-NEXT:            <key>line</key><integer>59</integer>
317// CHECK-NEXT:            <key>col</key><integer>17</integer>
318// CHECK-NEXT:            <key>file</key><integer>0</integer>
319// CHECK-NEXT:           </dict>
320// CHECK-NEXT:          </array>
321// CHECK-NEXT:        </dict>
322// CHECK-NEXT:       </array>
323// CHECK-NEXT:     </dict>
324// CHECK-NEXT:     <dict>
325// CHECK-NEXT:      <key>kind</key><string>control</string>
326// CHECK-NEXT:      <key>edges</key>
327// CHECK-NEXT:       <array>
328// CHECK-NEXT:        <dict>
329// CHECK-NEXT:         <key>start</key>
330// CHECK-NEXT:          <array>
331// CHECK-NEXT:           <dict>
332// CHECK-NEXT:            <key>line</key><integer>59</integer>
333// CHECK-NEXT:            <key>col</key><integer>9</integer>
334// CHECK-NEXT:            <key>file</key><integer>0</integer>
335// CHECK-NEXT:           </dict>
336// CHECK-NEXT:           <dict>
337// CHECK-NEXT:            <key>line</key><integer>59</integer>
338// CHECK-NEXT:            <key>col</key><integer>17</integer>
339// CHECK-NEXT:            <key>file</key><integer>0</integer>
340// CHECK-NEXT:           </dict>
341// CHECK-NEXT:          </array>
342// CHECK-NEXT:         <key>end</key>
343// CHECK-NEXT:          <array>
344// CHECK-NEXT:           <dict>
345// CHECK-NEXT:            <key>line</key><integer>60</integer>
346// CHECK-NEXT:            <key>col</key><integer>9</integer>
347// CHECK-NEXT:            <key>file</key><integer>0</integer>
348// CHECK-NEXT:           </dict>
349// CHECK-NEXT:           <dict>
350// CHECK-NEXT:            <key>line</key><integer>60</integer>
351// CHECK-NEXT:            <key>col</key><integer>11</integer>
352// CHECK-NEXT:            <key>file</key><integer>0</integer>
353// CHECK-NEXT:           </dict>
354// CHECK-NEXT:          </array>
355// CHECK-NEXT:        </dict>
356// CHECK-NEXT:       </array>
357// CHECK-NEXT:     </dict>
358// CHECK-NEXT:     <dict>
359// CHECK-NEXT:      <key>kind</key><string>event</string>
360// CHECK-NEXT:      <key>location</key>
361// CHECK-NEXT:      <dict>
362// CHECK-NEXT:       <key>line</key><integer>60</integer>
363// CHECK-NEXT:       <key>col</key><integer>9</integer>
364// CHECK-NEXT:       <key>file</key><integer>0</integer>
365// CHECK-NEXT:      </dict>
366// CHECK-NEXT:      <key>ranges</key>
367// CHECK-NEXT:      <array>
368// CHECK-NEXT:        <array>
369// CHECK-NEXT:         <dict>
370// CHECK-NEXT:          <key>line</key><integer>60</integer>
371// CHECK-NEXT:          <key>col</key><integer>9</integer>
372// CHECK-NEXT:          <key>file</key><integer>0</integer>
373// CHECK-NEXT:         </dict>
374// CHECK-NEXT:         <dict>
375// CHECK-NEXT:          <key>line</key><integer>60</integer>
376// CHECK-NEXT:          <key>col</key><integer>15</integer>
377// CHECK-NEXT:          <key>file</key><integer>0</integer>
378// CHECK-NEXT:         </dict>
379// CHECK-NEXT:        </array>
380// CHECK-NEXT:      </array>
381// CHECK-NEXT:      <key>depth</key><integer>1</integer>
382// CHECK-NEXT:      <key>extended_message</key>
383// CHECK-NEXT:      <string>nil object reference stored to &apos;ref&apos;</string>
384// CHECK-NEXT:      <key>message</key>
385// CHECK-NEXT:      <string>nil object reference stored to &apos;ref&apos;</string>
386// CHECK-NEXT:     </dict>
387// CHECK-NEXT:     <dict>
388// CHECK-NEXT:      <key>kind</key><string>control</string>
389// CHECK-NEXT:      <key>edges</key>
390// CHECK-NEXT:       <array>
391// CHECK-NEXT:        <dict>
392// CHECK-NEXT:         <key>start</key>
393// CHECK-NEXT:          <array>
394// CHECK-NEXT:           <dict>
395// CHECK-NEXT:            <key>line</key><integer>60</integer>
396// CHECK-NEXT:            <key>col</key><integer>9</integer>
397// CHECK-NEXT:            <key>file</key><integer>0</integer>
398// CHECK-NEXT:           </dict>
399// CHECK-NEXT:           <dict>
400// CHECK-NEXT:            <key>line</key><integer>60</integer>
401// CHECK-NEXT:            <key>col</key><integer>11</integer>
402// CHECK-NEXT:            <key>file</key><integer>0</integer>
403// CHECK-NEXT:           </dict>
404// CHECK-NEXT:          </array>
405// CHECK-NEXT:         <key>end</key>
406// CHECK-NEXT:          <array>
407// CHECK-NEXT:           <dict>
408// CHECK-NEXT:            <key>line</key><integer>62</integer>
409// CHECK-NEXT:            <key>col</key><integer>5</integer>
410// CHECK-NEXT:            <key>file</key><integer>0</integer>
411// CHECK-NEXT:           </dict>
412// CHECK-NEXT:           <dict>
413// CHECK-NEXT:            <key>line</key><integer>62</integer>
414// CHECK-NEXT:            <key>col</key><integer>5</integer>
415// CHECK-NEXT:            <key>file</key><integer>0</integer>
416// CHECK-NEXT:           </dict>
417// CHECK-NEXT:          </array>
418// CHECK-NEXT:        </dict>
419// CHECK-NEXT:       </array>
420// CHECK-NEXT:     </dict>
421// CHECK-NEXT:     <dict>
422// CHECK-NEXT:      <key>kind</key><string>event</string>
423// CHECK-NEXT:      <key>location</key>
424// CHECK-NEXT:      <dict>
425// CHECK-NEXT:       <key>line</key><integer>62</integer>
426// CHECK-NEXT:       <key>col</key><integer>5</integer>
427// CHECK-NEXT:       <key>file</key><integer>0</integer>
428// CHECK-NEXT:      </dict>
429// CHECK-NEXT:      <key>ranges</key>
430// CHECK-NEXT:      <array>
431// CHECK-NEXT:        <array>
432// CHECK-NEXT:         <dict>
433// CHECK-NEXT:          <key>line</key><integer>62</integer>
434// CHECK-NEXT:          <key>col</key><integer>5</integer>
435// CHECK-NEXT:          <key>file</key><integer>0</integer>
436// CHECK-NEXT:         </dict>
437// CHECK-NEXT:         <dict>
438// CHECK-NEXT:          <key>line</key><integer>62</integer>
439// CHECK-NEXT:          <key>col</key><integer>19</integer>
440// CHECK-NEXT:          <key>file</key><integer>0</integer>
441// CHECK-NEXT:         </dict>
442// CHECK-NEXT:        </array>
443// CHECK-NEXT:      </array>
444// CHECK-NEXT:      <key>depth</key><integer>1</integer>
445// CHECK-NEXT:      <key>extended_message</key>
446// CHECK-NEXT:      <string>nil object reference stored to &apos;storeRef&apos;</string>
447// CHECK-NEXT:      <key>message</key>
448// CHECK-NEXT:      <string>nil object reference stored to &apos;storeRef&apos;</string>
449// CHECK-NEXT:     </dict>
450// CHECK-NEXT:     <dict>
451// CHECK-NEXT:      <key>kind</key><string>event</string>
452// CHECK-NEXT:      <key>location</key>
453// CHECK-NEXT:      <dict>
454// CHECK-NEXT:       <key>line</key><integer>36</integer>
455// CHECK-NEXT:       <key>col</key><integer>5</integer>
456// CHECK-NEXT:       <key>file</key><integer>0</integer>
457// CHECK-NEXT:      </dict>
458// CHECK-NEXT:      <key>ranges</key>
459// CHECK-NEXT:      <array>
460// CHECK-NEXT:        <array>
461// CHECK-NEXT:         <dict>
462// CHECK-NEXT:          <key>line</key><integer>36</integer>
463// CHECK-NEXT:          <key>col</key><integer>5</integer>
464// CHECK-NEXT:          <key>file</key><integer>0</integer>
465// CHECK-NEXT:         </dict>
466// CHECK-NEXT:         <dict>
467// CHECK-NEXT:          <key>line</key><integer>36</integer>
468// CHECK-NEXT:          <key>col</key><integer>27</integer>
469// CHECK-NEXT:          <key>file</key><integer>0</integer>
470// CHECK-NEXT:         </dict>
471// CHECK-NEXT:        </array>
472// CHECK-NEXT:      </array>
473// CHECK-NEXT:      <key>depth</key><integer>0</integer>
474// CHECK-NEXT:      <key>extended_message</key>
475// CHECK-NEXT:      <string>Returning from &apos;CreateRef&apos;</string>
476// CHECK-NEXT:      <key>message</key>
477// CHECK-NEXT:      <string>Returning from &apos;CreateRef&apos;</string>
478// CHECK-NEXT:     </dict>
479// CHECK-NEXT:     <dict>
480// CHECK-NEXT:      <key>kind</key><string>control</string>
481// CHECK-NEXT:      <key>edges</key>
482// CHECK-NEXT:       <array>
483// CHECK-NEXT:        <dict>
484// CHECK-NEXT:         <key>start</key>
485// CHECK-NEXT:          <array>
486// CHECK-NEXT:           <dict>
487// CHECK-NEXT:            <key>line</key><integer>36</integer>
488// CHECK-NEXT:            <key>col</key><integer>5</integer>
489// CHECK-NEXT:            <key>file</key><integer>0</integer>
490// CHECK-NEXT:           </dict>
491// CHECK-NEXT:           <dict>
492// CHECK-NEXT:            <key>line</key><integer>36</integer>
493// CHECK-NEXT:            <key>col</key><integer>13</integer>
494// CHECK-NEXT:            <key>file</key><integer>0</integer>
495// CHECK-NEXT:           </dict>
496// CHECK-NEXT:          </array>
497// CHECK-NEXT:         <key>end</key>
498// CHECK-NEXT:          <array>
499// CHECK-NEXT:           <dict>
500// CHECK-NEXT:            <key>line</key><integer>39</integer>
501// CHECK-NEXT:            <key>col</key><integer>5</integer>
502// CHECK-NEXT:            <key>file</key><integer>0</integer>
503// CHECK-NEXT:           </dict>
504// CHECK-NEXT:           <dict>
505// CHECK-NEXT:            <key>line</key><integer>39</integer>
506// CHECK-NEXT:            <key>col</key><integer>13</integer>
507// CHECK-NEXT:            <key>file</key><integer>0</integer>
508// CHECK-NEXT:           </dict>
509// CHECK-NEXT:          </array>
510// CHECK-NEXT:        </dict>
511// CHECK-NEXT:       </array>
512// CHECK-NEXT:     </dict>
513// CHECK-NEXT:     <dict>
514// CHECK-NEXT:      <key>kind</key><string>event</string>
515// CHECK-NEXT:      <key>location</key>
516// CHECK-NEXT:      <dict>
517// CHECK-NEXT:       <key>line</key><integer>39</integer>
518// CHECK-NEXT:       <key>col</key><integer>5</integer>
519// CHECK-NEXT:       <key>file</key><integer>0</integer>
520// CHECK-NEXT:      </dict>
521// CHECK-NEXT:      <key>ranges</key>
522// CHECK-NEXT:      <array>
523// CHECK-NEXT:        <array>
524// CHECK-NEXT:         <dict>
525// CHECK-NEXT:          <key>line</key><integer>39</integer>
526// CHECK-NEXT:          <key>col</key><integer>15</integer>
527// CHECK-NEXT:          <key>file</key><integer>0</integer>
528// CHECK-NEXT:         </dict>
529// CHECK-NEXT:         <dict>
530// CHECK-NEXT:          <key>line</key><integer>39</integer>
531// CHECK-NEXT:          <key>col</key><integer>22</integer>
532// CHECK-NEXT:          <key>file</key><integer>0</integer>
533// CHECK-NEXT:         </dict>
534// CHECK-NEXT:        </array>
535// CHECK-NEXT:      </array>
536// CHECK-NEXT:      <key>depth</key><integer>0</integer>
537// CHECK-NEXT:      <key>extended_message</key>
538// CHECK-NEXT:      <string>Null pointer argument in call to CFRelease</string>
539// CHECK-NEXT:      <key>message</key>
540// CHECK-NEXT:      <string>Null pointer argument in call to CFRelease</string>
541// CHECK-NEXT:     </dict>
542// CHECK-NEXT:    </array>
543// CHECK-NEXT:    <key>description</key><string>Null pointer argument in call to CFRelease</string>
544// CHECK-NEXT:    <key>category</key><string>API Misuse (Apple)</string>
545// CHECK-NEXT:    <key>type</key><string>null passed to CF memory management function</string>
546// CHECK-NEXT:    <key>check_name</key><string>osx.coreFoundation.CFRetainRelease</string>
547// CHECK-NEXT:    <!-- This hash is experimental and going to change! -->
548// CHECK-NEXT:    <key>issue_hash_content_of_line_in_context</key><string>102c9a15c089fdc618a4c209bd5560bc</string>
549// CHECK-NEXT:   <key>issue_context_kind</key><string>Objective-C method</string>
550// CHECK-NEXT:   <key>issue_context</key><string>test</string>
551// CHECK-NEXT:   <key>issue_hash_function_offset</key><string>5</string>
552// CHECK-NEXT:   <key>location</key>
553// CHECK-NEXT:   <dict>
554// CHECK-NEXT:    <key>line</key><integer>39</integer>
555// CHECK-NEXT:    <key>col</key><integer>5</integer>
556// CHECK-NEXT:    <key>file</key><integer>0</integer>
557// CHECK-NEXT:   </dict>
558// CHECK-NEXT:   </dict>
559// CHECK-NEXT:   <dict>
560// CHECK-NEXT:    <key>path</key>
561// CHECK-NEXT:    <array>
562// CHECK-NEXT:     <dict>
563// CHECK-NEXT:      <key>kind</key><string>event</string>
564// CHECK-NEXT:      <key>location</key>
565// CHECK-NEXT:      <dict>
566// CHECK-NEXT:       <key>line</key><integer>44</integer>
567// CHECK-NEXT:       <key>col</key><integer>5</integer>
568// CHECK-NEXT:       <key>file</key><integer>0</integer>
569// CHECK-NEXT:      </dict>
570// CHECK-NEXT:      <key>ranges</key>
571// CHECK-NEXT:      <array>
572// CHECK-NEXT:        <array>
573// CHECK-NEXT:         <dict>
574// CHECK-NEXT:          <key>line</key><integer>44</integer>
575// CHECK-NEXT:          <key>col</key><integer>5</integer>
576// CHECK-NEXT:          <key>file</key><integer>0</integer>
577// CHECK-NEXT:         </dict>
578// CHECK-NEXT:         <dict>
579// CHECK-NEXT:          <key>line</key><integer>44</integer>
580// CHECK-NEXT:          <key>col</key><integer>30</integer>
581// CHECK-NEXT:          <key>file</key><integer>0</integer>
582// CHECK-NEXT:         </dict>
583// CHECK-NEXT:        </array>
584// CHECK-NEXT:      </array>
585// CHECK-NEXT:      <key>depth</key><integer>0</integer>
586// CHECK-NEXT:      <key>extended_message</key>
587// CHECK-NEXT:      <string>&apos;storeRef&apos; declared without an initial value</string>
588// CHECK-NEXT:      <key>message</key>
589// CHECK-NEXT:      <string>&apos;storeRef&apos; declared without an initial value</string>
590// CHECK-NEXT:     </dict>
591// CHECK-NEXT:     <dict>
592// CHECK-NEXT:      <key>kind</key><string>control</string>
593// CHECK-NEXT:      <key>edges</key>
594// CHECK-NEXT:       <array>
595// CHECK-NEXT:        <dict>
596// CHECK-NEXT:         <key>start</key>
597// CHECK-NEXT:          <array>
598// CHECK-NEXT:           <dict>
599// CHECK-NEXT:            <key>line</key><integer>44</integer>
600// CHECK-NEXT:            <key>col</key><integer>5</integer>
601// CHECK-NEXT:            <key>file</key><integer>0</integer>
602// CHECK-NEXT:           </dict>
603// CHECK-NEXT:           <dict>
604// CHECK-NEXT:            <key>line</key><integer>44</integer>
605// CHECK-NEXT:            <key>col</key><integer>21</integer>
606// CHECK-NEXT:            <key>file</key><integer>0</integer>
607// CHECK-NEXT:           </dict>
608// CHECK-NEXT:          </array>
609// CHECK-NEXT:         <key>end</key>
610// CHECK-NEXT:          <array>
611// CHECK-NEXT:           <dict>
612// CHECK-NEXT:            <key>line</key><integer>45</integer>
613// CHECK-NEXT:            <key>col</key><integer>5</integer>
614// CHECK-NEXT:            <key>file</key><integer>0</integer>
615// CHECK-NEXT:           </dict>
616// CHECK-NEXT:           <dict>
617// CHECK-NEXT:            <key>line</key><integer>45</integer>
618// CHECK-NEXT:            <key>col</key><integer>18</integer>
619// CHECK-NEXT:            <key>file</key><integer>0</integer>
620// CHECK-NEXT:           </dict>
621// CHECK-NEXT:          </array>
622// CHECK-NEXT:        </dict>
623// CHECK-NEXT:       </array>
624// CHECK-NEXT:     </dict>
625// CHECK-NEXT:     <dict>
626// CHECK-NEXT:      <key>kind</key><string>event</string>
627// CHECK-NEXT:      <key>location</key>
628// CHECK-NEXT:      <dict>
629// CHECK-NEXT:       <key>line</key><integer>45</integer>
630// CHECK-NEXT:       <key>col</key><integer>5</integer>
631// CHECK-NEXT:       <key>file</key><integer>0</integer>
632// CHECK-NEXT:      </dict>
633// CHECK-NEXT:      <key>ranges</key>
634// CHECK-NEXT:      <array>
635// CHECK-NEXT:        <array>
636// CHECK-NEXT:         <dict>
637// CHECK-NEXT:          <key>line</key><integer>45</integer>
638// CHECK-NEXT:          <key>col</key><integer>5</integer>
639// CHECK-NEXT:          <key>file</key><integer>0</integer>
640// CHECK-NEXT:         </dict>
641// CHECK-NEXT:         <dict>
642// CHECK-NEXT:          <key>line</key><integer>45</integer>
643// CHECK-NEXT:          <key>col</key><integer>32</integer>
644// CHECK-NEXT:          <key>file</key><integer>0</integer>
645// CHECK-NEXT:         </dict>
646// CHECK-NEXT:        </array>
647// CHECK-NEXT:      </array>
648// CHECK-NEXT:      <key>depth</key><integer>0</integer>
649// CHECK-NEXT:      <key>extended_message</key>
650// CHECK-NEXT:      <string>Calling &apos;CreateRefUndef&apos;</string>
651// CHECK-NEXT:      <key>message</key>
652// CHECK-NEXT:      <string>Calling &apos;CreateRefUndef&apos;</string>
653// CHECK-NEXT:     </dict>
654// CHECK-NEXT:     <dict>
655// CHECK-NEXT:      <key>kind</key><string>event</string>
656// CHECK-NEXT:      <key>location</key>
657// CHECK-NEXT:      <dict>
658// CHECK-NEXT:       <key>line</key><integer>65</integer>
659// CHECK-NEXT:       <key>col</key><integer>1</integer>
660// CHECK-NEXT:       <key>file</key><integer>0</integer>
661// CHECK-NEXT:      </dict>
662// CHECK-NEXT:      <key>depth</key><integer>1</integer>
663// CHECK-NEXT:      <key>extended_message</key>
664// CHECK-NEXT:      <string>Entered call from &apos;test2&apos;</string>
665// CHECK-NEXT:      <key>message</key>
666// CHECK-NEXT:      <string>Entered call from &apos;test2&apos;</string>
667// CHECK-NEXT:     </dict>
668// CHECK-NEXT:     <dict>
669// CHECK-NEXT:      <key>kind</key><string>control</string>
670// CHECK-NEXT:      <key>edges</key>
671// CHECK-NEXT:       <array>
672// CHECK-NEXT:        <dict>
673// CHECK-NEXT:         <key>start</key>
674// CHECK-NEXT:          <array>
675// CHECK-NEXT:           <dict>
676// CHECK-NEXT:            <key>line</key><integer>65</integer>
677// CHECK-NEXT:            <key>col</key><integer>1</integer>
678// CHECK-NEXT:            <key>file</key><integer>0</integer>
679// CHECK-NEXT:           </dict>
680// CHECK-NEXT:           <dict>
681// CHECK-NEXT:            <key>line</key><integer>65</integer>
682// CHECK-NEXT:            <key>col</key><integer>6</integer>
683// CHECK-NEXT:            <key>file</key><integer>0</integer>
684// CHECK-NEXT:           </dict>
685// CHECK-NEXT:          </array>
686// CHECK-NEXT:         <key>end</key>
687// CHECK-NEXT:          <array>
688// CHECK-NEXT:           <dict>
689// CHECK-NEXT:            <key>line</key><integer>66</integer>
690// CHECK-NEXT:            <key>col</key><integer>3</integer>
691// CHECK-NEXT:            <key>file</key><integer>0</integer>
692// CHECK-NEXT:           </dict>
693// CHECK-NEXT:           <dict>
694// CHECK-NEXT:            <key>line</key><integer>66</integer>
695// CHECK-NEXT:            <key>col</key><integer>10</integer>
696// CHECK-NEXT:            <key>file</key><integer>0</integer>
697// CHECK-NEXT:           </dict>
698// CHECK-NEXT:          </array>
699// CHECK-NEXT:        </dict>
700// CHECK-NEXT:       </array>
701// CHECK-NEXT:     </dict>
702// CHECK-NEXT:     <dict>
703// CHECK-NEXT:      <key>kind</key><string>control</string>
704// CHECK-NEXT:      <key>edges</key>
705// CHECK-NEXT:       <array>
706// CHECK-NEXT:        <dict>
707// CHECK-NEXT:         <key>start</key>
708// CHECK-NEXT:          <array>
709// CHECK-NEXT:           <dict>
710// CHECK-NEXT:            <key>line</key><integer>66</integer>
711// CHECK-NEXT:            <key>col</key><integer>3</integer>
712// CHECK-NEXT:            <key>file</key><integer>0</integer>
713// CHECK-NEXT:           </dict>
714// CHECK-NEXT:           <dict>
715// CHECK-NEXT:            <key>line</key><integer>66</integer>
716// CHECK-NEXT:            <key>col</key><integer>10</integer>
717// CHECK-NEXT:            <key>file</key><integer>0</integer>
718// CHECK-NEXT:           </dict>
719// CHECK-NEXT:          </array>
720// CHECK-NEXT:         <key>end</key>
721// CHECK-NEXT:          <array>
722// CHECK-NEXT:           <dict>
723// CHECK-NEXT:            <key>line</key><integer>68</integer>
724// CHECK-NEXT:            <key>col</key><integer>3</integer>
725// CHECK-NEXT:            <key>file</key><integer>0</integer>
726// CHECK-NEXT:           </dict>
727// CHECK-NEXT:           <dict>
728// CHECK-NEXT:            <key>line</key><integer>68</integer>
729// CHECK-NEXT:            <key>col</key><integer>4</integer>
730// CHECK-NEXT:            <key>file</key><integer>0</integer>
731// CHECK-NEXT:           </dict>
732// CHECK-NEXT:          </array>
733// CHECK-NEXT:        </dict>
734// CHECK-NEXT:       </array>
735// CHECK-NEXT:     </dict>
736// CHECK-NEXT:     <dict>
737// CHECK-NEXT:      <key>kind</key><string>control</string>
738// CHECK-NEXT:      <key>edges</key>
739// CHECK-NEXT:       <array>
740// CHECK-NEXT:        <dict>
741// CHECK-NEXT:         <key>start</key>
742// CHECK-NEXT:          <array>
743// CHECK-NEXT:           <dict>
744// CHECK-NEXT:            <key>line</key><integer>68</integer>
745// CHECK-NEXT:            <key>col</key><integer>3</integer>
746// CHECK-NEXT:            <key>file</key><integer>0</integer>
747// CHECK-NEXT:           </dict>
748// CHECK-NEXT:           <dict>
749// CHECK-NEXT:            <key>line</key><integer>68</integer>
750// CHECK-NEXT:            <key>col</key><integer>4</integer>
751// CHECK-NEXT:            <key>file</key><integer>0</integer>
752// CHECK-NEXT:           </dict>
753// CHECK-NEXT:          </array>
754// CHECK-NEXT:         <key>end</key>
755// CHECK-NEXT:          <array>
756// CHECK-NEXT:           <dict>
757// CHECK-NEXT:            <key>line</key><integer>68</integer>
758// CHECK-NEXT:            <key>col</key><integer>7</integer>
759// CHECK-NEXT:            <key>file</key><integer>0</integer>
760// CHECK-NEXT:           </dict>
761// CHECK-NEXT:           <dict>
762// CHECK-NEXT:            <key>line</key><integer>68</integer>
763// CHECK-NEXT:            <key>col</key><integer>9</integer>
764// CHECK-NEXT:            <key>file</key><integer>0</integer>
765// CHECK-NEXT:           </dict>
766// CHECK-NEXT:          </array>
767// CHECK-NEXT:        </dict>
768// CHECK-NEXT:       </array>
769// CHECK-NEXT:     </dict>
770// CHECK-NEXT:     <dict>
771// CHECK-NEXT:      <key>kind</key><string>event</string>
772// CHECK-NEXT:      <key>location</key>
773// CHECK-NEXT:      <dict>
774// CHECK-NEXT:       <key>line</key><integer>68</integer>
775// CHECK-NEXT:       <key>col</key><integer>7</integer>
776// CHECK-NEXT:       <key>file</key><integer>0</integer>
777// CHECK-NEXT:      </dict>
778// CHECK-NEXT:      <key>ranges</key>
779// CHECK-NEXT:      <array>
780// CHECK-NEXT:        <array>
781// CHECK-NEXT:         <dict>
782// CHECK-NEXT:          <key>line</key><integer>68</integer>
783// CHECK-NEXT:          <key>col</key><integer>7</integer>
784// CHECK-NEXT:          <key>file</key><integer>0</integer>
785// CHECK-NEXT:         </dict>
786// CHECK-NEXT:         <dict>
787// CHECK-NEXT:          <key>line</key><integer>68</integer>
788// CHECK-NEXT:          <key>col</key><integer>9</integer>
789// CHECK-NEXT:          <key>file</key><integer>0</integer>
790// CHECK-NEXT:         </dict>
791// CHECK-NEXT:        </array>
792// CHECK-NEXT:      </array>
793// CHECK-NEXT:      <key>depth</key><integer>1</integer>
794// CHECK-NEXT:      <key>extended_message</key>
795// CHECK-NEXT:      <string>Assuming &apos;err&apos; is not equal to 0</string>
796// CHECK-NEXT:      <key>message</key>
797// CHECK-NEXT:      <string>Assuming &apos;err&apos; is not equal to 0</string>
798// CHECK-NEXT:     </dict>
799// CHECK-NEXT:     <dict>
800// CHECK-NEXT:      <key>kind</key><string>control</string>
801// CHECK-NEXT:      <key>edges</key>
802// CHECK-NEXT:       <array>
803// CHECK-NEXT:        <dict>
804// CHECK-NEXT:         <key>start</key>
805// CHECK-NEXT:          <array>
806// CHECK-NEXT:           <dict>
807// CHECK-NEXT:            <key>line</key><integer>68</integer>
808// CHECK-NEXT:            <key>col</key><integer>7</integer>
809// CHECK-NEXT:            <key>file</key><integer>0</integer>
810// CHECK-NEXT:           </dict>
811// CHECK-NEXT:           <dict>
812// CHECK-NEXT:            <key>line</key><integer>68</integer>
813// CHECK-NEXT:            <key>col</key><integer>9</integer>
814// CHECK-NEXT:            <key>file</key><integer>0</integer>
815// CHECK-NEXT:           </dict>
816// CHECK-NEXT:          </array>
817// CHECK-NEXT:         <key>end</key>
818// CHECK-NEXT:          <array>
819// CHECK-NEXT:           <dict>
820// CHECK-NEXT:            <key>line</key><integer>71</integer>
821// CHECK-NEXT:            <key>col</key><integer>5</integer>
822// CHECK-NEXT:            <key>file</key><integer>0</integer>
823// CHECK-NEXT:           </dict>
824// CHECK-NEXT:           <dict>
825// CHECK-NEXT:            <key>line</key><integer>71</integer>
826// CHECK-NEXT:            <key>col</key><integer>13</integer>
827// CHECK-NEXT:            <key>file</key><integer>0</integer>
828// CHECK-NEXT:           </dict>
829// CHECK-NEXT:          </array>
830// CHECK-NEXT:        </dict>
831// CHECK-NEXT:       </array>
832// CHECK-NEXT:     </dict>
833// CHECK-NEXT:     <dict>
834// CHECK-NEXT:      <key>kind</key><string>event</string>
835// CHECK-NEXT:      <key>location</key>
836// CHECK-NEXT:      <dict>
837// CHECK-NEXT:       <key>line</key><integer>45</integer>
838// CHECK-NEXT:       <key>col</key><integer>5</integer>
839// CHECK-NEXT:       <key>file</key><integer>0</integer>
840// CHECK-NEXT:      </dict>
841// CHECK-NEXT:      <key>ranges</key>
842// CHECK-NEXT:      <array>
843// CHECK-NEXT:        <array>
844// CHECK-NEXT:         <dict>
845// CHECK-NEXT:          <key>line</key><integer>45</integer>
846// CHECK-NEXT:          <key>col</key><integer>5</integer>
847// CHECK-NEXT:          <key>file</key><integer>0</integer>
848// CHECK-NEXT:         </dict>
849// CHECK-NEXT:         <dict>
850// CHECK-NEXT:          <key>line</key><integer>45</integer>
851// CHECK-NEXT:          <key>col</key><integer>32</integer>
852// CHECK-NEXT:          <key>file</key><integer>0</integer>
853// CHECK-NEXT:         </dict>
854// CHECK-NEXT:        </array>
855// CHECK-NEXT:      </array>
856// CHECK-NEXT:      <key>depth</key><integer>0</integer>
857// CHECK-NEXT:      <key>extended_message</key>
858// CHECK-NEXT:      <string>Returning from &apos;CreateRefUndef&apos;</string>
859// CHECK-NEXT:      <key>message</key>
860// CHECK-NEXT:      <string>Returning from &apos;CreateRefUndef&apos;</string>
861// CHECK-NEXT:     </dict>
862// CHECK-NEXT:     <dict>
863// CHECK-NEXT:      <key>kind</key><string>control</string>
864// CHECK-NEXT:      <key>edges</key>
865// CHECK-NEXT:       <array>
866// CHECK-NEXT:        <dict>
867// CHECK-NEXT:         <key>start</key>
868// CHECK-NEXT:          <array>
869// CHECK-NEXT:           <dict>
870// CHECK-NEXT:            <key>line</key><integer>45</integer>
871// CHECK-NEXT:            <key>col</key><integer>5</integer>
872// CHECK-NEXT:            <key>file</key><integer>0</integer>
873// CHECK-NEXT:           </dict>
874// CHECK-NEXT:           <dict>
875// CHECK-NEXT:            <key>line</key><integer>45</integer>
876// CHECK-NEXT:            <key>col</key><integer>18</integer>
877// CHECK-NEXT:            <key>file</key><integer>0</integer>
878// CHECK-NEXT:           </dict>
879// CHECK-NEXT:          </array>
880// CHECK-NEXT:         <key>end</key>
881// CHECK-NEXT:          <array>
882// CHECK-NEXT:           <dict>
883// CHECK-NEXT:            <key>line</key><integer>48</integer>
884// CHECK-NEXT:            <key>col</key><integer>5</integer>
885// CHECK-NEXT:            <key>file</key><integer>0</integer>
886// CHECK-NEXT:           </dict>
887// CHECK-NEXT:           <dict>
888// CHECK-NEXT:            <key>line</key><integer>48</integer>
889// CHECK-NEXT:            <key>col</key><integer>13</integer>
890// CHECK-NEXT:            <key>file</key><integer>0</integer>
891// CHECK-NEXT:           </dict>
892// CHECK-NEXT:          </array>
893// CHECK-NEXT:        </dict>
894// CHECK-NEXT:       </array>
895// CHECK-NEXT:     </dict>
896// CHECK-NEXT:     <dict>
897// CHECK-NEXT:      <key>kind</key><string>event</string>
898// CHECK-NEXT:      <key>location</key>
899// CHECK-NEXT:      <dict>
900// CHECK-NEXT:       <key>line</key><integer>48</integer>
901// CHECK-NEXT:       <key>col</key><integer>5</integer>
902// CHECK-NEXT:       <key>file</key><integer>0</integer>
903// CHECK-NEXT:      </dict>
904// CHECK-NEXT:      <key>ranges</key>
905// CHECK-NEXT:      <array>
906// CHECK-NEXT:        <array>
907// CHECK-NEXT:         <dict>
908// CHECK-NEXT:          <key>line</key><integer>48</integer>
909// CHECK-NEXT:          <key>col</key><integer>15</integer>
910// CHECK-NEXT:          <key>file</key><integer>0</integer>
911// CHECK-NEXT:         </dict>
912// CHECK-NEXT:         <dict>
913// CHECK-NEXT:          <key>line</key><integer>48</integer>
914// CHECK-NEXT:          <key>col</key><integer>22</integer>
915// CHECK-NEXT:          <key>file</key><integer>0</integer>
916// CHECK-NEXT:         </dict>
917// CHECK-NEXT:        </array>
918// CHECK-NEXT:      </array>
919// CHECK-NEXT:      <key>depth</key><integer>0</integer>
920// CHECK-NEXT:      <key>extended_message</key>
921// CHECK-NEXT:      <string>Function call argument is an uninitialized value</string>
922// CHECK-NEXT:      <key>message</key>
923// CHECK-NEXT:      <string>Function call argument is an uninitialized value</string>
924// CHECK-NEXT:     </dict>
925// CHECK-NEXT:    </array>
926// CHECK-NEXT:    <key>description</key><string>Function call argument is an uninitialized value</string>
927// CHECK-NEXT:    <key>category</key><string>Logic error</string>
928// CHECK-NEXT:    <key>type</key><string>Uninitialized argument value</string>
929// CHECK-NEXT:    <key>check_name</key><string>core.CallAndMessage</string>
930// CHECK-NEXT:    <!-- This hash is experimental and going to change! -->
931// CHECK-NEXT:    <key>issue_hash_content_of_line_in_context</key><string>fe2bb14813e15196c0180196fc1cce4c</string>
932// CHECK-NEXT:   <key>issue_context_kind</key><string>Objective-C method</string>
933// CHECK-NEXT:   <key>issue_context</key><string>test2</string>
934// CHECK-NEXT:   <key>issue_hash_function_offset</key><string>5</string>
935// CHECK-NEXT:   <key>location</key>
936// CHECK-NEXT:   <dict>
937// CHECK-NEXT:    <key>line</key><integer>48</integer>
938// CHECK-NEXT:    <key>col</key><integer>5</integer>
939// CHECK-NEXT:    <key>file</key><integer>0</integer>
940// CHECK-NEXT:   </dict>
941// CHECK-NEXT:   </dict>
942// CHECK-NEXT:  </array>
943