cocci.inria.fr archive mirror
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: Coccinelle <cocci@systeme.lip6.fr>
Subject: [Cocci] Searching for exported Linux functions
Date: Fri, 1 May 2020 13:43:15 +0200	[thread overview]
Message-ID: <fd0d48f1-ba0a-74d6-6eeb-7494600067f7@web.de> (raw)

Hello,

I would like to determine specific information also by the means of another
script for the semantic patch language.


@display@
identifier action;
type return_type;
@@
*return_type action(...)
 {
 ...
 }
 EXPORT_SYMBOL(action);


But I get the following error message so far.

elfring@Sonne:~/Projekte/Coccinelle/janitor> spatch --parse-cocci show_exported_functions1.cocci
…
minus: parse error:
  File "show_exported_functions1.cocci", line 9, column 1, charpos = 87
  around = 'EXPORT_SYMBOL',
  whole content =  EXPORT_SYMBOL(action);


How are the chances for further software evolution according to such
a data processing approach?

Regards,
Markus
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

             reply	other threads:[~2020-05-01 11:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-01 11:43 Markus Elfring [this message]
     [not found] ` <alpine.DEB.2.21.2005011348250.2504@hadrien>
2020-05-01 12:36   ` [Cocci] Searching for exported Linux functions Markus Elfring
2020-05-02  5:56   ` [Cocci] Searching for global items in the source code Markus Elfring
2020-05-02  7:05     ` Julia Lawall
2020-05-02  7:43       ` 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=fd0d48f1-ba0a-74d6-6eeb-7494600067f7@web.de \
    --to=markus.elfring@web.de \
    --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;
as well as URLs for NNTP newsgroup(s).