<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Ted,<div><br></div><div>Good idea for a test. It actually finds more issues so Xcode clearly knows how to run the tool better than me. I notice that with the command line execution I see some issues that make me think it is using the old (not modern) runtime:</div><div><br></div><div>Example:</div><div><div>error: synthesized property 'persistentStoreCoordinator' must either be named the same as a compatible ivar or must explicitly name an ivar</div><div>@synthesize persistentStoreCoordinator;</div><div>            ^</div><div>5 errors generated.</div></div><div><br></div><div>Any tips on troubleshooting would be appreciated.</div><div><br></div><div>J.</div><div><br></div><div><br><div><div>On 2012-01-03, at 4:00 PM, Ted Kremenek wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Jason,<div><br></div><div>If you use the 'set-xcode-analyzer' script to change which 'clang' is used directly by Xcode for static analysis, do you get the same number of issues within Xcode as you do for scan-build?  Essentially, if you use the clang in checker-258 directly within Xcode, do you get the same results as when using scan-build?  If so, this is a scan-build issue.  If not, this is a potential regression in the analyzer itself.</div><div><br></div><div>Cheers,</div><div>Ted</div><div><br><div><div>On Jan 3, 2012, at 3:51 PM, Jason Leach wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi:<div><br></div><div>I'm curious why I see a discrepancy in the issue count reported from xcode 4.2 vs. scan-build (checker-258). Xcode has found 29 issues while scan-build (258) found 7; most notable are the difference in memory leaks.</div><div><br></div><div>Here is how I run scan-build:</div><div>scan-build --use-cc=`which clang` -k -o scan-reports xcodebuild -target MyTarget -project myproject.xcodeproj -sdk iphonesimulator5.0 -configuration Debug clean build</div><div><br></div><div>Thanks in advance.</div><div><br><div apple-content-edited="true">
<div style="font-family: Helvetica; ">Regards,<br><br>Jason Leach<br><b>Fullboar Creative Corp.<br></b><a href="mailto:jason.leach@fullboar.ca">jason.leach@fullboar.ca</a><br><a href="http://fullboar.ca/">http://fullboar.ca/</a><br><br>t.  +1.604.800.0266 ext 101<br>c. +1.604.318.3939<br>f.  +1.604.800.0266</div>
</div>
<br></div></div>_______________________________________________<br>cfe-dev mailing list<br><a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br></blockquote></div><br></div></div></blockquote></div><br></div></body></html>