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] Weird problem trying to match code inside a function
Date: Wed, 12 Sep 2018 08:00:08 +0200	[thread overview]
Message-ID: <4fc4acde-96a7-941e-bfd2-2fcf5ce4eaed@users.sourceforge.net> (raw)
In-Reply-To: <fa1892a1698ad83235d455a947c354a54fa34c1d.camel@coelho.fi>

> Can you shed some light?

Did you notice the following information in the manual for the semantic
patch language?
https://github.com/coccinelle/coccinelle/blob/dd206b29bf372a8f8e63ffe549f8184e10f2ea7e/docs/manual/cocci_syntax.tex#L1607

??
All matching done by a SmPL rule is done intraprocedurally.
??


Can this trigger software development considerations when you try
to add source code after a found function implementation?

Regards,
Markus

  parent reply	other threads:[~2018-09-12  6:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-11  8:08 Weird problem trying to match code inside a function Luca Coelho
2018-09-11  8:08 ` [Cocci] " Luca Coelho
2018-09-11  9:05 ` Julia Lawall
2018-09-11  9:05   ` [Cocci] " Julia Lawall
2018-09-11 11:22   ` Luca Coelho
2018-09-11 11:22     ` [Cocci] " Luca Coelho
2018-09-12  6:00 ` SF Markus Elfring [this message]
2018-09-12  6:26   ` 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=4fc4acde-96a7-941e-bfd2-2fcf5ce4eaed@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.