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] Analysis for Linux source files
Date: Tue, 02 Apr 2013 12:12:38 +0200	[thread overview]
Message-ID: <515AAF16.7000706@users.sourceforge.net> (raw)

Hello,

I try out a bit of static source code analysis again by the following command.

elfring at Sonne:~/Projekte/Coccinelle/lokal/demos/pass-through>
XY=/usr/src/linux-stable/ && spatch -sp_file list_pass-through_functions.cocci \
-dir $XY \
-I ${XY}include \
-I ${XY}usr/include \
-I ${XY}arch/ia64/include \
-I ${XY}arch/ia64/include/uapi \
-I ${XY}arch/x86/include \
-I ${XY}arch/x86/include/generated \
-I /usr/include \
-I /usr/include/c++/4.7/tr1 \
-recursive_includes \
>list_pass-through_functions-linux.txt \
2>list_pass-through_functions-linux-errors.txt


I notice results like the following in my log file.

...
HANDLING: /usr/src/linux-stable/init/noinitramfs.c
EXN:Failure("empty list, max_min_ii_by_pos")
Note: processing took    85.2s: /usr/src/linux-stable/init/noinitramfs.c
HANDLING: /usr/src/linux-stable/init/do_mounts_md.c
EXN:Failure("empty list, max_min_ii_by_pos")
Note: processing took   109.5s: /usr/src/linux-stable/init/do_mounts_md.c
...


Can the shown error message be avoided?
What does it really mean?

openSUSE package: coccinelle 1.0.0-27.6
spatch version 1.0.0-rc14 with Python support and with Str regexp support

Regards,
Markus

             reply	other threads:[~2013-04-02 10:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-02 10:12 SF Markus Elfring [this message]
2013-04-02 11:45 ` [Cocci] Analysis for Linux source files Julia Lawall
2013-04-02 12:14   ` SF Markus Elfring
2013-04-02 12:47     ` Julia Lawall
2013-04-02 15:17       ` SF Markus Elfring
2013-04-02 15:23         ` Julia Lawall
2013-04-02 15:30           ` SF Markus Elfring
2013-04-02 15:48             ` Julia Lawall
2013-04-02 16:21             ` Julia Lawall
2013-04-02 15:24         ` Julia Lawall
2013-04-02 15:37           ` SF Markus Elfring
     [not found] <mailman.1.1364983201.25969.cocci@systeme.lip6.fr>
2013-04-08 14:29 ` Nic Volanschi (R&D)
2013-04-08 14:54   ` Julia Lawall
2013-04-08 14:56   ` Julia Lawall
2013-04-08 15:05     ` Nic Volanschi (R&D)
2013-04-15 14: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=515AAF16.7000706@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.