From mboxrd@z Thu Jan 1 00:00:00 1970 From: julia.lawall@lip6.fr (Julia Lawall) Date: Tue, 25 Feb 2014 21:44:18 +0100 (CET) Subject: [Cocci] Source code analysis with big regular expressions? In-Reply-To: <530CFF11.9090001@users.sourceforge.net> References: <5307CAA2.8060406@users.sourceforge.net> <530A086E.8010901@users.sourceforge.net> <530A72AA.3000601@users.sourceforge.net> <530B5FB6.6010207@users.sourceforge.net> <530C5E18.1020800@users.sourceforge.net> <530CD2C4.4050903@users.sourceforge.net> <530CF8FF.8080600@users.sourceforge.net> <530CFF11.9090001@users.sourceforge.net> Message-ID: To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr 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. julia