[cfe-commits] [PATCH] 3 small static analyzer patches

Sean McBride sean at rogue-research.com
Thu Sep 20 09:42:38 PDT 2012


Hi All,

Attached are 3 small static analyzer patches:
 - a typo on the website
 - extended the realloc(<zero-size>) check to include reallocf()
 - extended the OSAtomicChecker checker to include 2 other functions of the same CompareAndSwap type

I don't know the clang codebase at all and basically made these patches by copy-paste while poking around the code.  Please review very carefully.

Cheers,

-- 
____________________________________________________________
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: clang-reallocf.patch
Type: application/octet-stream
Size: 2251 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120920/c3f48889/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-typo.patch
Type: application/octet-stream
Size: 1094 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120920/c3f48889/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-CompareAndSwap.patch
Type: application/octet-stream
Size: 1068 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120920/c3f48889/attachment-0002.obj>


More information about the cfe-commits mailing list