From: elfring@users.sourceforge.net (SF Markus Elfring)
To: cocci@systeme.lip6.fr
Subject: [Cocci] Safe determination of function properties for SmPL scripts
Date: Thu, 18 May 2017 17:21:22 +0200 [thread overview]
Message-ID: <c18f5572-4aff-c91d-b261-3a622d3050c3@users.sourceforge.net> (raw)
In-Reply-To: <c77fb009-04c5-c381-e016-549cd7592059@users.sourceforge.net>
> How can the Coccinelle software help any more in such an use case?
This small SmPL script example demonstrates two special selections of functions
by their name. They belong to separate categories then.
* The primary actions should usually provide a return value somehow.
* A call of a function which will not return from its final task is one
possibility for an error reaction.
Have you got any preferences for the determination and integration of name lists
for functions with the desired properties into the semantic patch language
in a safe way?
Would you dare to query a database table (or view) for such a purpose?
Regards,
Markus
next prev parent reply other threads:[~2017-05-18 15:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-14 15:41 [Cocci] Checking exception handling implementations with SmPL SF Markus Elfring
2017-05-18 13:00 ` [Cocci] Checking source code (including optional parts) " SF Markus Elfring
2017-05-18 15:21 ` SF Markus Elfring [this message]
2017-05-18 16:00 ` [Cocci] Checking failure predicates " SF Markus Elfring
2017-05-23 9:01 ` [Cocci] Easier search for assignment targets " SF Markus Elfring
2017-05-23 9:06 ` Julia Lawall
2017-05-23 10: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=c18f5572-4aff-c91d-b261-3a622d3050c3@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.