[cfe-commits] [PATCH] 3 small static analyzer patches
Jordan Rose
jordan_rose at apple.com
Mon Oct 29 18:42:29 PDT 2012
Committed as r166995, with the plist test updated as well.
For the record, you can run the regression tests from CMake using the 'check-clang' target.
Thanks!
Jordan
On Oct 18, 2012, at 7:56 , Sean McBride <sean at rogue-research.com> wrote:
> On Fri, 21 Sep 2012 09:51:32 -0700, Jordan Rose said:
>
>> The reallocf change looks good. The place to add a test is unix-fns.c,
>> which you probably already found. I'll let you come up with a test case
>> just to practice. ;-) Welcome to the static analyzer!
>
> Hi,
>
> Here's a new patch with test. I confirmed that it builds, and that the build result detects reallocf(zero-size). I didn't run all the unit/regression tests though, because, despite their being instructions, I couldn't figure out how. I suspect one must built with autotools and not cmake to be able to run them?
>
> Cheers,
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng sean at rogue-research.com
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
> <reallocf-take2.patch>
More information about the cfe-commits
mailing list