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

@ -292,6 +292,13 @@ void read_afl_environment(afl_state_t *afl, char **envp) {
afl->afl_env.afl_autoresume =
get_afl_env(afl_environment_variables[i]) ? 1 : 0;
} else if (!strncmp(env, "AFL_PERSISTENT_REPLAY",
afl_environment_variable_len)) {
afl->afl_env.afl_persistent_replay =
get_afl_env(afl_environment_variables[i]);
} else if (!strncmp(env, "AFL_CYCLE_SCHEDULES",
afl_environment_variable_len)) {