public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Smatch v1.56 released
@ 2012-03-04 18:04 Dan Carpenter
  2012-03-04 18:38 ` Joe Perches
  0 siblings, 1 reply; 5+ messages in thread
From: Dan Carpenter @ 2012-03-04 18:04 UTC (permalink / raw)
  To: linux-kernel, smatch

[-- Attachment #1: Type: text/plain, Size: 862 bytes --]

It's been almost two years since the last Smatch release so probably
it's time for another one.

Smatch is a static analysis tool for C which has a lot of kernel
specific checks.

To run Smatch over the entire kernel use:
	smatch_scripts/test_kernel.sh

To run Smatch over just one .c file, start at the base of the kernel
tree and use:
	smatch_scripts/kchecker path/to/file.c

The main new thing, is the new cross function database work.  You
build a database on the first run and then use the information on
the second run.  The script for to build the database is:
	smatch_scripts/build_kernel_data.sh

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.

There is a mailing list smatch@vger.kernel.org.

regards,
dan carpenter

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-03-07 16:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-04 18:04 Smatch v1.56 released Dan Carpenter
2012-03-04 18:38 ` Joe Perches
2012-03-04 19:08   ` Jiri Slaby
2012-03-05  7:22   ` Dan Carpenter
2012-03-07 16:47     ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox