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

@ -881,7 +881,7 @@ void perform_dry_run(afl_state_t *afl) {
case FSRV_RUN_TMOUT:
if (afl->timeout_given) {
if (afl->timeout_given && !afl->afl_env.afl_exit_on_seed_issues) {
/* if we have a timeout but a timeout value was given then always
skip. The '+' meaning has been changed! */
@ -1036,6 +1036,12 @@ void perform_dry_run(afl_state_t *afl) {
}
if (afl->afl_env.afl_exit_on_seed_issues) {
FATAL("As AFL_EXIT_ON_SEED_ISSUES is set, afl-fuzz exits.");
}
/* Remove from fuzzing queue but keep for splicing */
struct queue_entry *p = afl->queue;