[PATCH] detect CFAutorelease(0) in static analyzer

Jordan Rose jordan_rose at apple.com
Sat Jun 21 16:58:59 PDT 2014


The first one came during WWDC week. ;-) Committed as r211453. Thanks!

Jordan


On Jun 20, 2014, at 14:10 , Sean McBride <sean at rogue-research.com> wrote:

> Ping?  Anyone willing/able to review this little patch?  Reattached here.
> 
> Cheers,
> 
> Sean
> 
> On Wed, 4 Jun 2014 10:52:43 -0400, Sean McBride said:
> 
>> Hi all,
>> 
>> Attached is a probably-not-totally-correct patch to detect
>> CFAutorelease(0) in the static analyzer.  I don't know the clang
>> codebase, and basically copy-pasted this patch into existence. :)
>> 
>> Hopefully it is correct enough for someone knowledgable to review &
>> merge easily.
> <CFAutorelease0.patch>_______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list