persistent replay env setup

This commit is contained in:
vanhauser-thc
2021-02-07 08:27:35 +01:00
parent faa9daf260
commit 84f0b4f187
6 changed files with 19 additions and 2 deletions

View File

@ -1239,6 +1239,12 @@ int main(int argc, char **argv_orig, char **envp) {
}
if (afl->afl_env.afl_persistent_replay) {
afl->fsrv.persistent_replay = atoi(afl->afl_env.afl_persistent_replay);
}
if (afl->afl_env.afl_crash_exitcode) {
long exitcode = strtol(afl->afl_env.afl_crash_exitcode, NULL, 10);