Re: Smatch v1.56 released

Jiri Slaby
2012-03-04T19:09:08Z

On 03/04/2012 07:38 PM, Joe Perches wrote:
> On Sun, 2012-03-04 at 21:04 +0300, Dan Carpenter wrote:
>> Smatch still produces a lot of false positives. Also as bugs get
>> fixed in the kernel, the false positive to real bug ratio gets
>> worse and worse. But it does find real bugs as well.
>
> Perhaps a database of known false positives and a mechanism
> to use it to see only new instances could be created.

Yes, this is actually what xgcc has been doing. See [1] to see how to do
it more-or-less reliably.

[1] A system and language for building system-specific, static analyses,
Hallem, S. and Chelf, B. and Xie, Y. and Engler, D.

regards,
--
js