mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dan Carpenter <error27@gmail.com>
To: LKML <linux-kernel@vger.kernel.org>,
	smatch-discuss <smatch-discuss@lists.sf.net>
Subject: Re: smatch 1.51 released
Date: Tue, 10 Mar 2009 17:17:16 +0300	[thread overview]
Message-ID: <a63d67fe0903100717o81cb5efx80faf5d787a9a9e9@mail.gmail.com> (raw)
In-Reply-To: <a63d67fe0903100539r6ca3d789m4be81239eba2bf3b@mail.gmail.com>

On 3/10/09, Dan Carpenter <error27@gmail.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

      reply	other threads:[~2009-03-10 14:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-10 12:39 Dan Carpenter
2009-03-10 14:17 ` Dan Carpenter [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a63d67fe0903100717o81cb5efx80faf5d787a9a9e9@mail.gmail.com \
    --to=error27@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=smatch-discuss@lists.sf.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®