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

Sean McBride sean at rogue-research.com
Sat Sep 22 21:00: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!

I did find that, and also tools/clang/test/Analysis/malloc.c which has functions named reallocSizeZero1, reallocSizeZero2, etc.  Should I make reallocf() versions of those too?

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada






More information about the cfe-commits mailing list