implementation without testing

This commit is contained in:
vanhauser-thc
2021-03-06 15:48:49 +01:00
parent 84f0b4f187
commit 81442ba3f9
3 changed files with 78 additions and 4 deletions

View File

@ -1239,9 +1239,10 @@ int main(int argc, char **argv_orig, char **envp) {
}
if (afl->afl_env.afl_persistent_replay) {
if (unlikely(afl->afl_env.afl_persistent_replay)) {
afl->fsrv.persistent_replay = atoi(afl->afl_env.afl_persistent_replay);
afl->fsrv.persistent_replay_dir = alloc_printf("%s/crashes", afl->out_dir);
}