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 [email protected] Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada
reallocf-take2.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
