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
> [email protected]
> https://systeme.lip6.fr/mailman/listinfo/cocci
>
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to