From ba6a5f16d28c6c8d424e4a15781d95f4d7a08cc4 Mon Sep 17 00:00:00 2001 From: pagabuc Date: Fri, 15 Apr 2022 04:06:05 -0700 Subject: [PATCH] Enable fuzzing of the JIT engine (#100) --- src/pcre2_fuzzsupport.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pcre2_fuzzsupport.c b/src/pcre2_fuzzsupport.c index 48781ff..6e96fc2 100644 --- a/src/pcre2_fuzzsupport.c +++ b/src/pcre2_fuzzsupport.c @@ -148,6 +148,9 @@ for (i = 0; i < 2; i++) if (code != NULL) { +#ifdef SUPPORT_JIT + pcre2_jit_compile(code, PCRE2_JIT_COMPLETE); +#endif int j; uint32_t save_match_options = match_options;