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:   <key>issue_context_kind</key><string>Objective-C method</string>
548// CHECK-NEXT:   <key>issue_context</key><string>test</string>
549// CHECK-NEXT:   <key>issue_hash</key><string>5</string>
550// CHECK-NEXT:   <key>location</key>
551// CHECK-NEXT:   <dict>
552// CHECK-NEXT:    <key>line</key><integer>39</integer>
553// CHECK-NEXT:    <key>col</key><integer>5</integer>
554// CHECK-NEXT:    <key>file</key><integer>0</integer>
555// CHECK-NEXT:   </dict>
556// CHECK-NEXT:   </dict>
557// CHECK-NEXT:   <dict>
558// CHECK-NEXT:    <key>path</key>
559// CHECK-NEXT:    <array>
560// CHECK-NEXT:     <dict>
561// CHECK-NEXT:      <key>kind</key><string>event</string>
562// CHECK-NEXT:      <key>location</key>
563// CHECK-NEXT:      <dict>
564// CHECK-NEXT:       <key>line</key><integer>44</integer>
565// CHECK-NEXT:       <key>col</key><integer>5</integer>
566// CHECK-NEXT:       <key>file</key><integer>0</integer>
567// CHECK-NEXT:      </dict>
568// CHECK-NEXT:      <key>ranges</key>
569// CHECK-NEXT:      <array>
570// CHECK-NEXT:        <array>
571// CHECK-NEXT:         <dict>
572// CHECK-NEXT:          <key>line</key><integer>44</integer>
573// CHECK-NEXT:          <key>col</key><integer>5</integer>
574// CHECK-NEXT:          <key>file</key><integer>0</integer>
575// CHECK-NEXT:         </dict>
576// CHECK-NEXT:         <dict>
577// CHECK-NEXT:          <key>line</key><integer>44</integer>
578// CHECK-NEXT:          <key>col</key><integer>30</integer>
579// CHECK-NEXT:          <key>file</key><integer>0</integer>
580// CHECK-NEXT:         </dict>
581// CHECK-NEXT:        </array>
582// CHECK-NEXT:      </array>
583// CHECK-NEXT:      <key>depth</key><integer>0</integer>
584// CHECK-NEXT:      <key>extended_message</key>
585// CHECK-NEXT:      <string>&apos;storeRef&apos; declared without an initial value</string>
586// CHECK-NEXT:      <key>message</key>
587// CHECK-NEXT:      <string>&apos;storeRef&apos; declared without an initial value</string>
588// CHECK-NEXT:     </dict>
589// CHECK-NEXT:     <dict>
590// CHECK-NEXT:      <key>kind</key><string>control</string>
591// CHECK-NEXT:      <key>edges</key>
592// CHECK-NEXT:       <array>
593// CHECK-NEXT:        <dict>
594// CHECK-NEXT:         <key>start</key>
595// CHECK-NEXT:          <array>
596// CHECK-NEXT:           <dict>
597// CHECK-NEXT:            <key>line</key><integer>44</integer>
598// CHECK-NEXT:            <key>col</key><integer>5</integer>
599// CHECK-NEXT:            <key>file</key><integer>0</integer>
600// CHECK-NEXT:           </dict>
601// CHECK-NEXT:           <dict>
602// CHECK-NEXT:            <key>line</key><integer>44</integer>
603// CHECK-NEXT:            <key>col</key><integer>21</integer>
604// CHECK-NEXT:            <key>file</key><integer>0</integer>
605// CHECK-NEXT:           </dict>
606// CHECK-NEXT:          </array>
607// CHECK-NEXT:         <key>end</key>
608// CHECK-NEXT:          <array>
609// CHECK-NEXT:           <dict>
610// CHECK-NEXT:            <key>line</key><integer>45</integer>
611// CHECK-NEXT:            <key>col</key><integer>5</integer>
612// CHECK-NEXT:            <key>file</key><integer>0</integer>
613// CHECK-NEXT:           </dict>
614// CHECK-NEXT:           <dict>
615// CHECK-NEXT:            <key>line</key><integer>45</integer>
616// CHECK-NEXT:            <key>col</key><integer>18</integer>
617// CHECK-NEXT:            <key>file</key><integer>0</integer>
618// CHECK-NEXT:           </dict>
619// CHECK-NEXT:          </array>
620// CHECK-NEXT:        </dict>
621// CHECK-NEXT:       </array>
622// CHECK-NEXT:     </dict>
623// CHECK-NEXT:     <dict>
624// CHECK-NEXT:      <key>kind</key><string>event</string>
625// CHECK-NEXT:      <key>location</key>
626// CHECK-NEXT:      <dict>
627// CHECK-NEXT:       <key>line</key><integer>45</integer>
628// CHECK-NEXT:       <key>col</key><integer>5</integer>
629// CHECK-NEXT:       <key>file</key><integer>0</integer>
630// CHECK-NEXT:      </dict>
631// CHECK-NEXT:      <key>ranges</key>
632// CHECK-NEXT:      <array>
633// CHECK-NEXT:        <array>
634// CHECK-NEXT:         <dict>
635// CHECK-NEXT:          <key>line</key><integer>45</integer>
636// CHECK-NEXT:          <key>col</key><integer>5</integer>
637// CHECK-NEXT:          <key>file</key><integer>0</integer>
638// CHECK-NEXT:         </dict>
639// CHECK-NEXT:         <dict>
640// CHECK-NEXT:          <key>line</key><integer>45</integer>
641// CHECK-NEXT:          <key>col</key><integer>32</integer>
642// CHECK-NEXT:          <key>file</key><integer>0</integer>
643// CHECK-NEXT:         </dict>
644// CHECK-NEXT:        </array>
645// CHECK-NEXT:      </array>
646// CHECK-NEXT:      <key>depth</key><integer>0</integer>
647// CHECK-NEXT:      <key>extended_message</key>
648// CHECK-NEXT:      <string>Calling &apos;CreateRefUndef&apos;</string>
649// CHECK-NEXT:      <key>message</key>
650// CHECK-NEXT:      <string>Calling &apos;CreateRefUndef&apos;</string>
651// CHECK-NEXT:     </dict>
652// CHECK-NEXT:     <dict>
653// CHECK-NEXT:      <key>kind</key><string>event</string>
654// CHECK-NEXT:      <key>location</key>
655// CHECK-NEXT:      <dict>
656// CHECK-NEXT:       <key>line</key><integer>65</integer>
657// CHECK-NEXT:       <key>col</key><integer>1</integer>
658// CHECK-NEXT:       <key>file</key><integer>0</integer>
659// CHECK-NEXT:      </dict>
660// CHECK-NEXT:      <key>depth</key><integer>1</integer>
661// CHECK-NEXT:      <key>extended_message</key>
662// CHECK-NEXT:      <string>Entered call from &apos;test2&apos;</string>
663// CHECK-NEXT:      <key>message</key>
664// CHECK-NEXT:      <string>Entered call from &apos;test2&apos;</string>
665// CHECK-NEXT:     </dict>
666// CHECK-NEXT:     <dict>
667// CHECK-NEXT:      <key>kind</key><string>control</string>
668// CHECK-NEXT:      <key>edges</key>
669// CHECK-NEXT:       <array>
670// CHECK-NEXT:        <dict>
671// CHECK-NEXT:         <key>start</key>
672// CHECK-NEXT:          <array>
673// CHECK-NEXT:           <dict>
674// CHECK-NEXT:            <key>line</key><integer>65</integer>
675// CHECK-NEXT:            <key>col</key><integer>1</integer>
676// CHECK-NEXT:            <key>file</key><integer>0</integer>
677// CHECK-NEXT:           </dict>
678// CHECK-NEXT:           <dict>
679// CHECK-NEXT:            <key>line</key><integer>65</integer>
680// CHECK-NEXT:            <key>col</key><integer>6</integer>
681// CHECK-NEXT:            <key>file</key><integer>0</integer>
682// CHECK-NEXT:           </dict>
683// CHECK-NEXT:          </array>
684// CHECK-NEXT:         <key>end</key>
685// CHECK-NEXT:          <array>
686// CHECK-NEXT:           <dict>
687// CHECK-NEXT:            <key>line</key><integer>66</integer>
688// CHECK-NEXT:            <key>col</key><integer>3</integer>
689// CHECK-NEXT:            <key>file</key><integer>0</integer>
690// CHECK-NEXT:           </dict>
691// CHECK-NEXT:           <dict>
692// CHECK-NEXT:            <key>line</key><integer>66</integer>
693// CHECK-NEXT:            <key>col</key><integer>10</integer>
694// CHECK-NEXT:            <key>file</key><integer>0</integer>
695// CHECK-NEXT:           </dict>
696// CHECK-NEXT:          </array>
697// CHECK-NEXT:        </dict>
698// CHECK-NEXT:       </array>
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>66</integer>
709// CHECK-NEXT:            <key>col</key><integer>3</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>66</integer>
714// CHECK-NEXT:            <key>col</key><integer>10</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>68</integer>
722// CHECK-NEXT:            <key>col</key><integer>3</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>68</integer>
727// CHECK-NEXT:            <key>col</key><integer>4</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>control</string>
736// CHECK-NEXT:      <key>edges</key>
737// CHECK-NEXT:       <array>
738// CHECK-NEXT:        <dict>
739// CHECK-NEXT:         <key>start</key>
740// CHECK-NEXT:          <array>
741// CHECK-NEXT:           <dict>
742// CHECK-NEXT:            <key>line</key><integer>68</integer>
743// CHECK-NEXT:            <key>col</key><integer>3</integer>
744// CHECK-NEXT:            <key>file</key><integer>0</integer>
745// CHECK-NEXT:           </dict>
746// CHECK-NEXT:           <dict>
747// CHECK-NEXT:            <key>line</key><integer>68</integer>
748// CHECK-NEXT:            <key>col</key><integer>4</integer>
749// CHECK-NEXT:            <key>file</key><integer>0</integer>
750// CHECK-NEXT:           </dict>
751// CHECK-NEXT:          </array>
752// CHECK-NEXT:         <key>end</key>
753// CHECK-NEXT:          <array>
754// CHECK-NEXT:           <dict>
755// CHECK-NEXT:            <key>line</key><integer>68</integer>
756// CHECK-NEXT:            <key>col</key><integer>7</integer>
757// CHECK-NEXT:            <key>file</key><integer>0</integer>
758// CHECK-NEXT:           </dict>
759// CHECK-NEXT:           <dict>
760// CHECK-NEXT:            <key>line</key><integer>68</integer>
761// CHECK-NEXT:            <key>col</key><integer>9</integer>
762// CHECK-NEXT:            <key>file</key><integer>0</integer>
763// CHECK-NEXT:           </dict>
764// CHECK-NEXT:          </array>
765// CHECK-NEXT:        </dict>
766// CHECK-NEXT:       </array>
767// CHECK-NEXT:     </dict>
768// CHECK-NEXT:     <dict>
769// CHECK-NEXT:      <key>kind</key><string>event</string>
770// CHECK-NEXT:      <key>location</key>
771// CHECK-NEXT:      <dict>
772// CHECK-NEXT:       <key>line</key><integer>68</integer>
773// CHECK-NEXT:       <key>col</key><integer>7</integer>
774// CHECK-NEXT:       <key>file</key><integer>0</integer>
775// CHECK-NEXT:      </dict>
776// CHECK-NEXT:      <key>ranges</key>
777// CHECK-NEXT:      <array>
778// CHECK-NEXT:        <array>
779// CHECK-NEXT:         <dict>
780// CHECK-NEXT:          <key>line</key><integer>68</integer>
781// CHECK-NEXT:          <key>col</key><integer>7</integer>
782// CHECK-NEXT:          <key>file</key><integer>0</integer>
783// CHECK-NEXT:         </dict>
784// CHECK-NEXT:         <dict>
785// CHECK-NEXT:          <key>line</key><integer>68</integer>
786// CHECK-NEXT:          <key>col</key><integer>9</integer>
787// CHECK-NEXT:          <key>file</key><integer>0</integer>
788// CHECK-NEXT:         </dict>
789// CHECK-NEXT:        </array>
790// CHECK-NEXT:      </array>
791// CHECK-NEXT:      <key>depth</key><integer>1</integer>
792// CHECK-NEXT:      <key>extended_message</key>
793// CHECK-NEXT:      <string>Assuming &apos;err&apos; is not equal to 0</string>
794// CHECK-NEXT:      <key>message</key>
795// CHECK-NEXT:      <string>Assuming &apos;err&apos; is not equal to 0</string>
796// CHECK-NEXT:     </dict>
797// CHECK-NEXT:     <dict>
798// CHECK-NEXT:      <key>kind</key><string>control</string>
799// CHECK-NEXT:      <key>edges</key>
800// CHECK-NEXT:       <array>
801// CHECK-NEXT:        <dict>
802// CHECK-NEXT:         <key>start</key>
803// CHECK-NEXT:          <array>
804// CHECK-NEXT:           <dict>
805// CHECK-NEXT:            <key>line</key><integer>68</integer>
806// CHECK-NEXT:            <key>col</key><integer>7</integer>
807// CHECK-NEXT:            <key>file</key><integer>0</integer>
808// CHECK-NEXT:           </dict>
809// CHECK-NEXT:           <dict>
810// CHECK-NEXT:            <key>line</key><integer>68</integer>
811// CHECK-NEXT:            <key>col</key><integer>9</integer>
812// CHECK-NEXT:            <key>file</key><integer>0</integer>
813// CHECK-NEXT:           </dict>
814// CHECK-NEXT:          </array>
815// CHECK-NEXT:         <key>end</key>
816// CHECK-NEXT:          <array>
817// CHECK-NEXT:           <dict>
818// CHECK-NEXT:            <key>line</key><integer>71</integer>
819// CHECK-NEXT:            <key>col</key><integer>5</integer>
820// CHECK-NEXT:            <key>file</key><integer>0</integer>
821// CHECK-NEXT:           </dict>
822// CHECK-NEXT:           <dict>
823// CHECK-NEXT:            <key>line</key><integer>71</integer>
824// CHECK-NEXT:            <key>col</key><integer>13</integer>
825// CHECK-NEXT:            <key>file</key><integer>0</integer>
826// CHECK-NEXT:           </dict>
827// CHECK-NEXT:          </array>
828// CHECK-NEXT:        </dict>
829// CHECK-NEXT:       </array>
830// CHECK-NEXT:     </dict>
831// CHECK-NEXT:     <dict>
832// CHECK-NEXT:      <key>kind</key><string>event</string>
833// CHECK-NEXT:      <key>location</key>
834// CHECK-NEXT:      <dict>
835// CHECK-NEXT:       <key>line</key><integer>45</integer>
836// CHECK-NEXT:       <key>col</key><integer>5</integer>
837// CHECK-NEXT:       <key>file</key><integer>0</integer>
838// CHECK-NEXT:      </dict>
839// CHECK-NEXT:      <key>ranges</key>
840// CHECK-NEXT:      <array>
841// CHECK-NEXT:        <array>
842// CHECK-NEXT:         <dict>
843// CHECK-NEXT:          <key>line</key><integer>45</integer>
844// CHECK-NEXT:          <key>col</key><integer>5</integer>
845// CHECK-NEXT:          <key>file</key><integer>0</integer>
846// CHECK-NEXT:         </dict>
847// CHECK-NEXT:         <dict>
848// CHECK-NEXT:          <key>line</key><integer>45</integer>
849// CHECK-NEXT:          <key>col</key><integer>32</integer>
850// CHECK-NEXT:          <key>file</key><integer>0</integer>
851// CHECK-NEXT:         </dict>
852// CHECK-NEXT:        </array>
853// CHECK-NEXT:      </array>
854// CHECK-NEXT:      <key>depth</key><integer>0</integer>
855// CHECK-NEXT:      <key>extended_message</key>
856// CHECK-NEXT:      <string>Returning from &apos;CreateRefUndef&apos;</string>
857// CHECK-NEXT:      <key>message</key>
858// CHECK-NEXT:      <string>Returning from &apos;CreateRefUndef&apos;</string>
859// CHECK-NEXT:     </dict>
860// CHECK-NEXT:     <dict>
861// CHECK-NEXT:      <key>kind</key><string>control</string>
862// CHECK-NEXT:      <key>edges</key>
863// CHECK-NEXT:       <array>
864// CHECK-NEXT:        <dict>
865// CHECK-NEXT:         <key>start</key>
866// CHECK-NEXT:          <array>
867// CHECK-NEXT:           <dict>
868// CHECK-NEXT:            <key>line</key><integer>45</integer>
869// CHECK-NEXT:            <key>col</key><integer>5</integer>
870// CHECK-NEXT:            <key>file</key><integer>0</integer>
871// CHECK-NEXT:           </dict>
872// CHECK-NEXT:           <dict>
873// CHECK-NEXT:            <key>line</key><integer>45</integer>
874// CHECK-NEXT:            <key>col</key><integer>18</integer>
875// CHECK-NEXT:            <key>file</key><integer>0</integer>
876// CHECK-NEXT:           </dict>
877// CHECK-NEXT:          </array>
878// CHECK-NEXT:         <key>end</key>
879// CHECK-NEXT:          <array>
880// CHECK-NEXT:           <dict>
881// CHECK-NEXT:            <key>line</key><integer>48</integer>
882// CHECK-NEXT:            <key>col</key><integer>5</integer>
883// CHECK-NEXT:            <key>file</key><integer>0</integer>
884// CHECK-NEXT:           </dict>
885// CHECK-NEXT:           <dict>
886// CHECK-NEXT:            <key>line</key><integer>48</integer>
887// CHECK-NEXT:            <key>col</key><integer>13</integer>
888// CHECK-NEXT:            <key>file</key><integer>0</integer>
889// CHECK-NEXT:           </dict>
890// CHECK-NEXT:          </array>
891// CHECK-NEXT:        </dict>
892// CHECK-NEXT:       </array>
893// CHECK-NEXT:     </dict>
894// CHECK-NEXT:     <dict>
895// CHECK-NEXT:      <key>kind</key><string>event</string>
896// CHECK-NEXT:      <key>location</key>
897// CHECK-NEXT:      <dict>
898// CHECK-NEXT:       <key>line</key><integer>48</integer>
899// CHECK-NEXT:       <key>col</key><integer>5</integer>
900// CHECK-NEXT:       <key>file</key><integer>0</integer>
901// CHECK-NEXT:      </dict>
902// CHECK-NEXT:      <key>ranges</key>
903// CHECK-NEXT:      <array>
904// CHECK-NEXT:        <array>
905// CHECK-NEXT:         <dict>
906// CHECK-NEXT:          <key>line</key><integer>48</integer>
907// CHECK-NEXT:          <key>col</key><integer>15</integer>
908// CHECK-NEXT:          <key>file</key><integer>0</integer>
909// CHECK-NEXT:         </dict>
910// CHECK-NEXT:         <dict>
911// CHECK-NEXT:          <key>line</key><integer>48</integer>
912// CHECK-NEXT:          <key>col</key><integer>22</integer>
913// CHECK-NEXT:          <key>file</key><integer>0</integer>
914// CHECK-NEXT:         </dict>
915// CHECK-NEXT:        </array>
916// CHECK-NEXT:      </array>
917// CHECK-NEXT:      <key>depth</key><integer>0</integer>
918// CHECK-NEXT:      <key>extended_message</key>
919// CHECK-NEXT:      <string>Function call argument is an uninitialized value</string>
920// CHECK-NEXT:      <key>message</key>
921// CHECK-NEXT:      <string>Function call argument is an uninitialized value</string>
922// CHECK-NEXT:     </dict>
923// CHECK-NEXT:    </array>
924// CHECK-NEXT:    <key>description</key><string>Function call argument is an uninitialized value</string>
925// CHECK-NEXT:    <key>category</key><string>Logic error</string>
926// CHECK-NEXT:    <key>type</key><string>Uninitialized argument value</string>
927// CHECK-NEXT:    <key>check_name</key><string>core.CallAndMessage</string>
928// CHECK-NEXT:   <key>issue_context_kind</key><string>Objective-C method</string>
929// CHECK-NEXT:   <key>issue_context</key><string>test2</string>
930// CHECK-NEXT:   <key>issue_hash</key><string>5</string>
931// CHECK-NEXT:   <key>location</key>
932// CHECK-NEXT:   <dict>
933// CHECK-NEXT:    <key>line</key><integer>48</integer>
934// CHECK-NEXT:    <key>col</key><integer>5</integer>
935// CHECK-NEXT:    <key>file</key><integer>0</integer>
936// CHECK-NEXT:   </dict>
937// CHECK-NEXT:   </dict>
938// CHECK-NEXT:  </array>
939