Coccinelle Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Brice.Goglin@inria.fr (Brice Goglin)
To: cocci@systeme.lip6.fr
Subject: [Cocci] "virtual rule patch not supported"
Date: Fri, 15 Mar 2013 19:06:26 +0100	[thread overview]
Message-ID: <51436322.4000503@inria.fr> (raw)
In-Reply-To: <CAAxaTiPSJzj=hPtsXfPjpmMw3RDqNyLJO=XjfBHUmPA6QUrgRA@mail.gmail.com>

Le 15/03/2013 16:14, Nicolas Palix a ?crit :
> Alternatively, you could use 'make coccicheck MODE=report' as every
> cocci file currently provide at least this mode

Yes that works thanks.

> or we could swap patch and report for the chain mode.

[...]

> One may improve the handling of the chain mode, and skip unavailable
> modes instead of falling back to the next one in case of error...
>
> Do you volunteer ?
>

If it's just a matter of adding grep before run_cmd, the attached patch
seems to work.

But I don't have enough knowledge about all this to decide what's the
best thing to do among everything you said above.

Brice
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coccichain.patch
Type: text/x-patch
Size: 1854 bytes
Desc: not available
URL: <https://systeme.lip6.fr/pipermail/cocci/attachments/20130315/a868b193/attachment-0001.bin>

  reply	other threads:[~2013-03-15 18:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-11  8:25 [Cocci] "virtual rule patch not supported" Brice Goglin
2013-03-13  8:47 ` Julia Lawall
2013-03-15 14:49   ` Nicolas Palix
2013-03-15 15:03     ` Brice Goglin
2013-03-15 15:11       ` Nicolas Palix
2013-03-15 15:14         ` Nicolas Palix
2013-03-15 18:06           ` Brice Goglin [this message]
2013-03-15 22:16           ` Julia Lawall
2013-03-15 22:17       ` 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=51436322.4000503@inria.fr \
    --to=brice.goglin@inria.fr \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox