Re: [cocci] Searching for function calls with known parameters (by SmPL)?

Markus Elfring <[email protected]> Wed, 25 Mar 2026 13:24:26 +0100
Newsgroups fr.inria.cocci
Message-ID <[email protected]>
> I still have no idea what you are asking about.  What is the connection
> between a function call being placed at the beginning of a function and
> the number of parameters that that function call requires?

Do you see possibilities to extend an SmPL script (like the following)?

@display@
identifier call, input, name;
type t;
@@
 name(t* input)
 {
*call(input);
 ...
 }


Regards,
Markus