Re: Smatch v1.56 released

From: Jiri Slaby
Date: Sun Mar 04 2012 - 14:09:27 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/