Re: [Cocci] Using SmPL script to switch to formatted log/print function
> This discussion is about parsing the source code. It seems that an acceptable solution was found according to your advice yesterday. I could offer other ideas for another bit of software fine-tuning. Regards, Markus ___ Cocci mailing list Cocci@systeme.lip6.fr https://systeme.lip6.fr/mailman/listinfo/cocci
Re: [Cocci] Using SmPL script to switch to formatted log/print function
On Sat, 28 Mar 2020, Markus Elfring wrote: > > I have this all working with the following script with the caveat that > > running it on moderately complicated source files makes it never > > finish (after an hour or so the spatch process crashes with a stack > > overflow error). > > Do you find any information interesting from a previous bug report? > https://github.com/coccinelle/coccinelle/issues/30 This discussion is about parsing the source code. George, if you still get a stack overflow, you could try spatch -parse-c . but that would be disjoint from the problems with the semantic patch. julia > > > > Any suggestions on changes to my script that would make this work on > > lengthy source files would be greatly appreciated! > > Additional adjustments can be considered for transformation approaches. > > Regards, > Markus > ___ > Cocci mailing list > Cocci@systeme.lip6.fr > https://systeme.lip6.fr/mailman/listinfo/cocci > ___ Cocci mailing list Cocci@systeme.lip6.fr https://systeme.lip6.fr/mailman/listinfo/cocci
Re: [Cocci] Using SmPL script to switch to formatted log/print function
> I have this all working with the following script with the caveat that > running it on moderately complicated source files makes it never > finish (after an hour or so the spatch process crashes with a stack > overflow error). Do you find any information interesting from a previous bug report? https://github.com/coccinelle/coccinelle/issues/30 > Any suggestions on changes to my script that would make this work on > lengthy source files would be greatly appreciated! Additional adjustments can be considered for transformation approaches. Regards, Markus ___ Cocci mailing list Cocci@systeme.lip6.fr https://systeme.lip6.fr/mailman/listinfo/cocci