[Cocci] Weird problem trying to match code inside a function

SF Markus Elfring elfring at users.sourceforge.net
Wed Sep 12 08:00:08 CEST 2018


> Can you shed some light?

Did you notice the following information in the manual for the semantic
patch language?
https://github.com/coccinelle/coccinelle/blob/dd206b29bf372a8f8e63ffe549f8184e10f2ea7e/docs/manual/cocci_syntax.tex#L1607

“…
All matching done by a SmPL rule is done intraprocedurally.
…”


Can this trigger software development considerations when you try
to add source code after a found function implementation?

Regards,
Markus


More information about the Cocci mailing list