[Cocci] Addition of preprocessor statements with SmPL

SF Markus Elfring elfring at users.sourceforge.net
Wed Oct 29 09:45:20 CET 2014


> I wanted to be able to re-run spatch on an already patched content.
> The use case is to add new function prototypes manually and run spatch
> to handle the associated #define automatically.

Thanks for a bit more explanation.

I imagine that you might need to specify more source code as adjustment context
for a statement deletion to achieve a safer semantic patch.

Regards,
Markus


More information about the Cocci mailing list