> I have a working spatch now:
> ```
> @@ identifier func =~ "^(vim_strsave|list_alloc)$"; statement S; @@
>
> (
> * if (func(...) == NULL)
>     S

How much does the SmPL star functionality matter here for you?

Do you need to get the source code analysis results
also in other data formats like the following?
* Emacs org mode
* CSV file variant

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

Reply via email to