Re: Static Analyzer Question
Re: Static Analyzer Question
- Subject: Re: Static Analyzer Question
- From: Dave DeLong <email@hidden>
- Date: Tue, 29 Sep 2009 19:00:33 -0600
To continue a bit on this idea, I believe that the static analyzer
only analyzes a single method at a time. I don't believe it recurses
into called methods to do analysis. (Can any of the clang-sa folks
confirm this?)
Dave
On Sep 29, 2009, at 6:31 PM, Jens Alfke wrote:
On Sep 29, 2009, at 5:12 PM, Steve Cronin wrote:
Why does Clang believe that an 'owning retain count is expected' if
the method is never called?
Objective-C is a dynamic enough language that there is no way to
tell at compile time whether a method is reachable or not. Even if
that selector never appears in your code, it could be constructed at
runtime, or your code could load a plugin bundle that calls that
selector.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden