> For now, I just would like to detect and patch the mentioned example.

Did you try out to work with SmPL ellipses and disjunctions for this purpose?


> I could imagine that could be possible do using Python,.

The application of the semantic patch language (Coccinelle software) should be 
safer here,
shouldn't it?

Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to