add AFL_FINAL_SYNC

This commit is contained in:
marc
2023-08-11 11:22:18 +02:00
parent 1cd9258768
commit 8823f22a9c
6 changed files with 31 additions and 9 deletions

View File

@ -269,6 +269,13 @@ void read_afl_environment(afl_state_t *afl, char **envp) {
afl->afl_env.afl_import_first =
get_afl_env(afl_environment_variables[i]) ? 1 : 0;
} else if (!strncmp(env, "AFL_FINAL_SYNC",
afl_environment_variable_len)) {
afl->afl_env.afl_final_sync =
get_afl_env(afl_environment_variables[i]) ? 1 : 0;
} else if (!strncmp(env, "AFL_CUSTOM_MUTATOR_ONLY",
afl_environment_variable_len)) {