[cfe-commits] [PATCH] 3 small static analyzer patches
sean at rogue-research.com
Thu Oct 18 07:56:47 PDT 2012
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!
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?
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...
Size: 3248 bytes
Desc: not available
More information about the cfe-commits