Using SmPL script to switch to formatted log/print function
Quoted 4 lines
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
Quoted 2 lines
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
Quoted 7 lines · Markus Elfring
Quoted 4 lines
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
Quoted 5 lines
Quoted 4 lines
Any suggestions on changes to my script that would make this work on lengthy source files would be greatly appreciated!
Quoted 9 lines
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
Quoted 1 line
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
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci