Merge pull request #2027 from choller/nyx-handler-fix

Add optional handling of Nyx InvalidWriteToPayload event
This commit is contained in:
van Hauser
2024-04-13 11:40:28 +02:00
committed by GitHub
2 changed files with 22 additions and 20 deletions

View File

@ -1839,6 +1839,8 @@ afl_fsrv_run_target(afl_forkserver_t *fsrv, u32 timeout,
case Timeout:
return FSRV_RUN_TMOUT;
case InvalidWriteToPayload:
if (!!getenv("AFL_NYX_HANDLE_INVALID_WRITE")) { return FSRV_RUN_CRASH; }
/* ??? */
FATAL("FixMe: Nyx InvalidWriteToPayload handler is missing");
break;