> Basically, I intend to replace alls "%s" called with "mydata->name" by "%m" 
> with "mydata" or "&mydata"

How far would you get the desired source code transformation based on
software extensions around a search pattern like the following?

@find@
expression action;
expression list context, inputs;
format list fl;
@@
 action(context, "%@fl@", inputs)


Which algorithm will become sufficient for your data processing needs
around the usage of functions with variadic arguments because of format strings?

Regards,
Markus
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to