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] Source code analysis around function name lists
Date: Wed, 27 May 2015 11:41:14 +0200	[thread overview]
Message-ID: <5565913A.6000009@users.sourceforge.net> (raw)
In-Reply-To: <CABBGRWui_CzjQBsCSrUbsUuYhjqtW1uOJ1MzK-ygG58NojhBNw@mail.gmail.com>

> i have a file that contains a list of functions ,

Such an use case was discussed a few times here.


> i want to apply a script to my code when it  detects a function not
> present in my file.

How do you think about to convert the list from your input file to an
other data structure like the following?
* SmPL disjunction
* Alternation in a regular expression for a SmPL constraint

Regards,
Markus

  parent reply	other threads:[~2015-05-27  9:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-26 15:34 [Cocci] iteration.cocci Zied Habtoul
2015-05-26 17:17 ` Julia Lawall
2015-05-26 17:57   ` Zied Habtoul
2015-05-26 19:01     ` Julia Lawall
2015-05-27  9:41     ` SF Markus Elfring [this message]
2015-05-27  9:44       ` [Cocci] Source code analysis around function name lists 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=5565913A.6000009@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.