[PATCH] detect CFAutorelease(0) in static analyzer

Sean McBride sean at rogue-research.com
Wed Jun 4 07:52:43 PDT 2014

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.


Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CFAutorelease0.patch
Type: application/octet-stream
Size: 8709 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140604/53a91808/attachment.obj>

More information about the cfe-commits mailing list