add AFL_KEEP_TIMEOUTS

This commit is contained in:
vanhauser-thc
2022-04-08 22:44:10 +02:00
parent 891f4d3c8e
commit e9288bcfad
6 changed files with 25 additions and 3 deletions

View File

@ -222,6 +222,13 @@ void read_afl_environment(afl_state_t *afl, char **envp) {
afl->afl_env.afl_hang_tmout =
(u8 *)get_afl_env(afl_environment_variables[i]);
} else if (!strncmp(env, "AFL_KEEP_TIMEOUTS",
afl_environment_variable_len)) {
afl->afl_env.afl_keep_timeouts =
get_afl_env(afl_environment_variables[i]) ? 1 : 0;
} else if (!strncmp(env, "AFL_SKIP_BIN_CHECK",
afl_environment_variable_len)) {