For now, I just would like to detect and patch the mentioned example. I could imagine that could be possible do using Python,. Get Outlook for Android ________________________________ From: Markus Elfring Sent: Thursday, November 28, 2019 4:50:55 AM To: stracelabs@gmail.com Cc: cocci@systeme.lip6.fr Subject: Re: [Cocci] Replacing printf() parameters according to used data types > @r1_stack@ > struct mydata SMD; > format F =~ "s"; > @@ > -my_printf("%@F@", SMD.name); > +my_printf("%m", &SMD); > $ > > But, I can match only with partial content as can be seen below. I find this information for “partial content” unclear at the moment. * Would you like to transform any more source code variants by using additional SmPL ellipses and disjunctions? * How do you think about to extend and improve the shown change specifications? Regards, Markus