1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -analyze -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-store=region -fobjc-gc-only -analyzer-output=text -verify %s 2 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -analyze -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-store=region -fobjc-gc-only -analyzer-output=plist-multi-file -analyzer-config path-diagnostics-alternate=false %s -o %t.plist 3 // RUN: FileCheck --input-file=%t.plist %s 4 5 /*** 6 This file is for testing the path-sensitive notes for retain/release errors. 7 Its goal is to have simple branch coverage of any path-based diagnostics, 8 not to actually check all possible retain/release errors. 9 10 This file is for notes that only appear in a GC-enabled analysis. 11 Non-specific and ref-count-only notes should go in retain-release-path-notes.m. 12 ***/ 13 14 @interface NSObject 15 + (id)alloc; 16 - (id)init; 17 - (void)dealloc; 18 19 - (Class)class; 20 21 - (id)retain; 22 - (void)release; 23 - (void)autorelease; 24 @end 25 26 @interface Foo : NSObject 27 - (id)methodWithValue; 28 @property(retain) id propertyValue; 29 @end 30 31 typedef struct CFType *CFTypeRef; 32 CFTypeRef CFRetain(CFTypeRef); 33 void CFRelease(CFTypeRef); 34 35 id NSMakeCollectable(CFTypeRef); 36 CFTypeRef CFMakeCollectable(CFTypeRef); 37 38 CFTypeRef CFCreateSomething(); 39 CFTypeRef CFGetSomething(); 40 41 42 void creationViaCFCreate () { 43 CFTypeRef leaked = CFCreateSomething(); // expected-note{{Call to function 'CFCreateSomething' returns a Core Foundation object with a +1 retain count. Core Foundation objects are not automatically garbage collected}} 44 return; // expected-warning{{leak}} expected-note{{Object leaked: object allocated and stored into 'leaked' is not referenced later in this execution path and has a retain count of +1}} 45 } 46 47 void makeCollectable () { 48 CFTypeRef leaked = CFCreateSomething(); // expected-note{{Call to function 'CFCreateSomething' returns a Core Foundation object with a +1 retain count. Core Foundation objects are not automatically garbage collected}} 49 CFRetain(leaked); // expected-note{{Reference count incremented. The object now has a +2 retain count}} 50 CFMakeCollectable(leaked); // expected-note{{In GC mode a call to 'CFMakeCollectable' decrements an object's retain count and registers the object with the garbage collector. An object must have a 0 retain count to be garbage collected. After this call its retain count is +1}} 51 NSMakeCollectable(leaked); // expected-note{{In GC mode a call to 'NSMakeCollectable' decrements an object's retain count and registers the object with the garbage collector. Since it now has a 0 retain count the object can be automatically collected by the garbage collector}} 52 CFRetain(leaked); // expected-note{{Reference count incremented. The object now has a +1 retain count. The object is not eligible for garbage collection until the retain count reaches 0 again}} 53 return; // expected-warning{{leak}} expected-note{{Object leaked: object allocated and stored into 'leaked' is not referenced later in this execution path and has a retain count of +1}} 54 } 55 56 void retainReleaseIgnored () { 57 id object = [[NSObject alloc] init]; // expected-note{{Method returns an Objective-C object with a +0 retain count}} 58 [object retain]; // expected-note{{In GC mode the 'retain' message has no effect}} 59 [object release]; // expected-note{{In GC mode the 'release' message has no effect}} 60 [object autorelease]; // expected-note{{In GC mode an 'autorelease' has no effect}} 61 CFRelease((CFTypeRef)object); // expected-warning{{Incorrect decrement of the reference count of an object that is not owned at this point by the caller}} expected-note{{Incorrect decrement of the reference count of an object that is not owned at this point by the caller}} 62 } 63 64 @implementation Foo (FundamentalRuleUnderGC) 65 - (id)getViolation { 66 id object = (id) CFCreateSomething(); // expected-note{{Call to function 'CFCreateSomething' returns a Core Foundation object with a +1 retain count. Core Foundation objects are not automatically garbage collected}} 67 return object; // expected-warning{{leak}} expected-note{{Object returned to caller as an owning reference (single retain count transferred to caller)}} expected-note{{Object leaked: object allocated and stored into 'object' and returned from method 'getViolation' is potentially leaked when using garbage collection. Callers of this method do not expect a returned object with a +1 retain count since they expect the object to be managed by the garbage collector}} 68 } 69 70 - (id)copyViolation { 71 id object = (id) CFCreateSomething(); // expected-note{{Call to function 'CFCreateSomething' returns a Core Foundation object with a +1 retain count. Core Foundation objects are not automatically garbage collected}} 72 return object; // expected-warning{{leak}} expected-note{{Object returned to caller as an owning reference (single retain count transferred to caller)}} expected-note{{Object leaked: object allocated and stored into 'object' and returned from method 'copyViolation' is potentially leaked when using garbage collection. Callers of this method do not expect a returned object with a +1 retain count since they expect the object to be managed by the garbage collector}} 73 } 74 @end 75 76 // CHECK: <key>diagnostics</key> 77 // CHECK-NEXT: <array> 78 // CHECK-NEXT: <dict> 79 // CHECK-NEXT: <key>path</key> 80 // CHECK-NEXT: <array> 81 // CHECK-NEXT: <dict> 82 // CHECK-NEXT: <key>kind</key><string>control</string> 83 // CHECK-NEXT: <key>edges</key> 84 // CHECK-NEXT: <array> 85 // CHECK-NEXT: <dict> 86 // CHECK-NEXT: <key>start</key> 87 // CHECK-NEXT: <array> 88 // CHECK-NEXT: <dict> 89 // CHECK-NEXT: <key>line</key><integer>43</integer> 90 // CHECK-NEXT: <key>col</key><integer>3</integer> 91 // CHECK-NEXT: <key>file</key><integer>0</integer> 92 // CHECK-NEXT: </dict> 93 // CHECK-NEXT: <dict> 94 // CHECK-NEXT: <key>line</key><integer>43</integer> 95 // CHECK-NEXT: <key>col</key><integer>11</integer> 96 // CHECK-NEXT: <key>file</key><integer>0</integer> 97 // CHECK-NEXT: </dict> 98 // CHECK-NEXT: </array> 99 // CHECK-NEXT: <key>end</key> 100 // CHECK-NEXT: <array> 101 // CHECK-NEXT: <dict> 102 // CHECK-NEXT: <key>line</key><integer>43</integer> 103 // CHECK-NEXT: <key>col</key><integer>22</integer> 104 // CHECK-NEXT: <key>file</key><integer>0</integer> 105 // CHECK-NEXT: </dict> 106 // CHECK-NEXT: <dict> 107 // CHECK-NEXT: <key>line</key><integer>43</integer> 108 // CHECK-NEXT: <key>col</key><integer>38</integer> 109 // CHECK-NEXT: <key>file</key><integer>0</integer> 110 // CHECK-NEXT: </dict> 111 // CHECK-NEXT: </array> 112 // CHECK-NEXT: </dict> 113 // CHECK-NEXT: </array> 114 // CHECK-NEXT: </dict> 115 // CHECK-NEXT: <dict> 116 // CHECK-NEXT: <key>kind</key><string>event</string> 117 // CHECK-NEXT: <key>location</key> 118 // CHECK-NEXT: <dict> 119 // CHECK-NEXT: <key>line</key><integer>43</integer> 120 // CHECK-NEXT: <key>col</key><integer>22</integer> 121 // CHECK-NEXT: <key>file</key><integer>0</integer> 122 // CHECK-NEXT: </dict> 123 // CHECK-NEXT: <key>ranges</key> 124 // CHECK-NEXT: <array> 125 // CHECK-NEXT: <array> 126 // CHECK-NEXT: <dict> 127 // CHECK-NEXT: <key>line</key><integer>43</integer> 128 // CHECK-NEXT: <key>col</key><integer>22</integer> 129 // CHECK-NEXT: <key>file</key><integer>0</integer> 130 // CHECK-NEXT: </dict> 131 // CHECK-NEXT: <dict> 132 // CHECK-NEXT: <key>line</key><integer>43</integer> 133 // CHECK-NEXT: <key>col</key><integer>40</integer> 134 // CHECK-NEXT: <key>file</key><integer>0</integer> 135 // CHECK-NEXT: </dict> 136 // CHECK-NEXT: </array> 137 // CHECK-NEXT: </array> 138 // CHECK-NEXT: <key>depth</key><integer>0</integer> 139 // CHECK-NEXT: <key>extended_message</key> 140 // CHECK-NEXT: <string>Call to function 'CFCreateSomething' returns a Core Foundation object with a +1 retain count. Core Foundation objects are not automatically garbage collected</string> 141 // CHECK-NEXT: <key>message</key> 142 // CHECK-NEXT: <string>Call to function 'CFCreateSomething' returns a Core Foundation object with a +1 retain count. Core Foundation objects are not automatically garbage collected</string> 143 // CHECK-NEXT: </dict> 144 // CHECK-NEXT: <dict> 145 // CHECK-NEXT: <key>kind</key><string>control</string> 146 // CHECK-NEXT: <key>edges</key> 147 // CHECK-NEXT: <array> 148 // CHECK-NEXT: <dict> 149 // CHECK-NEXT: <key>start</key> 150 // CHECK-NEXT: <array> 151 // CHECK-NEXT: <dict> 152 // CHECK-NEXT: <key>line</key><integer>43</integer> 153 // CHECK-NEXT: <key>col</key><integer>22</integer> 154 // CHECK-NEXT: <key>file</key><integer>0</integer> 155 // CHECK-NEXT: </dict> 156 // CHECK-NEXT: <dict> 157 // CHECK-NEXT: <key>line</key><integer>43</integer> 158 // CHECK-NEXT: <key>col</key><integer>38</integer> 159 // CHECK-NEXT: <key>file</key><integer>0</integer> 160 // CHECK-NEXT: </dict> 161 // CHECK-NEXT: </array> 162 // CHECK-NEXT: <key>end</key> 163 // CHECK-NEXT: <array> 164 // CHECK-NEXT: <dict> 165 // CHECK-NEXT: <key>line</key><integer>44</integer> 166 // CHECK-NEXT: <key>col</key><integer>3</integer> 167 // CHECK-NEXT: <key>file</key><integer>0</integer> 168 // CHECK-NEXT: </dict> 169 // CHECK-NEXT: <dict> 170 // CHECK-NEXT: <key>line</key><integer>44</integer> 171 // CHECK-NEXT: <key>col</key><integer>8</integer> 172 // CHECK-NEXT: <key>file</key><integer>0</integer> 173 // CHECK-NEXT: </dict> 174 // CHECK-NEXT: </array> 175 // CHECK-NEXT: </dict> 176 // CHECK-NEXT: </array> 177 // CHECK-NEXT: </dict> 178 // CHECK-NEXT: <dict> 179 // CHECK-NEXT: <key>kind</key><string>event</string> 180 // CHECK-NEXT: <key>location</key> 181 // CHECK-NEXT: <dict> 182 // CHECK-NEXT: <key>line</key><integer>44</integer> 183 // CHECK-NEXT: <key>col</key><integer>3</integer> 184 // CHECK-NEXT: <key>file</key><integer>0</integer> 185 // CHECK-NEXT: </dict> 186 // CHECK-NEXT: <key>ranges</key> 187 // CHECK-NEXT: <array> 188 // CHECK-NEXT: <array> 189 // CHECK-NEXT: <dict> 190 // CHECK-NEXT: <key>line</key><integer>44</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>44</integer> 196 // CHECK-NEXT: <key>col</key><integer>8</integer> 197 // CHECK-NEXT: <key>file</key><integer>0</integer> 198 // CHECK-NEXT: </dict> 199 // CHECK-NEXT: </array> 200 // CHECK-NEXT: </array> 201 // CHECK-NEXT: <key>depth</key><integer>0</integer> 202 // CHECK-NEXT: <key>extended_message</key> 203 // CHECK-NEXT: <string>Object leaked: object allocated and stored into 'leaked' is not referenced later in this execution path and has a retain count of +1</string> 204 // CHECK-NEXT: <key>message</key> 205 // CHECK-NEXT: <string>Object leaked: object allocated and stored into 'leaked' is not referenced later in this execution path and has a retain count of +1</string> 206 // CHECK-NEXT: </dict> 207 // CHECK-NEXT: </array> 208 // CHECK-NEXT: <key>description</key><string>Potential leak (when using garbage collection) of an object stored into 'leaked'</string> 209 // CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string> 210 // CHECK-NEXT: <key>type</key><string>Leak of object when using garbage collection</string> 211 // CHECK-NEXT: <key>issue_context_kind</key><string>function</string> 212 // CHECK-NEXT: <key>issue_context</key><string>creationViaCFCreate</string> 213 // CHECK-NEXT: <key>issue_hash</key><string>1</string> 214 // CHECK-NEXT: <key>location</key> 215 // CHECK-NEXT: <dict> 216 // CHECK-NEXT: <key>line</key><integer>44</integer> 217 // CHECK-NEXT: <key>col</key><integer>3</integer> 218 // CHECK-NEXT: <key>file</key><integer>0</integer> 219 // CHECK-NEXT: </dict> 220 // CHECK-NEXT: </dict> 221 // CHECK-NEXT: <dict> 222 // CHECK-NEXT: <key>path</key> 223 // CHECK-NEXT: <array> 224 // CHECK-NEXT: <dict> 225 // CHECK-NEXT: <key>kind</key><string>control</string> 226 // CHECK-NEXT: <key>edges</key> 227 // CHECK-NEXT: <array> 228 // CHECK-NEXT: <dict> 229 // CHECK-NEXT: <key>start</key> 230 // CHECK-NEXT: <array> 231 // CHECK-NEXT: <dict> 232 // CHECK-NEXT: <key>line</key><integer>48</integer> 233 // CHECK-NEXT: <key>col</key><integer>3</integer> 234 // CHECK-NEXT: <key>file</key><integer>0</integer> 235 // CHECK-NEXT: </dict> 236 // CHECK-NEXT: <dict> 237 // CHECK-NEXT: <key>line</key><integer>48</integer> 238 // CHECK-NEXT: <key>col</key><integer>11</integer> 239 // CHECK-NEXT: <key>file</key><integer>0</integer> 240 // CHECK-NEXT: </dict> 241 // CHECK-NEXT: </array> 242 // CHECK-NEXT: <key>end</key> 243 // CHECK-NEXT: <array> 244 // CHECK-NEXT: <dict> 245 // CHECK-NEXT: <key>line</key><integer>48</integer> 246 // CHECK-NEXT: <key>col</key><integer>22</integer> 247 // CHECK-NEXT: <key>file</key><integer>0</integer> 248 // CHECK-NEXT: </dict> 249 // CHECK-NEXT: <dict> 250 // CHECK-NEXT: <key>line</key><integer>48</integer> 251 // CHECK-NEXT: <key>col</key><integer>38</integer> 252 // CHECK-NEXT: <key>file</key><integer>0</integer> 253 // CHECK-NEXT: </dict> 254 // CHECK-NEXT: </array> 255 // CHECK-NEXT: </dict> 256 // CHECK-NEXT: </array> 257 // CHECK-NEXT: </dict> 258 // CHECK-NEXT: <dict> 259 // CHECK-NEXT: <key>kind</key><string>event</string> 260 // CHECK-NEXT: <key>location</key> 261 // CHECK-NEXT: <dict> 262 // CHECK-NEXT: <key>line</key><integer>48</integer> 263 // CHECK-NEXT: <key>col</key><integer>22</integer> 264 // CHECK-NEXT: <key>file</key><integer>0</integer> 265 // CHECK-NEXT: </dict> 266 // CHECK-NEXT: <key>ranges</key> 267 // CHECK-NEXT: <array> 268 // CHECK-NEXT: <array> 269 // CHECK-NEXT: <dict> 270 // CHECK-NEXT: <key>line</key><integer>48</integer> 271 // CHECK-NEXT: <key>col</key><integer>22</integer> 272 // CHECK-NEXT: <key>file</key><integer>0</integer> 273 // CHECK-NEXT: </dict> 274 // CHECK-NEXT: <dict> 275 // CHECK-NEXT: <key>line</key><integer>48</integer> 276 // CHECK-NEXT: <key>col</key><integer>40</integer> 277 // CHECK-NEXT: <key>file</key><integer>0</integer> 278 // CHECK-NEXT: </dict> 279 // CHECK-NEXT: </array> 280 // CHECK-NEXT: </array> 281 // CHECK-NEXT: <key>depth</key><integer>0</integer> 282 // CHECK-NEXT: <key>extended_message</key> 283 // CHECK-NEXT: <string>Call to function 'CFCreateSomething' returns a Core Foundation object with a +1 retain count. Core Foundation objects are not automatically garbage collected</string> 284 // CHECK-NEXT: <key>message</key> 285 // CHECK-NEXT: <string>Call to function 'CFCreateSomething' returns a Core Foundation object with a +1 retain count. Core Foundation objects are not automatically garbage collected</string> 286 // CHECK-NEXT: </dict> 287 // CHECK-NEXT: <dict> 288 // CHECK-NEXT: <key>kind</key><string>control</string> 289 // CHECK-NEXT: <key>edges</key> 290 // CHECK-NEXT: <array> 291 // CHECK-NEXT: <dict> 292 // CHECK-NEXT: <key>start</key> 293 // CHECK-NEXT: <array> 294 // CHECK-NEXT: <dict> 295 // CHECK-NEXT: <key>line</key><integer>48</integer> 296 // CHECK-NEXT: <key>col</key><integer>22</integer> 297 // CHECK-NEXT: <key>file</key><integer>0</integer> 298 // CHECK-NEXT: </dict> 299 // CHECK-NEXT: <dict> 300 // CHECK-NEXT: <key>line</key><integer>48</integer> 301 // CHECK-NEXT: <key>col</key><integer>38</integer> 302 // CHECK-NEXT: <key>file</key><integer>0</integer> 303 // CHECK-NEXT: </dict> 304 // CHECK-NEXT: </array> 305 // CHECK-NEXT: <key>end</key> 306 // CHECK-NEXT: <array> 307 // CHECK-NEXT: <dict> 308 // CHECK-NEXT: <key>line</key><integer>49</integer> 309 // CHECK-NEXT: <key>col</key><integer>3</integer> 310 // CHECK-NEXT: <key>file</key><integer>0</integer> 311 // CHECK-NEXT: </dict> 312 // CHECK-NEXT: <dict> 313 // CHECK-NEXT: <key>line</key><integer>49</integer> 314 // CHECK-NEXT: <key>col</key><integer>10</integer> 315 // CHECK-NEXT: <key>file</key><integer>0</integer> 316 // CHECK-NEXT: </dict> 317 // CHECK-NEXT: </array> 318 // CHECK-NEXT: </dict> 319 // CHECK-NEXT: </array> 320 // CHECK-NEXT: </dict> 321 // CHECK-NEXT: <dict> 322 // CHECK-NEXT: <key>kind</key><string>event</string> 323 // CHECK-NEXT: <key>location</key> 324 // CHECK-NEXT: <dict> 325 // CHECK-NEXT: <key>line</key><integer>49</integer> 326 // CHECK-NEXT: <key>col</key><integer>3</integer> 327 // CHECK-NEXT: <key>file</key><integer>0</integer> 328 // CHECK-NEXT: </dict> 329 // CHECK-NEXT: <key>ranges</key> 330 // CHECK-NEXT: <array> 331 // CHECK-NEXT: <array> 332 // CHECK-NEXT: <dict> 333 // CHECK-NEXT: <key>line</key><integer>49</integer> 334 // CHECK-NEXT: <key>col</key><integer>3</integer> 335 // CHECK-NEXT: <key>file</key><integer>0</integer> 336 // CHECK-NEXT: </dict> 337 // CHECK-NEXT: <dict> 338 // CHECK-NEXT: <key>line</key><integer>49</integer> 339 // CHECK-NEXT: <key>col</key><integer>18</integer> 340 // CHECK-NEXT: <key>file</key><integer>0</integer> 341 // CHECK-NEXT: </dict> 342 // CHECK-NEXT: </array> 343 // CHECK-NEXT: <array> 344 // CHECK-NEXT: <dict> 345 // CHECK-NEXT: <key>line</key><integer>49</integer> 346 // CHECK-NEXT: <key>col</key><integer>12</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>49</integer> 351 // CHECK-NEXT: <key>col</key><integer>17</integer> 352 // CHECK-NEXT: <key>file</key><integer>0</integer> 353 // CHECK-NEXT: </dict> 354 // CHECK-NEXT: </array> 355 // CHECK-NEXT: </array> 356 // CHECK-NEXT: <key>depth</key><integer>0</integer> 357 // CHECK-NEXT: <key>extended_message</key> 358 // CHECK-NEXT: <string>Reference count incremented. The object now has a +2 retain count</string> 359 // CHECK-NEXT: <key>message</key> 360 // CHECK-NEXT: <string>Reference count incremented. The object now has a +2 retain count</string> 361 // CHECK-NEXT: </dict> 362 // CHECK-NEXT: <dict> 363 // CHECK-NEXT: <key>kind</key><string>control</string> 364 // CHECK-NEXT: <key>edges</key> 365 // CHECK-NEXT: <array> 366 // CHECK-NEXT: <dict> 367 // CHECK-NEXT: <key>start</key> 368 // CHECK-NEXT: <array> 369 // CHECK-NEXT: <dict> 370 // CHECK-NEXT: <key>line</key><integer>49</integer> 371 // CHECK-NEXT: <key>col</key><integer>3</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>49</integer> 376 // CHECK-NEXT: <key>col</key><integer>10</integer> 377 // CHECK-NEXT: <key>file</key><integer>0</integer> 378 // CHECK-NEXT: </dict> 379 // CHECK-NEXT: </array> 380 // CHECK-NEXT: <key>end</key> 381 // CHECK-NEXT: <array> 382 // CHECK-NEXT: <dict> 383 // CHECK-NEXT: <key>line</key><integer>50</integer> 384 // CHECK-NEXT: <key>col</key><integer>3</integer> 385 // CHECK-NEXT: <key>file</key><integer>0</integer> 386 // CHECK-NEXT: </dict> 387 // CHECK-NEXT: <dict> 388 // CHECK-NEXT: <key>line</key><integer>50</integer> 389 // CHECK-NEXT: <key>col</key><integer>19</integer> 390 // CHECK-NEXT: <key>file</key><integer>0</integer> 391 // CHECK-NEXT: </dict> 392 // CHECK-NEXT: </array> 393 // CHECK-NEXT: </dict> 394 // CHECK-NEXT: </array> 395 // CHECK-NEXT: </dict> 396 // CHECK-NEXT: <dict> 397 // CHECK-NEXT: <key>kind</key><string>event</string> 398 // CHECK-NEXT: <key>location</key> 399 // CHECK-NEXT: <dict> 400 // CHECK-NEXT: <key>line</key><integer>50</integer> 401 // CHECK-NEXT: <key>col</key><integer>3</integer> 402 // CHECK-NEXT: <key>file</key><integer>0</integer> 403 // CHECK-NEXT: </dict> 404 // CHECK-NEXT: <key>ranges</key> 405 // CHECK-NEXT: <array> 406 // CHECK-NEXT: <array> 407 // CHECK-NEXT: <dict> 408 // CHECK-NEXT: <key>line</key><integer>50</integer> 409 // CHECK-NEXT: <key>col</key><integer>3</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>50</integer> 414 // CHECK-NEXT: <key>col</key><integer>27</integer> 415 // CHECK-NEXT: <key>file</key><integer>0</integer> 416 // CHECK-NEXT: </dict> 417 // CHECK-NEXT: </array> 418 // CHECK-NEXT: <array> 419 // CHECK-NEXT: <dict> 420 // CHECK-NEXT: <key>line</key><integer>50</integer> 421 // CHECK-NEXT: <key>col</key><integer>21</integer> 422 // CHECK-NEXT: <key>file</key><integer>0</integer> 423 // CHECK-NEXT: </dict> 424 // CHECK-NEXT: <dict> 425 // CHECK-NEXT: <key>line</key><integer>50</integer> 426 // CHECK-NEXT: <key>col</key><integer>26</integer> 427 // CHECK-NEXT: <key>file</key><integer>0</integer> 428 // CHECK-NEXT: </dict> 429 // CHECK-NEXT: </array> 430 // CHECK-NEXT: </array> 431 // CHECK-NEXT: <key>depth</key><integer>0</integer> 432 // CHECK-NEXT: <key>extended_message</key> 433 // CHECK-NEXT: <string>In GC mode a call to 'CFMakeCollectable' decrements an object's retain count and registers the object with the garbage collector. An object must have a 0 retain count to be garbage collected. After this call its retain count is +1</string> 434 // CHECK-NEXT: <key>message</key> 435 // CHECK-NEXT: <string>In GC mode a call to 'CFMakeCollectable' decrements an object's retain count and registers the object with the garbage collector. An object must have a 0 retain count to be garbage collected. After this call its retain count is +1</string> 436 // CHECK-NEXT: </dict> 437 // CHECK-NEXT: <dict> 438 // CHECK-NEXT: <key>kind</key><string>control</string> 439 // CHECK-NEXT: <key>edges</key> 440 // CHECK-NEXT: <array> 441 // CHECK-NEXT: <dict> 442 // CHECK-NEXT: <key>start</key> 443 // CHECK-NEXT: <array> 444 // CHECK-NEXT: <dict> 445 // CHECK-NEXT: <key>line</key><integer>50</integer> 446 // CHECK-NEXT: <key>col</key><integer>3</integer> 447 // CHECK-NEXT: <key>file</key><integer>0</integer> 448 // CHECK-NEXT: </dict> 449 // CHECK-NEXT: <dict> 450 // CHECK-NEXT: <key>line</key><integer>50</integer> 451 // CHECK-NEXT: <key>col</key><integer>19</integer> 452 // CHECK-NEXT: <key>file</key><integer>0</integer> 453 // CHECK-NEXT: </dict> 454 // CHECK-NEXT: </array> 455 // CHECK-NEXT: <key>end</key> 456 // CHECK-NEXT: <array> 457 // CHECK-NEXT: <dict> 458 // CHECK-NEXT: <key>line</key><integer>51</integer> 459 // CHECK-NEXT: <key>col</key><integer>3</integer> 460 // CHECK-NEXT: <key>file</key><integer>0</integer> 461 // CHECK-NEXT: </dict> 462 // CHECK-NEXT: <dict> 463 // CHECK-NEXT: <key>line</key><integer>51</integer> 464 // CHECK-NEXT: <key>col</key><integer>19</integer> 465 // CHECK-NEXT: <key>file</key><integer>0</integer> 466 // CHECK-NEXT: </dict> 467 // CHECK-NEXT: </array> 468 // CHECK-NEXT: </dict> 469 // CHECK-NEXT: </array> 470 // CHECK-NEXT: </dict> 471 // CHECK-NEXT: <dict> 472 // CHECK-NEXT: <key>kind</key><string>event</string> 473 // CHECK-NEXT: <key>location</key> 474 // CHECK-NEXT: <dict> 475 // CHECK-NEXT: <key>line</key><integer>51</integer> 476 // CHECK-NEXT: <key>col</key><integer>3</integer> 477 // CHECK-NEXT: <key>file</key><integer>0</integer> 478 // CHECK-NEXT: </dict> 479 // CHECK-NEXT: <key>ranges</key> 480 // CHECK-NEXT: <array> 481 // CHECK-NEXT: <array> 482 // CHECK-NEXT: <dict> 483 // CHECK-NEXT: <key>line</key><integer>51</integer> 484 // CHECK-NEXT: <key>col</key><integer>3</integer> 485 // CHECK-NEXT: <key>file</key><integer>0</integer> 486 // CHECK-NEXT: </dict> 487 // CHECK-NEXT: <dict> 488 // CHECK-NEXT: <key>line</key><integer>51</integer> 489 // CHECK-NEXT: <key>col</key><integer>27</integer> 490 // CHECK-NEXT: <key>file</key><integer>0</integer> 491 // CHECK-NEXT: </dict> 492 // CHECK-NEXT: </array> 493 // CHECK-NEXT: <array> 494 // CHECK-NEXT: <dict> 495 // CHECK-NEXT: <key>line</key><integer>51</integer> 496 // CHECK-NEXT: <key>col</key><integer>21</integer> 497 // CHECK-NEXT: <key>file</key><integer>0</integer> 498 // CHECK-NEXT: </dict> 499 // CHECK-NEXT: <dict> 500 // CHECK-NEXT: <key>line</key><integer>51</integer> 501 // CHECK-NEXT: <key>col</key><integer>26</integer> 502 // CHECK-NEXT: <key>file</key><integer>0</integer> 503 // CHECK-NEXT: </dict> 504 // CHECK-NEXT: </array> 505 // CHECK-NEXT: </array> 506 // CHECK-NEXT: <key>depth</key><integer>0</integer> 507 // CHECK-NEXT: <key>extended_message</key> 508 // CHECK-NEXT: <string>In GC mode a call to 'NSMakeCollectable' decrements an object's retain count and registers the object with the garbage collector. Since it now has a 0 retain count the object can be automatically collected by the garbage collector</string> 509 // CHECK-NEXT: <key>message</key> 510 // CHECK-NEXT: <string>In GC mode a call to 'NSMakeCollectable' decrements an object's retain count and registers the object with the garbage collector. Since it now has a 0 retain count the object can be automatically collected by the garbage collector</string> 511 // CHECK-NEXT: </dict> 512 // CHECK-NEXT: <dict> 513 // CHECK-NEXT: <key>kind</key><string>control</string> 514 // CHECK-NEXT: <key>edges</key> 515 // CHECK-NEXT: <array> 516 // CHECK-NEXT: <dict> 517 // CHECK-NEXT: <key>start</key> 518 // CHECK-NEXT: <array> 519 // CHECK-NEXT: <dict> 520 // CHECK-NEXT: <key>line</key><integer>51</integer> 521 // CHECK-NEXT: <key>col</key><integer>3</integer> 522 // CHECK-NEXT: <key>file</key><integer>0</integer> 523 // CHECK-NEXT: </dict> 524 // CHECK-NEXT: <dict> 525 // CHECK-NEXT: <key>line</key><integer>51</integer> 526 // CHECK-NEXT: <key>col</key><integer>19</integer> 527 // CHECK-NEXT: <key>file</key><integer>0</integer> 528 // CHECK-NEXT: </dict> 529 // CHECK-NEXT: </array> 530 // CHECK-NEXT: <key>end</key> 531 // CHECK-NEXT: <array> 532 // CHECK-NEXT: <dict> 533 // CHECK-NEXT: <key>line</key><integer>52</integer> 534 // CHECK-NEXT: <key>col</key><integer>3</integer> 535 // CHECK-NEXT: <key>file</key><integer>0</integer> 536 // CHECK-NEXT: </dict> 537 // CHECK-NEXT: <dict> 538 // CHECK-NEXT: <key>line</key><integer>52</integer> 539 // CHECK-NEXT: <key>col</key><integer>10</integer> 540 // CHECK-NEXT: <key>file</key><integer>0</integer> 541 // CHECK-NEXT: </dict> 542 // CHECK-NEXT: </array> 543 // CHECK-NEXT: </dict> 544 // CHECK-NEXT: </array> 545 // CHECK-NEXT: </dict> 546 // CHECK-NEXT: <dict> 547 // CHECK-NEXT: <key>kind</key><string>event</string> 548 // CHECK-NEXT: <key>location</key> 549 // CHECK-NEXT: <dict> 550 // CHECK-NEXT: <key>line</key><integer>52</integer> 551 // CHECK-NEXT: <key>col</key><integer>3</integer> 552 // CHECK-NEXT: <key>file</key><integer>0</integer> 553 // CHECK-NEXT: </dict> 554 // CHECK-NEXT: <key>ranges</key> 555 // CHECK-NEXT: <array> 556 // CHECK-NEXT: <array> 557 // CHECK-NEXT: <dict> 558 // CHECK-NEXT: <key>line</key><integer>52</integer> 559 // CHECK-NEXT: <key>col</key><integer>3</integer> 560 // CHECK-NEXT: <key>file</key><integer>0</integer> 561 // CHECK-NEXT: </dict> 562 // CHECK-NEXT: <dict> 563 // CHECK-NEXT: <key>line</key><integer>52</integer> 564 // CHECK-NEXT: <key>col</key><integer>18</integer> 565 // CHECK-NEXT: <key>file</key><integer>0</integer> 566 // CHECK-NEXT: </dict> 567 // CHECK-NEXT: </array> 568 // CHECK-NEXT: <array> 569 // CHECK-NEXT: <dict> 570 // CHECK-NEXT: <key>line</key><integer>52</integer> 571 // CHECK-NEXT: <key>col</key><integer>12</integer> 572 // CHECK-NEXT: <key>file</key><integer>0</integer> 573 // CHECK-NEXT: </dict> 574 // CHECK-NEXT: <dict> 575 // CHECK-NEXT: <key>line</key><integer>52</integer> 576 // CHECK-NEXT: <key>col</key><integer>17</integer> 577 // CHECK-NEXT: <key>file</key><integer>0</integer> 578 // CHECK-NEXT: </dict> 579 // CHECK-NEXT: </array> 580 // CHECK-NEXT: </array> 581 // CHECK-NEXT: <key>depth</key><integer>0</integer> 582 // CHECK-NEXT: <key>extended_message</key> 583 // CHECK-NEXT: <string>Reference count incremented. The object now has a +1 retain count. The object is not eligible for garbage collection until the retain count reaches 0 again</string> 584 // CHECK-NEXT: <key>message</key> 585 // CHECK-NEXT: <string>Reference count incremented. The object now has a +1 retain count. The object is not eligible for garbage collection until the retain count reaches 0 again</string> 586 // CHECK-NEXT: </dict> 587 // CHECK-NEXT: <dict> 588 // CHECK-NEXT: <key>kind</key><string>control</string> 589 // CHECK-NEXT: <key>edges</key> 590 // CHECK-NEXT: <array> 591 // CHECK-NEXT: <dict> 592 // CHECK-NEXT: <key>start</key> 593 // CHECK-NEXT: <array> 594 // CHECK-NEXT: <dict> 595 // CHECK-NEXT: <key>line</key><integer>52</integer> 596 // CHECK-NEXT: <key>col</key><integer>3</integer> 597 // CHECK-NEXT: <key>file</key><integer>0</integer> 598 // CHECK-NEXT: </dict> 599 // CHECK-NEXT: <dict> 600 // CHECK-NEXT: <key>line</key><integer>52</integer> 601 // CHECK-NEXT: <key>col</key><integer>10</integer> 602 // CHECK-NEXT: <key>file</key><integer>0</integer> 603 // CHECK-NEXT: </dict> 604 // CHECK-NEXT: </array> 605 // CHECK-NEXT: <key>end</key> 606 // CHECK-NEXT: <array> 607 // CHECK-NEXT: <dict> 608 // CHECK-NEXT: <key>line</key><integer>53</integer> 609 // CHECK-NEXT: <key>col</key><integer>3</integer> 610 // CHECK-NEXT: <key>file</key><integer>0</integer> 611 // CHECK-NEXT: </dict> 612 // CHECK-NEXT: <dict> 613 // CHECK-NEXT: <key>line</key><integer>53</integer> 614 // CHECK-NEXT: <key>col</key><integer>8</integer> 615 // CHECK-NEXT: <key>file</key><integer>0</integer> 616 // CHECK-NEXT: </dict> 617 // CHECK-NEXT: </array> 618 // CHECK-NEXT: </dict> 619 // CHECK-NEXT: </array> 620 // CHECK-NEXT: </dict> 621 // CHECK-NEXT: <dict> 622 // CHECK-NEXT: <key>kind</key><string>event</string> 623 // CHECK-NEXT: <key>location</key> 624 // CHECK-NEXT: <dict> 625 // CHECK-NEXT: <key>line</key><integer>53</integer> 626 // CHECK-NEXT: <key>col</key><integer>3</integer> 627 // CHECK-NEXT: <key>file</key><integer>0</integer> 628 // CHECK-NEXT: </dict> 629 // CHECK-NEXT: <key>ranges</key> 630 // CHECK-NEXT: <array> 631 // CHECK-NEXT: <array> 632 // CHECK-NEXT: <dict> 633 // CHECK-NEXT: <key>line</key><integer>53</integer> 634 // CHECK-NEXT: <key>col</key><integer>3</integer> 635 // CHECK-NEXT: <key>file</key><integer>0</integer> 636 // CHECK-NEXT: </dict> 637 // CHECK-NEXT: <dict> 638 // CHECK-NEXT: <key>line</key><integer>53</integer> 639 // CHECK-NEXT: <key>col</key><integer>8</integer> 640 // CHECK-NEXT: <key>file</key><integer>0</integer> 641 // CHECK-NEXT: </dict> 642 // CHECK-NEXT: </array> 643 // CHECK-NEXT: </array> 644 // CHECK-NEXT: <key>depth</key><integer>0</integer> 645 // CHECK-NEXT: <key>extended_message</key> 646 // CHECK-NEXT: <string>Object leaked: object allocated and stored into 'leaked' is not referenced later in this execution path and has a retain count of +1</string> 647 // CHECK-NEXT: <key>message</key> 648 // CHECK-NEXT: <string>Object leaked: object allocated and stored into 'leaked' is not referenced later in this execution path and has a retain count of +1</string> 649 // CHECK-NEXT: </dict> 650 // CHECK-NEXT: </array> 651 // CHECK-NEXT: <key>description</key><string>Potential leak (when using garbage collection) of an object stored into 'leaked'</string> 652 // CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string> 653 // CHECK-NEXT: <key>type</key><string>Leak of object when using garbage collection</string> 654 // CHECK-NEXT: <key>issue_context_kind</key><string>function</string> 655 // CHECK-NEXT: <key>issue_context</key><string>makeCollectable</string> 656 // CHECK-NEXT: <key>issue_hash</key><string>1</string> 657 // CHECK-NEXT: <key>location</key> 658 // CHECK-NEXT: <dict> 659 // CHECK-NEXT: <key>line</key><integer>53</integer> 660 // CHECK-NEXT: <key>col</key><integer>3</integer> 661 // CHECK-NEXT: <key>file</key><integer>0</integer> 662 // CHECK-NEXT: </dict> 663 // CHECK-NEXT: </dict> 664 // CHECK-NEXT: <dict> 665 // CHECK-NEXT: <key>path</key> 666 // CHECK-NEXT: <array> 667 // CHECK-NEXT: <dict> 668 // CHECK-NEXT: <key>kind</key><string>control</string> 669 // CHECK-NEXT: <key>edges</key> 670 // CHECK-NEXT: <array> 671 // CHECK-NEXT: <dict> 672 // CHECK-NEXT: <key>start</key> 673 // CHECK-NEXT: <array> 674 // CHECK-NEXT: <dict> 675 // CHECK-NEXT: <key>line</key><integer>57</integer> 676 // CHECK-NEXT: <key>col</key><integer>3</integer> 677 // CHECK-NEXT: <key>file</key><integer>0</integer> 678 // CHECK-NEXT: </dict> 679 // CHECK-NEXT: <dict> 680 // CHECK-NEXT: <key>line</key><integer>57</integer> 681 // CHECK-NEXT: <key>col</key><integer>4</integer> 682 // CHECK-NEXT: <key>file</key><integer>0</integer> 683 // CHECK-NEXT: </dict> 684 // CHECK-NEXT: </array> 685 // CHECK-NEXT: <key>end</key> 686 // CHECK-NEXT: <array> 687 // CHECK-NEXT: <dict> 688 // CHECK-NEXT: <key>line</key><integer>57</integer> 689 // CHECK-NEXT: <key>col</key><integer>15</integer> 690 // CHECK-NEXT: <key>file</key><integer>0</integer> 691 // CHECK-NEXT: </dict> 692 // CHECK-NEXT: <dict> 693 // CHECK-NEXT: <key>line</key><integer>57</integer> 694 // CHECK-NEXT: <key>col</key><integer>15</integer> 695 // CHECK-NEXT: <key>file</key><integer>0</integer> 696 // CHECK-NEXT: </dict> 697 // CHECK-NEXT: </array> 698 // CHECK-NEXT: </dict> 699 // CHECK-NEXT: </array> 700 // CHECK-NEXT: </dict> 701 // CHECK-NEXT: <dict> 702 // CHECK-NEXT: <key>kind</key><string>event</string> 703 // CHECK-NEXT: <key>location</key> 704 // CHECK-NEXT: <dict> 705 // CHECK-NEXT: <key>line</key><integer>57</integer> 706 // CHECK-NEXT: <key>col</key><integer>15</integer> 707 // CHECK-NEXT: <key>file</key><integer>0</integer> 708 // CHECK-NEXT: </dict> 709 // CHECK-NEXT: <key>ranges</key> 710 // CHECK-NEXT: <array> 711 // CHECK-NEXT: <array> 712 // CHECK-NEXT: <dict> 713 // CHECK-NEXT: <key>line</key><integer>57</integer> 714 // CHECK-NEXT: <key>col</key><integer>15</integer> 715 // CHECK-NEXT: <key>file</key><integer>0</integer> 716 // CHECK-NEXT: </dict> 717 // CHECK-NEXT: <dict> 718 // CHECK-NEXT: <key>line</key><integer>57</integer> 719 // CHECK-NEXT: <key>col</key><integer>37</integer> 720 // CHECK-NEXT: <key>file</key><integer>0</integer> 721 // CHECK-NEXT: </dict> 722 // CHECK-NEXT: </array> 723 // CHECK-NEXT: </array> 724 // CHECK-NEXT: <key>depth</key><integer>0</integer> 725 // CHECK-NEXT: <key>extended_message</key> 726 // CHECK-NEXT: <string>Method returns an Objective-C object with a +0 retain count</string> 727 // CHECK-NEXT: <key>message</key> 728 // CHECK-NEXT: <string>Method returns an Objective-C object with a +0 retain count</string> 729 // CHECK-NEXT: </dict> 730 // CHECK-NEXT: <dict> 731 // CHECK-NEXT: <key>kind</key><string>control</string> 732 // CHECK-NEXT: <key>edges</key> 733 // CHECK-NEXT: <array> 734 // CHECK-NEXT: <dict> 735 // CHECK-NEXT: <key>start</key> 736 // CHECK-NEXT: <array> 737 // CHECK-NEXT: <dict> 738 // CHECK-NEXT: <key>line</key><integer>57</integer> 739 // CHECK-NEXT: <key>col</key><integer>15</integer> 740 // CHECK-NEXT: <key>file</key><integer>0</integer> 741 // CHECK-NEXT: </dict> 742 // CHECK-NEXT: <dict> 743 // CHECK-NEXT: <key>line</key><integer>57</integer> 744 // CHECK-NEXT: <key>col</key><integer>15</integer> 745 // CHECK-NEXT: <key>file</key><integer>0</integer> 746 // CHECK-NEXT: </dict> 747 // CHECK-NEXT: </array> 748 // CHECK-NEXT: <key>end</key> 749 // CHECK-NEXT: <array> 750 // CHECK-NEXT: <dict> 751 // CHECK-NEXT: <key>line</key><integer>58</integer> 752 // CHECK-NEXT: <key>col</key><integer>3</integer> 753 // CHECK-NEXT: <key>file</key><integer>0</integer> 754 // CHECK-NEXT: </dict> 755 // CHECK-NEXT: <dict> 756 // CHECK-NEXT: <key>line</key><integer>58</integer> 757 // CHECK-NEXT: <key>col</key><integer>3</integer> 758 // CHECK-NEXT: <key>file</key><integer>0</integer> 759 // CHECK-NEXT: </dict> 760 // CHECK-NEXT: </array> 761 // CHECK-NEXT: </dict> 762 // CHECK-NEXT: </array> 763 // CHECK-NEXT: </dict> 764 // CHECK-NEXT: <dict> 765 // CHECK-NEXT: <key>kind</key><string>event</string> 766 // CHECK-NEXT: <key>location</key> 767 // CHECK-NEXT: <dict> 768 // CHECK-NEXT: <key>line</key><integer>58</integer> 769 // CHECK-NEXT: <key>col</key><integer>3</integer> 770 // CHECK-NEXT: <key>file</key><integer>0</integer> 771 // CHECK-NEXT: </dict> 772 // CHECK-NEXT: <key>ranges</key> 773 // CHECK-NEXT: <array> 774 // CHECK-NEXT: <array> 775 // CHECK-NEXT: <dict> 776 // CHECK-NEXT: <key>line</key><integer>58</integer> 777 // CHECK-NEXT: <key>col</key><integer>3</integer> 778 // CHECK-NEXT: <key>file</key><integer>0</integer> 779 // CHECK-NEXT: </dict> 780 // CHECK-NEXT: <dict> 781 // CHECK-NEXT: <key>line</key><integer>58</integer> 782 // CHECK-NEXT: <key>col</key><integer>17</integer> 783 // CHECK-NEXT: <key>file</key><integer>0</integer> 784 // CHECK-NEXT: </dict> 785 // CHECK-NEXT: </array> 786 // CHECK-NEXT: <array> 787 // CHECK-NEXT: <dict> 788 // CHECK-NEXT: <key>line</key><integer>58</integer> 789 // CHECK-NEXT: <key>col</key><integer>4</integer> 790 // CHECK-NEXT: <key>file</key><integer>0</integer> 791 // CHECK-NEXT: </dict> 792 // CHECK-NEXT: <dict> 793 // CHECK-NEXT: <key>line</key><integer>58</integer> 794 // CHECK-NEXT: <key>col</key><integer>9</integer> 795 // CHECK-NEXT: <key>file</key><integer>0</integer> 796 // CHECK-NEXT: </dict> 797 // CHECK-NEXT: </array> 798 // CHECK-NEXT: </array> 799 // CHECK-NEXT: <key>depth</key><integer>0</integer> 800 // CHECK-NEXT: <key>extended_message</key> 801 // CHECK-NEXT: <string>In GC mode the 'retain' message has no effect</string> 802 // CHECK-NEXT: <key>message</key> 803 // CHECK-NEXT: <string>In GC mode the 'retain' message has no effect</string> 804 // CHECK-NEXT: </dict> 805 // CHECK-NEXT: <dict> 806 // CHECK-NEXT: <key>kind</key><string>control</string> 807 // CHECK-NEXT: <key>edges</key> 808 // CHECK-NEXT: <array> 809 // CHECK-NEXT: <dict> 810 // CHECK-NEXT: <key>start</key> 811 // CHECK-NEXT: <array> 812 // CHECK-NEXT: <dict> 813 // CHECK-NEXT: <key>line</key><integer>58</integer> 814 // CHECK-NEXT: <key>col</key><integer>3</integer> 815 // CHECK-NEXT: <key>file</key><integer>0</integer> 816 // CHECK-NEXT: </dict> 817 // CHECK-NEXT: <dict> 818 // CHECK-NEXT: <key>line</key><integer>58</integer> 819 // CHECK-NEXT: <key>col</key><integer>3</integer> 820 // CHECK-NEXT: <key>file</key><integer>0</integer> 821 // CHECK-NEXT: </dict> 822 // CHECK-NEXT: </array> 823 // CHECK-NEXT: <key>end</key> 824 // CHECK-NEXT: <array> 825 // CHECK-NEXT: <dict> 826 // CHECK-NEXT: <key>line</key><integer>59</integer> 827 // CHECK-NEXT: <key>col</key><integer>3</integer> 828 // CHECK-NEXT: <key>file</key><integer>0</integer> 829 // CHECK-NEXT: </dict> 830 // CHECK-NEXT: <dict> 831 // CHECK-NEXT: <key>line</key><integer>59</integer> 832 // CHECK-NEXT: <key>col</key><integer>3</integer> 833 // CHECK-NEXT: <key>file</key><integer>0</integer> 834 // CHECK-NEXT: </dict> 835 // CHECK-NEXT: </array> 836 // CHECK-NEXT: </dict> 837 // CHECK-NEXT: </array> 838 // CHECK-NEXT: </dict> 839 // CHECK-NEXT: <dict> 840 // CHECK-NEXT: <key>kind</key><string>event</string> 841 // CHECK-NEXT: <key>location</key> 842 // CHECK-NEXT: <dict> 843 // CHECK-NEXT: <key>line</key><integer>59</integer> 844 // CHECK-NEXT: <key>col</key><integer>3</integer> 845 // CHECK-NEXT: <key>file</key><integer>0</integer> 846 // CHECK-NEXT: </dict> 847 // CHECK-NEXT: <key>ranges</key> 848 // CHECK-NEXT: <array> 849 // CHECK-NEXT: <array> 850 // CHECK-NEXT: <dict> 851 // CHECK-NEXT: <key>line</key><integer>59</integer> 852 // CHECK-NEXT: <key>col</key><integer>3</integer> 853 // CHECK-NEXT: <key>file</key><integer>0</integer> 854 // CHECK-NEXT: </dict> 855 // CHECK-NEXT: <dict> 856 // CHECK-NEXT: <key>line</key><integer>59</integer> 857 // CHECK-NEXT: <key>col</key><integer>18</integer> 858 // CHECK-NEXT: <key>file</key><integer>0</integer> 859 // CHECK-NEXT: </dict> 860 // CHECK-NEXT: </array> 861 // CHECK-NEXT: <array> 862 // CHECK-NEXT: <dict> 863 // CHECK-NEXT: <key>line</key><integer>59</integer> 864 // CHECK-NEXT: <key>col</key><integer>4</integer> 865 // CHECK-NEXT: <key>file</key><integer>0</integer> 866 // CHECK-NEXT: </dict> 867 // CHECK-NEXT: <dict> 868 // CHECK-NEXT: <key>line</key><integer>59</integer> 869 // CHECK-NEXT: <key>col</key><integer>9</integer> 870 // CHECK-NEXT: <key>file</key><integer>0</integer> 871 // CHECK-NEXT: </dict> 872 // CHECK-NEXT: </array> 873 // CHECK-NEXT: </array> 874 // CHECK-NEXT: <key>depth</key><integer>0</integer> 875 // CHECK-NEXT: <key>extended_message</key> 876 // CHECK-NEXT: <string>In GC mode the 'release' message has no effect</string> 877 // CHECK-NEXT: <key>message</key> 878 // CHECK-NEXT: <string>In GC mode the 'release' message has no effect</string> 879 // CHECK-NEXT: </dict> 880 // CHECK-NEXT: <dict> 881 // CHECK-NEXT: <key>kind</key><string>control</string> 882 // CHECK-NEXT: <key>edges</key> 883 // CHECK-NEXT: <array> 884 // CHECK-NEXT: <dict> 885 // CHECK-NEXT: <key>start</key> 886 // CHECK-NEXT: <array> 887 // CHECK-NEXT: <dict> 888 // CHECK-NEXT: <key>line</key><integer>59</integer> 889 // CHECK-NEXT: <key>col</key><integer>3</integer> 890 // CHECK-NEXT: <key>file</key><integer>0</integer> 891 // CHECK-NEXT: </dict> 892 // CHECK-NEXT: <dict> 893 // CHECK-NEXT: <key>line</key><integer>59</integer> 894 // CHECK-NEXT: <key>col</key><integer>3</integer> 895 // CHECK-NEXT: <key>file</key><integer>0</integer> 896 // CHECK-NEXT: </dict> 897 // CHECK-NEXT: </array> 898 // CHECK-NEXT: <key>end</key> 899 // CHECK-NEXT: <array> 900 // CHECK-NEXT: <dict> 901 // CHECK-NEXT: <key>line</key><integer>60</integer> 902 // CHECK-NEXT: <key>col</key><integer>3</integer> 903 // CHECK-NEXT: <key>file</key><integer>0</integer> 904 // CHECK-NEXT: </dict> 905 // CHECK-NEXT: <dict> 906 // CHECK-NEXT: <key>line</key><integer>60</integer> 907 // CHECK-NEXT: <key>col</key><integer>3</integer> 908 // CHECK-NEXT: <key>file</key><integer>0</integer> 909 // CHECK-NEXT: </dict> 910 // CHECK-NEXT: </array> 911 // CHECK-NEXT: </dict> 912 // CHECK-NEXT: </array> 913 // CHECK-NEXT: </dict> 914 // CHECK-NEXT: <dict> 915 // CHECK-NEXT: <key>kind</key><string>event</string> 916 // CHECK-NEXT: <key>location</key> 917 // CHECK-NEXT: <dict> 918 // CHECK-NEXT: <key>line</key><integer>60</integer> 919 // CHECK-NEXT: <key>col</key><integer>3</integer> 920 // CHECK-NEXT: <key>file</key><integer>0</integer> 921 // CHECK-NEXT: </dict> 922 // CHECK-NEXT: <key>ranges</key> 923 // CHECK-NEXT: <array> 924 // CHECK-NEXT: <array> 925 // CHECK-NEXT: <dict> 926 // CHECK-NEXT: <key>line</key><integer>60</integer> 927 // CHECK-NEXT: <key>col</key><integer>3</integer> 928 // CHECK-NEXT: <key>file</key><integer>0</integer> 929 // CHECK-NEXT: </dict> 930 // CHECK-NEXT: <dict> 931 // CHECK-NEXT: <key>line</key><integer>60</integer> 932 // CHECK-NEXT: <key>col</key><integer>22</integer> 933 // CHECK-NEXT: <key>file</key><integer>0</integer> 934 // CHECK-NEXT: </dict> 935 // CHECK-NEXT: </array> 936 // CHECK-NEXT: <array> 937 // CHECK-NEXT: <dict> 938 // CHECK-NEXT: <key>line</key><integer>60</integer> 939 // CHECK-NEXT: <key>col</key><integer>4</integer> 940 // CHECK-NEXT: <key>file</key><integer>0</integer> 941 // CHECK-NEXT: </dict> 942 // CHECK-NEXT: <dict> 943 // CHECK-NEXT: <key>line</key><integer>60</integer> 944 // CHECK-NEXT: <key>col</key><integer>9</integer> 945 // CHECK-NEXT: <key>file</key><integer>0</integer> 946 // CHECK-NEXT: </dict> 947 // CHECK-NEXT: </array> 948 // CHECK-NEXT: </array> 949 // CHECK-NEXT: <key>depth</key><integer>0</integer> 950 // CHECK-NEXT: <key>extended_message</key> 951 // CHECK-NEXT: <string>In GC mode an 'autorelease' has no effect</string> 952 // CHECK-NEXT: <key>message</key> 953 // CHECK-NEXT: <string>In GC mode an 'autorelease' has no effect</string> 954 // CHECK-NEXT: </dict> 955 // CHECK-NEXT: <dict> 956 // CHECK-NEXT: <key>kind</key><string>control</string> 957 // CHECK-NEXT: <key>edges</key> 958 // CHECK-NEXT: <array> 959 // CHECK-NEXT: <dict> 960 // CHECK-NEXT: <key>start</key> 961 // CHECK-NEXT: <array> 962 // CHECK-NEXT: <dict> 963 // CHECK-NEXT: <key>line</key><integer>60</integer> 964 // CHECK-NEXT: <key>col</key><integer>3</integer> 965 // CHECK-NEXT: <key>file</key><integer>0</integer> 966 // CHECK-NEXT: </dict> 967 // CHECK-NEXT: <dict> 968 // CHECK-NEXT: <key>line</key><integer>60</integer> 969 // CHECK-NEXT: <key>col</key><integer>3</integer> 970 // CHECK-NEXT: <key>file</key><integer>0</integer> 971 // CHECK-NEXT: </dict> 972 // CHECK-NEXT: </array> 973 // CHECK-NEXT: <key>end</key> 974 // CHECK-NEXT: <array> 975 // CHECK-NEXT: <dict> 976 // CHECK-NEXT: <key>line</key><integer>61</integer> 977 // CHECK-NEXT: <key>col</key><integer>3</integer> 978 // CHECK-NEXT: <key>file</key><integer>0</integer> 979 // CHECK-NEXT: </dict> 980 // CHECK-NEXT: <dict> 981 // CHECK-NEXT: <key>line</key><integer>61</integer> 982 // CHECK-NEXT: <key>col</key><integer>11</integer> 983 // CHECK-NEXT: <key>file</key><integer>0</integer> 984 // CHECK-NEXT: </dict> 985 // CHECK-NEXT: </array> 986 // CHECK-NEXT: </dict> 987 // CHECK-NEXT: </array> 988 // CHECK-NEXT: </dict> 989 // CHECK-NEXT: <dict> 990 // CHECK-NEXT: <key>kind</key><string>event</string> 991 // CHECK-NEXT: <key>location</key> 992 // CHECK-NEXT: <dict> 993 // CHECK-NEXT: <key>line</key><integer>61</integer> 994 // CHECK-NEXT: <key>col</key><integer>3</integer> 995 // CHECK-NEXT: <key>file</key><integer>0</integer> 996 // CHECK-NEXT: </dict> 997 // CHECK-NEXT: <key>ranges</key> 998 // CHECK-NEXT: <array> 999 // CHECK-NEXT: <array> 1000 // CHECK-NEXT: <dict> 1001 // CHECK-NEXT: <key>line</key><integer>61</integer> 1002 // CHECK-NEXT: <key>col</key><integer>13</integer> 1003 // CHECK-NEXT: <key>file</key><integer>0</integer> 1004 // CHECK-NEXT: </dict> 1005 // CHECK-NEXT: <dict> 1006 // CHECK-NEXT: <key>line</key><integer>61</integer> 1007 // CHECK-NEXT: <key>col</key><integer>29</integer> 1008 // CHECK-NEXT: <key>file</key><integer>0</integer> 1009 // CHECK-NEXT: </dict> 1010 // CHECK-NEXT: </array> 1011 // CHECK-NEXT: </array> 1012 // CHECK-NEXT: <key>depth</key><integer>0</integer> 1013 // CHECK-NEXT: <key>extended_message</key> 1014 // CHECK-NEXT: <string>Incorrect decrement of the reference count of an object that is not owned at this point by the caller</string> 1015 // CHECK-NEXT: <key>message</key> 1016 // CHECK-NEXT: <string>Incorrect decrement of the reference count of an object that is not owned at this point by the caller</string> 1017 // CHECK-NEXT: </dict> 1018 // CHECK-NEXT: </array> 1019 // CHECK-NEXT: <key>description</key><string>Incorrect decrement of the reference count of an object that is not owned at this point by the caller</string> 1020 // CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string> 1021 // CHECK-NEXT: <key>type</key><string>Bad release</string> 1022 // CHECK-NEXT: <key>issue_context_kind</key><string>function</string> 1023 // CHECK-NEXT: <key>issue_context</key><string>retainReleaseIgnored</string> 1024 // CHECK-NEXT: <key>issue_hash</key><string>5</string> 1025 // CHECK-NEXT: <key>location</key> 1026 // CHECK-NEXT: <dict> 1027 // CHECK-NEXT: <key>line</key><integer>61</integer> 1028 // CHECK-NEXT: <key>col</key><integer>3</integer> 1029 // CHECK-NEXT: <key>file</key><integer>0</integer> 1030 // CHECK-NEXT: </dict> 1031 // CHECK-NEXT: </dict> 1032 // CHECK-NEXT: <dict> 1033 // CHECK-NEXT: <key>path</key> 1034 // CHECK-NEXT: <array> 1035 // CHECK-NEXT: <dict> 1036 // CHECK-NEXT: <key>kind</key><string>control</string> 1037 // CHECK-NEXT: <key>edges</key> 1038 // CHECK-NEXT: <array> 1039 // CHECK-NEXT: <dict> 1040 // CHECK-NEXT: <key>start</key> 1041 // CHECK-NEXT: <array> 1042 // CHECK-NEXT: <dict> 1043 // CHECK-NEXT: <key>line</key><integer>66</integer> 1044 // CHECK-NEXT: <key>col</key><integer>3</integer> 1045 // CHECK-NEXT: <key>file</key><integer>0</integer> 1046 // CHECK-NEXT: </dict> 1047 // CHECK-NEXT: <dict> 1048 // CHECK-NEXT: <key>line</key><integer>66</integer> 1049 // CHECK-NEXT: <key>col</key><integer>4</integer> 1050 // CHECK-NEXT: <key>file</key><integer>0</integer> 1051 // CHECK-NEXT: </dict> 1052 // CHECK-NEXT: </array> 1053 // CHECK-NEXT: <key>end</key> 1054 // CHECK-NEXT: <array> 1055 // CHECK-NEXT: <dict> 1056 // CHECK-NEXT: <key>line</key><integer>66</integer> 1057 // CHECK-NEXT: <key>col</key><integer>20</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>66</integer> 1062 // CHECK-NEXT: <key>col</key><integer>36</integer> 1063 // CHECK-NEXT: <key>file</key><integer>0</integer> 1064 // CHECK-NEXT: </dict> 1065 // CHECK-NEXT: </array> 1066 // CHECK-NEXT: </dict> 1067 // CHECK-NEXT: </array> 1068 // CHECK-NEXT: </dict> 1069 // CHECK-NEXT: <dict> 1070 // CHECK-NEXT: <key>kind</key><string>event</string> 1071 // CHECK-NEXT: <key>location</key> 1072 // CHECK-NEXT: <dict> 1073 // CHECK-NEXT: <key>line</key><integer>66</integer> 1074 // CHECK-NEXT: <key>col</key><integer>20</integer> 1075 // CHECK-NEXT: <key>file</key><integer>0</integer> 1076 // CHECK-NEXT: </dict> 1077 // CHECK-NEXT: <key>ranges</key> 1078 // CHECK-NEXT: <array> 1079 // CHECK-NEXT: <array> 1080 // CHECK-NEXT: <dict> 1081 // CHECK-NEXT: <key>line</key><integer>66</integer> 1082 // CHECK-NEXT: <key>col</key><integer>20</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>66</integer> 1087 // CHECK-NEXT: <key>col</key><integer>38</integer> 1088 // CHECK-NEXT: <key>file</key><integer>0</integer> 1089 // CHECK-NEXT: </dict> 1090 // CHECK-NEXT: </array> 1091 // CHECK-NEXT: </array> 1092 // CHECK-NEXT: <key>depth</key><integer>0</integer> 1093 // CHECK-NEXT: <key>extended_message</key> 1094 // CHECK-NEXT: <string>Call to function 'CFCreateSomething' returns a Core Foundation object with a +1 retain count. Core Foundation objects are not automatically garbage collected</string> 1095 // CHECK-NEXT: <key>message</key> 1096 // CHECK-NEXT: <string>Call to function 'CFCreateSomething' returns a Core Foundation object with a +1 retain count. Core Foundation objects are not automatically garbage collected</string> 1097 // CHECK-NEXT: </dict> 1098 // CHECK-NEXT: <dict> 1099 // CHECK-NEXT: <key>kind</key><string>control</string> 1100 // CHECK-NEXT: <key>edges</key> 1101 // CHECK-NEXT: <array> 1102 // CHECK-NEXT: <dict> 1103 // CHECK-NEXT: <key>start</key> 1104 // CHECK-NEXT: <array> 1105 // CHECK-NEXT: <dict> 1106 // CHECK-NEXT: <key>line</key><integer>66</integer> 1107 // CHECK-NEXT: <key>col</key><integer>20</integer> 1108 // CHECK-NEXT: <key>file</key><integer>0</integer> 1109 // CHECK-NEXT: </dict> 1110 // CHECK-NEXT: <dict> 1111 // CHECK-NEXT: <key>line</key><integer>66</integer> 1112 // CHECK-NEXT: <key>col</key><integer>36</integer> 1113 // CHECK-NEXT: <key>file</key><integer>0</integer> 1114 // CHECK-NEXT: </dict> 1115 // CHECK-NEXT: </array> 1116 // CHECK-NEXT: <key>end</key> 1117 // CHECK-NEXT: <array> 1118 // CHECK-NEXT: <dict> 1119 // CHECK-NEXT: <key>line</key><integer>67</integer> 1120 // CHECK-NEXT: <key>col</key><integer>3</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>67</integer> 1125 // CHECK-NEXT: <key>col</key><integer>8</integer> 1126 // CHECK-NEXT: <key>file</key><integer>0</integer> 1127 // CHECK-NEXT: </dict> 1128 // CHECK-NEXT: </array> 1129 // CHECK-NEXT: </dict> 1130 // CHECK-NEXT: </array> 1131 // CHECK-NEXT: </dict> 1132 // CHECK-NEXT: <dict> 1133 // CHECK-NEXT: <key>kind</key><string>event</string> 1134 // CHECK-NEXT: <key>location</key> 1135 // CHECK-NEXT: <dict> 1136 // CHECK-NEXT: <key>line</key><integer>67</integer> 1137 // CHECK-NEXT: <key>col</key><integer>3</integer> 1138 // CHECK-NEXT: <key>file</key><integer>0</integer> 1139 // CHECK-NEXT: </dict> 1140 // CHECK-NEXT: <key>ranges</key> 1141 // CHECK-NEXT: <array> 1142 // CHECK-NEXT: <array> 1143 // CHECK-NEXT: <dict> 1144 // CHECK-NEXT: <key>line</key><integer>67</integer> 1145 // CHECK-NEXT: <key>col</key><integer>3</integer> 1146 // CHECK-NEXT: <key>file</key><integer>0</integer> 1147 // CHECK-NEXT: </dict> 1148 // CHECK-NEXT: <dict> 1149 // CHECK-NEXT: <key>line</key><integer>67</integer> 1150 // CHECK-NEXT: <key>col</key><integer>15</integer> 1151 // CHECK-NEXT: <key>file</key><integer>0</integer> 1152 // CHECK-NEXT: </dict> 1153 // CHECK-NEXT: </array> 1154 // CHECK-NEXT: <array> 1155 // CHECK-NEXT: <dict> 1156 // CHECK-NEXT: <key>line</key><integer>67</integer> 1157 // CHECK-NEXT: <key>col</key><integer>10</integer> 1158 // CHECK-NEXT: <key>file</key><integer>0</integer> 1159 // CHECK-NEXT: </dict> 1160 // CHECK-NEXT: <dict> 1161 // CHECK-NEXT: <key>line</key><integer>67</integer> 1162 // CHECK-NEXT: <key>col</key><integer>15</integer> 1163 // CHECK-NEXT: <key>file</key><integer>0</integer> 1164 // CHECK-NEXT: </dict> 1165 // CHECK-NEXT: </array> 1166 // CHECK-NEXT: </array> 1167 // CHECK-NEXT: <key>depth</key><integer>0</integer> 1168 // CHECK-NEXT: <key>extended_message</key> 1169 // CHECK-NEXT: <string>Object returned to caller as an owning reference (single retain count transferred to caller)</string> 1170 // CHECK-NEXT: <key>message</key> 1171 // CHECK-NEXT: <string>Object returned to caller as an owning reference (single retain count transferred to caller)</string> 1172 // CHECK-NEXT: </dict> 1173 // CHECK-NEXT: <dict> 1174 // CHECK-NEXT: <key>kind</key><string>event</string> 1175 // CHECK-NEXT: <key>location</key> 1176 // CHECK-NEXT: <dict> 1177 // CHECK-NEXT: <key>line</key><integer>67</integer> 1178 // CHECK-NEXT: <key>col</key><integer>3</integer> 1179 // CHECK-NEXT: <key>file</key><integer>0</integer> 1180 // CHECK-NEXT: </dict> 1181 // CHECK-NEXT: <key>ranges</key> 1182 // CHECK-NEXT: <array> 1183 // CHECK-NEXT: <array> 1184 // CHECK-NEXT: <dict> 1185 // CHECK-NEXT: <key>line</key><integer>67</integer> 1186 // CHECK-NEXT: <key>col</key><integer>3</integer> 1187 // CHECK-NEXT: <key>file</key><integer>0</integer> 1188 // CHECK-NEXT: </dict> 1189 // CHECK-NEXT: <dict> 1190 // CHECK-NEXT: <key>line</key><integer>67</integer> 1191 // CHECK-NEXT: <key>col</key><integer>15</integer> 1192 // CHECK-NEXT: <key>file</key><integer>0</integer> 1193 // CHECK-NEXT: </dict> 1194 // CHECK-NEXT: </array> 1195 // CHECK-NEXT: </array> 1196 // CHECK-NEXT: <key>depth</key><integer>0</integer> 1197 // CHECK-NEXT: <key>extended_message</key> 1198 // CHECK-NEXT: <string>Object leaked: object allocated and stored into 'object' and returned from method 'getViolation' is potentially leaked when using garbage collection. Callers of this method do not expect a returned object with a +1 retain count since they expect the object to be managed by the garbage collector</string> 1199 // CHECK-NEXT: <key>message</key> 1200 // CHECK-NEXT: <string>Object leaked: object allocated and stored into 'object' and returned from method 'getViolation' is potentially leaked when using garbage collection. Callers of this method do not expect a returned object with a +1 retain count since they expect the object to be managed by the garbage collector</string> 1201 // CHECK-NEXT: </dict> 1202 // CHECK-NEXT: </array> 1203 // CHECK-NEXT: <key>description</key><string>Potential leak (when using garbage collection) of an object stored into 'object'</string> 1204 // CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string> 1205 // CHECK-NEXT: <key>type</key><string>Leak of returned object when using garbage collection</string> 1206 // CHECK-NEXT: <key>issue_context_kind</key><string>Objective-C method</string> 1207 // CHECK-NEXT: <key>issue_context</key><string>getViolation</string> 1208 // CHECK-NEXT: <key>issue_hash</key><string>1</string> 1209 // CHECK-NEXT: <key>location</key> 1210 // CHECK-NEXT: <dict> 1211 // CHECK-NEXT: <key>line</key><integer>67</integer> 1212 // CHECK-NEXT: <key>col</key><integer>3</integer> 1213 // CHECK-NEXT: <key>file</key><integer>0</integer> 1214 // CHECK-NEXT: </dict> 1215 // CHECK-NEXT: </dict> 1216 // CHECK-NEXT: <dict> 1217 // CHECK-NEXT: <key>path</key> 1218 // CHECK-NEXT: <array> 1219 // CHECK-NEXT: <dict> 1220 // CHECK-NEXT: <key>kind</key><string>control</string> 1221 // CHECK-NEXT: <key>edges</key> 1222 // CHECK-NEXT: <array> 1223 // CHECK-NEXT: <dict> 1224 // CHECK-NEXT: <key>start</key> 1225 // CHECK-NEXT: <array> 1226 // CHECK-NEXT: <dict> 1227 // CHECK-NEXT: <key>line</key><integer>71</integer> 1228 // CHECK-NEXT: <key>col</key><integer>3</integer> 1229 // CHECK-NEXT: <key>file</key><integer>0</integer> 1230 // CHECK-NEXT: </dict> 1231 // CHECK-NEXT: <dict> 1232 // CHECK-NEXT: <key>line</key><integer>71</integer> 1233 // CHECK-NEXT: <key>col</key><integer>4</integer> 1234 // CHECK-NEXT: <key>file</key><integer>0</integer> 1235 // CHECK-NEXT: </dict> 1236 // CHECK-NEXT: </array> 1237 // CHECK-NEXT: <key>end</key> 1238 // CHECK-NEXT: <array> 1239 // CHECK-NEXT: <dict> 1240 // CHECK-NEXT: <key>line</key><integer>71</integer> 1241 // CHECK-NEXT: <key>col</key><integer>20</integer> 1242 // CHECK-NEXT: <key>file</key><integer>0</integer> 1243 // CHECK-NEXT: </dict> 1244 // CHECK-NEXT: <dict> 1245 // CHECK-NEXT: <key>line</key><integer>71</integer> 1246 // CHECK-NEXT: <key>col</key><integer>36</integer> 1247 // CHECK-NEXT: <key>file</key><integer>0</integer> 1248 // CHECK-NEXT: </dict> 1249 // CHECK-NEXT: </array> 1250 // CHECK-NEXT: </dict> 1251 // CHECK-NEXT: </array> 1252 // CHECK-NEXT: </dict> 1253 // CHECK-NEXT: <dict> 1254 // CHECK-NEXT: <key>kind</key><string>event</string> 1255 // CHECK-NEXT: <key>location</key> 1256 // CHECK-NEXT: <dict> 1257 // CHECK-NEXT: <key>line</key><integer>71</integer> 1258 // CHECK-NEXT: <key>col</key><integer>20</integer> 1259 // CHECK-NEXT: <key>file</key><integer>0</integer> 1260 // CHECK-NEXT: </dict> 1261 // CHECK-NEXT: <key>ranges</key> 1262 // CHECK-NEXT: <array> 1263 // CHECK-NEXT: <array> 1264 // CHECK-NEXT: <dict> 1265 // CHECK-NEXT: <key>line</key><integer>71</integer> 1266 // CHECK-NEXT: <key>col</key><integer>20</integer> 1267 // CHECK-NEXT: <key>file</key><integer>0</integer> 1268 // CHECK-NEXT: </dict> 1269 // CHECK-NEXT: <dict> 1270 // CHECK-NEXT: <key>line</key><integer>71</integer> 1271 // CHECK-NEXT: <key>col</key><integer>38</integer> 1272 // CHECK-NEXT: <key>file</key><integer>0</integer> 1273 // CHECK-NEXT: </dict> 1274 // CHECK-NEXT: </array> 1275 // CHECK-NEXT: </array> 1276 // CHECK-NEXT: <key>depth</key><integer>0</integer> 1277 // CHECK-NEXT: <key>extended_message</key> 1278 // CHECK-NEXT: <string>Call to function 'CFCreateSomething' returns a Core Foundation object with a +1 retain count. Core Foundation objects are not automatically garbage collected</string> 1279 // CHECK-NEXT: <key>message</key> 1280 // CHECK-NEXT: <string>Call to function 'CFCreateSomething' returns a Core Foundation object with a +1 retain count. Core Foundation objects are not automatically garbage collected</string> 1281 // CHECK-NEXT: </dict> 1282 // CHECK-NEXT: <dict> 1283 // CHECK-NEXT: <key>kind</key><string>control</string> 1284 // CHECK-NEXT: <key>edges</key> 1285 // CHECK-NEXT: <array> 1286 // CHECK-NEXT: <dict> 1287 // CHECK-NEXT: <key>start</key> 1288 // CHECK-NEXT: <array> 1289 // CHECK-NEXT: <dict> 1290 // CHECK-NEXT: <key>line</key><integer>71</integer> 1291 // CHECK-NEXT: <key>col</key><integer>20</integer> 1292 // CHECK-NEXT: <key>file</key><integer>0</integer> 1293 // CHECK-NEXT: </dict> 1294 // CHECK-NEXT: <dict> 1295 // CHECK-NEXT: <key>line</key><integer>71</integer> 1296 // CHECK-NEXT: <key>col</key><integer>36</integer> 1297 // CHECK-NEXT: <key>file</key><integer>0</integer> 1298 // CHECK-NEXT: </dict> 1299 // CHECK-NEXT: </array> 1300 // CHECK-NEXT: <key>end</key> 1301 // CHECK-NEXT: <array> 1302 // CHECK-NEXT: <dict> 1303 // CHECK-NEXT: <key>line</key><integer>72</integer> 1304 // CHECK-NEXT: <key>col</key><integer>3</integer> 1305 // CHECK-NEXT: <key>file</key><integer>0</integer> 1306 // CHECK-NEXT: </dict> 1307 // CHECK-NEXT: <dict> 1308 // CHECK-NEXT: <key>line</key><integer>72</integer> 1309 // CHECK-NEXT: <key>col</key><integer>8</integer> 1310 // CHECK-NEXT: <key>file</key><integer>0</integer> 1311 // CHECK-NEXT: </dict> 1312 // CHECK-NEXT: </array> 1313 // CHECK-NEXT: </dict> 1314 // CHECK-NEXT: </array> 1315 // CHECK-NEXT: </dict> 1316 // CHECK-NEXT: <dict> 1317 // CHECK-NEXT: <key>kind</key><string>event</string> 1318 // CHECK-NEXT: <key>location</key> 1319 // CHECK-NEXT: <dict> 1320 // CHECK-NEXT: <key>line</key><integer>72</integer> 1321 // CHECK-NEXT: <key>col</key><integer>3</integer> 1322 // CHECK-NEXT: <key>file</key><integer>0</integer> 1323 // CHECK-NEXT: </dict> 1324 // CHECK-NEXT: <key>ranges</key> 1325 // CHECK-NEXT: <array> 1326 // CHECK-NEXT: <array> 1327 // CHECK-NEXT: <dict> 1328 // CHECK-NEXT: <key>line</key><integer>72</integer> 1329 // CHECK-NEXT: <key>col</key><integer>3</integer> 1330 // CHECK-NEXT: <key>file</key><integer>0</integer> 1331 // CHECK-NEXT: </dict> 1332 // CHECK-NEXT: <dict> 1333 // CHECK-NEXT: <key>line</key><integer>72</integer> 1334 // CHECK-NEXT: <key>col</key><integer>15</integer> 1335 // CHECK-NEXT: <key>file</key><integer>0</integer> 1336 // CHECK-NEXT: </dict> 1337 // CHECK-NEXT: </array> 1338 // CHECK-NEXT: <array> 1339 // CHECK-NEXT: <dict> 1340 // CHECK-NEXT: <key>line</key><integer>72</integer> 1341 // CHECK-NEXT: <key>col</key><integer>10</integer> 1342 // CHECK-NEXT: <key>file</key><integer>0</integer> 1343 // CHECK-NEXT: </dict> 1344 // CHECK-NEXT: <dict> 1345 // CHECK-NEXT: <key>line</key><integer>72</integer> 1346 // CHECK-NEXT: <key>col</key><integer>15</integer> 1347 // CHECK-NEXT: <key>file</key><integer>0</integer> 1348 // CHECK-NEXT: </dict> 1349 // CHECK-NEXT: </array> 1350 // CHECK-NEXT: </array> 1351 // CHECK-NEXT: <key>depth</key><integer>0</integer> 1352 // CHECK-NEXT: <key>extended_message</key> 1353 // CHECK-NEXT: <string>Object returned to caller as an owning reference (single retain count transferred to caller)</string> 1354 // CHECK-NEXT: <key>message</key> 1355 // CHECK-NEXT: <string>Object returned to caller as an owning reference (single retain count transferred to caller)</string> 1356 // CHECK-NEXT: </dict> 1357 // CHECK-NEXT: <dict> 1358 // CHECK-NEXT: <key>kind</key><string>event</string> 1359 // CHECK-NEXT: <key>location</key> 1360 // CHECK-NEXT: <dict> 1361 // CHECK-NEXT: <key>line</key><integer>72</integer> 1362 // CHECK-NEXT: <key>col</key><integer>3</integer> 1363 // CHECK-NEXT: <key>file</key><integer>0</integer> 1364 // CHECK-NEXT: </dict> 1365 // CHECK-NEXT: <key>ranges</key> 1366 // CHECK-NEXT: <array> 1367 // CHECK-NEXT: <array> 1368 // CHECK-NEXT: <dict> 1369 // CHECK-NEXT: <key>line</key><integer>72</integer> 1370 // CHECK-NEXT: <key>col</key><integer>3</integer> 1371 // CHECK-NEXT: <key>file</key><integer>0</integer> 1372 // CHECK-NEXT: </dict> 1373 // CHECK-NEXT: <dict> 1374 // CHECK-NEXT: <key>line</key><integer>72</integer> 1375 // CHECK-NEXT: <key>col</key><integer>15</integer> 1376 // CHECK-NEXT: <key>file</key><integer>0</integer> 1377 // CHECK-NEXT: </dict> 1378 // CHECK-NEXT: </array> 1379 // CHECK-NEXT: </array> 1380 // CHECK-NEXT: <key>depth</key><integer>0</integer> 1381 // CHECK-NEXT: <key>extended_message</key> 1382 // CHECK-NEXT: <string>Object leaked: object allocated and stored into 'object' and returned from method 'copyViolation' is potentially leaked when using garbage collection. Callers of this method do not expect a returned object with a +1 retain count since they expect the object to be managed by the garbage collector</string> 1383 // CHECK-NEXT: <key>message</key> 1384 // CHECK-NEXT: <string>Object leaked: object allocated and stored into 'object' and returned from method 'copyViolation' is potentially leaked when using garbage collection. Callers of this method do not expect a returned object with a +1 retain count since they expect the object to be managed by the garbage collector</string> 1385 // CHECK-NEXT: </dict> 1386 // CHECK-NEXT: </array> 1387 // CHECK-NEXT: <key>description</key><string>Potential leak (when using garbage collection) of an object stored into 'object'</string> 1388 // CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string> 1389 // CHECK-NEXT: <key>type</key><string>Leak of returned object when using garbage collection</string> 1390 // CHECK-NEXT: <key>issue_context_kind</key><string>Objective-C method</string> 1391 // CHECK-NEXT: <key>issue_context</key><string>copyViolation</string> 1392 // CHECK-NEXT: <key>issue_hash</key><string>1</string> 1393 // CHECK-NEXT: <key>location</key> 1394 // CHECK-NEXT: <dict> 1395 // CHECK-NEXT: <key>line</key><integer>72</integer> 1396 // CHECK-NEXT: <key>col</key><integer>3</integer> 1397 // CHECK-NEXT: <key>file</key><integer>0</integer> 1398 // CHECK-NEXT: </dict> 1399 // CHECK-NEXT: </dict> 1400 // CHECK-NEXT: </array> 1401