All of lore.kernel.org
 help / color / mirror / Atom feed
From: elfring@users.sourceforge.net (SF Markus Elfring)
To: cocci@systeme.lip6.fr
Subject: [Cocci] Checking for null pointers
Date: Sat, 09 May 2015 14:01:28 +0200	[thread overview]
Message-ID: <554DF718.80209@users.sourceforge.net> (raw)
In-Reply-To: <CABBGRWt7k-3xxFVgeYcPwdjAVxJ6jfUuEdKrcDk8_2BQ06+PGg@mail.gmail.com>

> this code was implemented just to test the script.

I find that such test code should generally also compile,
shouldn't it?


> my SmPL script will be applied to a big embedded project.

Did you try any other static source code analysis tools out?
https://en.wikipedia.org/wiki/List_of_tools_for_static_code_analysis#C.2FC.2B.2B

How many details need to be repeated by SmPL scripts for
more complete checking of return values?

Regards,
Markus

  reply	other threads:[~2015-05-09 12:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-07  9:00 [Cocci] Asking for help Zied Habtoul
2015-05-09  7:11 ` [Cocci] Checking for null pointers SF Markus Elfring
2015-05-09 10:31   ` Zied Habtoul
2015-05-09 11:01     ` SF Markus Elfring
2015-05-09 11:06       ` Zied Habtoul
2015-05-09 11:37         ` SF Markus Elfring
2015-05-09 11:48           ` Zied Habtoul
2015-05-09 12:01             ` SF Markus Elfring [this message]
2015-05-09 12:16               ` Zied Habtoul
2015-05-09 12:32                 ` SF Markus Elfring
2015-05-09 12:39                   ` Zied Habtoul
2015-05-09 13:00                     ` SF Markus Elfring
2015-05-09 12:29             ` Julia Lawall

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=554DF718.80209@users.sourceforge.net \
    --to=elfring@users.sourceforge.net \
    --cc=cocci@systeme.lip6.fr \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.