Enable fuzzing of the JIT engine (#100)

This commit is contained in:
pagabuc 2022-04-15 04:06:05 -07:00 committed by GitHub
parent d07c967b3a
commit ba6a5f16d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -148,6 +148,9 @@ for (i = 0; i < 2; i++)
if (code != NULL) if (code != NULL)
{ {
#ifdef SUPPORT_JIT
pcre2_jit_compile(code, PCRE2_JIT_COMPLETE);
#endif
int j; int j;
uint32_t save_match_options = match_options; uint32_t save_match_options = match_options;