[Cocci] Source code analysis with big regular expressions?

Julia Lawall julia.lawall at lip6.fr
Tue Feb 25 21:44:18 CET 2014

On Tue, 25 Feb 2014, SF Markus Elfring wrote:

> > Pcre is a standard library.  I know nothing about its implementation.
> > But it is not surprising that a regular expression with over 5000 options 
> > exceeds its capacity.
> Are there any chances to find the source code place from which the exception
> "Pcre.Error(_)" was thrown?

Set the OCAMLRUNPARAM environment variable to b in your shell.  I don't 
know if it is necessary to recompile coccinelle.  Then when it crashes you 
will get a backtrace.


More information about the Cocci mailing list