Re: the clang analyzer is awesome!
Re: the clang analyzer is awesome!
- Subject: Re: the clang analyzer is awesome!
- From: Seth Willits <email@hidden>
- Date: Tue, 09 Apr 2013 11:07:54 -0700
On Apr 9, 2013, at 8:52 AM, Matt Neuburg wrote:
> I just did an Analyze on my project. At first I thought the analyzer had gone nuts. It drew this amazingly complicated diagram through my code, and kept talking about the potential leak of an object that I knew for a fact wasn't leaking (the CFRelease was right there). But after a while I realized that the analyzer was really telling me that I wasn't covering all my bases.
It is definitely awesome. Though, sometimes the execution path is extremely difficult to follow. For example:
http://sethwillits.com/temp/upshot/upshot_0KJMtL8E.png
I'm pretty dang confident there's no bug in that code, but I couldn't follow what it was saying to verify it was a false positive. I'll try again some day. ;) A tangle of arrows on top isn't always the best aid.
--
Seth Willits
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden