mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 02:58:08 +00:00
add AFL_EXIT_ON_SEED_ISSUES
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user