add AFL_EXIT_ON_SEED_ISSUES

This commit is contained in:
vanhauser-thc
2021-04-13 13:01:50 +02:00
parent 50bb931ea6
commit be880f2476
6 changed files with 23 additions and 2 deletions

View File

@ -306,6 +306,13 @@ void read_afl_environment(afl_state_t *afl, char **envp) {
afl->cycle_schedules = afl->afl_env.afl_cycle_schedules =
get_afl_env(afl_environment_variables[i]) ? 1 : 0;
} else if (!strncmp(env, "AFL_EXIT_ON_SEED_ISSUES",
afl_environment_variable_len)) {
afl->afl_env.afl_exit_on_seed_issues =
get_afl_env(afl_environment_variables[i]) ? 1 : 0;
} else if (!strncmp(env, "AFL_EXPAND_HAVOC_NOW",
afl_environment_variable_len)) {