[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a63d67fe0903100717o81cb5efx80faf5d787a9a9e9@mail.gmail.com>
Date: Tue, 10 Mar 2009 17:17:16 +0300
From: Dan Carpenter <error27@...il.com>
To: LKML <linux-kernel@...r.kernel.org>,
smatch-discuss <smatch-discuss@...ts.sf.net>
Subject: Re: smatch 1.51 released
On 3/10/09, Dan Carpenter <error27@...il.com> wrote:
> Smatch follows the kernel naming scheme so odd numbers are devel
> releases. The .51 means over half finished.
>
> Smatch is available from: http://repo.or.cz/w/smatch.git/
>
Sorry, a couple people complained that I didn't actually say what smatch was.
It's an static analysis type error checker. It finds different bugs
than sparse. It's more like the stanford checker or maybe Microsoft's
PREfix. It can find more complicated bugs than coccinelle but it
can't fix them automatically. One key selling point is how simple it
is to write checks.
The error messages look like this:
drivers/scsi/pcmcia/nsp_cs.c +1725 nsp_cs_config(19) info: ignoring
unreachable code.
The 1725 is the line number. nsp_cs_config(19) is the function and
line number within the function.
Most of the error messages are false positives honestly, but some are real.
regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists