[Cocci] Replacement of function calls and corresponding parameters
SF Markus Elfring
elfring at users.sourceforge.net
Sun Mar 14 16:17:50 CET 2010
> You can say that one rule depends on the success or failure of another,
> but putting eg depends on rule1 && !rule2 in the between the initial @@,
> next to the rule name, if any. This is illustrated in the wiki:
>
> http://cocci.ekstranet.diku.dk/wiki/doku.php?id=dependencies_between_patterns
Can these dependencies be also applied to source code replacements (-/+ lines in
the patch)?
Does the description fit to changes for variables that will be referenced by a
function call?
Will the rule application be working in an execution order that will be
different from the sequential source code?
Regards,
Markus
More information about the Cocci
mailing list