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

Markus Elfring <[email protected]> Wed, 25 Mar 2026 10:15:30 +0100
Newsgroups fr.inria.cocci
Message-ID <[email protected]>
>> Can function calls be restricted to known parameters accordingly?
> 
> 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

It is usual that a function call can occur at the beginning of a function implementation.
Such a call can occasionally be also repeated before an other call of
the referenced function.


> the number of parameters that that function call requires?

The function signature contains a parameter list.
Would you become interested to determine how many of such parameters
would be passed to a selected function call?

Regards,
Markus