From: elfring@users.sourceforge.net (SF Markus Elfring)
To: cocci@systeme.lip6.fr
Subject: [Cocci] Release 1.0.3: Clarification around SmPL conjunctions
Date: Fri, 30 Oct 2015 16:27:37 +0100 [thread overview]
Message-ID: <56338C69.3030401@users.sourceforge.net> (raw)
In-Reply-To: <alpine.DEB.2.10.1510301606020.2364@hadrien>
> When you have ..., the thing after the ... has to come after (in the
> control-flow graph) the thing before the ... So this would only match
> code that has a call to f followed by a call to g followed by a call to f
> followed by a call to g. In particular, if the C code has no loops, then
> it must contain two calls to g.
I would find such a situation also occasionally interesting for specific
function implementations.
> If you look a demos/conjunction.c, both of the C functions contain only
> one call to g, so neither would match your pattern.
I find it strange that the function name "main" is repeated without
conditional compilation statements in this source code example.
Regards,
Markus
next prev parent reply other threads:[~2015-10-30 15:27 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-26 21:12 [Cocci] version 1.0.3 released Julia Lawall
2015-10-27 9:38 ` Sébastien Hinderer
2015-10-27 10:14 ` Richard W.M. Jones
2015-10-27 10:25 ` Sébastien Hinderer
2015-10-27 11:57 ` Richard W.M. Jones
2015-10-27 12:13 ` Sébastien Hinderer
2015-10-27 12:37 ` Sébastien Hinderer
2015-10-27 21:26 ` Richard W.M. Jones
2015-10-28 7:08 ` Julia Lawall
2015-10-28 7:33 ` Julia Lawall
2015-10-28 10:13 ` Sébastien Hinderer
2015-10-28 10:51 ` Richard W.M. Jones
2015-10-28 22:06 ` [Cocci] version 1.0.4 released Julia Lawall
2016-07-19 10:05 ` Richard W.M. Jones
2016-07-19 10:07 ` Julia Lawall
2016-07-19 10:13 ` Richard W.M. Jones
2016-07-28 8:32 ` [Cocci] Determination of statement list lengths with SmPL SF Markus Elfring
2016-07-28 8:36 ` Julia Lawall
2016-07-28 8:42 ` SF Markus Elfring
2016-07-28 12:34 ` SF Markus Elfring
2016-07-28 12:38 ` Julia Lawall
2016-07-28 12:51 ` SF Markus Elfring
2016-07-28 12:59 ` Julia Lawall
2016-07-28 13:21 ` SF Markus Elfring
2016-07-28 14:30 ` Julia Lawall
2016-07-28 16:21 ` SF Markus Elfring
2016-07-28 16:26 ` Julia Lawall
2016-07-28 16:52 ` SF Markus Elfring
2016-07-28 18:18 ` SF Markus Elfring
2016-07-29 11:03 ` [Cocci] Exclusion of else branches from if statements " SF Markus Elfring
2015-10-29 10:21 ` [Cocci] Release 1.0.3: Clarification around SmPL conjunctions SF Markus Elfring
2015-10-30 13:08 ` Julia Lawall
2015-10-30 14:10 ` SF Markus Elfring
2015-10-30 14:35 ` Julia Lawall
2015-10-30 14:51 ` SF Markus Elfring
2015-10-30 15:09 ` Julia Lawall
2015-10-30 15:27 ` SF Markus Elfring [this message]
2015-10-30 15:43 ` Julia Lawall
2015-10-30 15:46 ` SF Markus Elfring
2015-10-30 16:06 ` Julia Lawall
2015-10-30 16:52 ` SF Markus Elfring
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=56338C69.3030401@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox