Add optional handling of Nyx InvalidWriteToPayload event

This commit is contained in:
Christian Holler (:decoder)
2024-03-06 10:55:53 +01:00
parent 6062668679
commit 52e19d35fa
2 changed files with 22 additions and 20 deletions

View File

@ -1840,6 +1840,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;