diff options
author | Junwha <qbit@unist.ac.kr> | 2023-08-02 02:59:07 +0900 |
---|---|---|
committer | Junwha <qbit@unist.ac.kr> | 2023-08-02 19:07:38 +0900 |
commit | 1429c9724efb62e5ac90ec27d93a64c28632ba5d (patch) | |
tree | dd1038326b5510c83ea3831137f4845f993b37c1 /include | |
parent | 0265b39c138e1451accc048d3442a1e15d7ae86c (diff) | |
download | afl++-1429c9724efb62e5ac90ec27d93a64c28632ba5d.tar.gz |
Add option for treating crashing input as new crash
Signed-off-by: Junwha Hong <qbit@unist.ac.kr>
Diffstat (limited to 'include')
-rw-r--r-- | include/afl-fuzz.h | 3 | ||||
-rw-r--r-- | include/envs.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h index e114b0fc..7bedc98f 100644 --- a/include/afl-fuzz.h +++ b/include/afl-fuzz.h @@ -539,7 +539,8 @@ typedef struct afl_state { expand_havoc, /* perform expensive havoc after no find */ cycle_schedules, /* cycle power schedules? */ old_seed_selection, /* use vanilla afl seed selection */ - reinit_table; /* reinit the queue weight table */ + reinit_table, /* reinit the queue weight table */ + crashing_seeds_as_new_crash; /* treat crashing seeds as normal corpus */ u8 *virgin_bits, /* Regions yet untouched by fuzzing */ *virgin_tmout, /* Bits we haven't seen in tmouts */ diff --git a/include/envs.h b/include/envs.h index edfd06e4..e396acd2 100644 --- a/include/envs.h +++ b/include/envs.h @@ -35,6 +35,7 @@ static char *afl_environment_variables[] = { "AFL_COMPCOV_BINNAME", "AFL_COMPCOV_LEVEL", "AFL_CRASH_EXITCODE", + "AFL_CRASHING_SEEDS_AS_NEW_CRASH", "AFL_CUSTOM_MUTATOR_LIBRARY", "AFL_CUSTOM_MUTATOR_ONLY", "AFL_CUSTOM_INFO_PROGRAM", |