> virtual patch This variable should be omitted if it will not be used in subsequent SmPL rules.
> @@ > expression buf, val; > @@ > - snprintf(buf, PAGE_SIZE, "%d\n", val) > + spgprintf_d(buf, val) > > This works nearly always as expected, but not in some macros. Do you get any more interesting test results for the following transformation approach? @replacement@ @@ -snprintf +spgprintf_d (..., -PAGE_SIZE, "%d\n", ...) Regards, Markus _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
