Skip to content

Commit ba6a5f1

Browse files
authored
Enable fuzzing of the JIT engine (#100)
1 parent d07c967 commit ba6a5f1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/pcre2_fuzzsupport.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,9 @@ for (i = 0; i < 2; i++)
148148

149149
if (code != NULL)
150150
{
151+
#ifdef SUPPORT_JIT
152+
pcre2_jit_compile(code, PCRE2_JIT_COMPLETE);
153+
#endif
151154
int j;
152155
uint32_t save_match_options = match_options;
153156

0 commit comments

Comments
 (0)