diff options
author | vanhauser-thc <vh@thc.org> | 2021-03-03 08:58:09 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-03-03 08:58:09 +0100 |
commit | f0c7967fbf4d6d3906693896f511b6679573c02b (patch) | |
tree | b86c07420db933ab921691f3a6841fd4a5bea4bb /src | |
parent | f0bc2e0e8b9d7b7e6e5371153f1b3bd7500cdae7 (diff) | |
download | afl++-f0c7967fbf4d6d3906693896f511b6679573c02b.tar.gz |
add new tutorial
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-fuzz.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c index 90f77919..09aff4fb 100644 --- a/src/afl-fuzz.c +++ b/src/afl-fuzz.c @@ -1437,20 +1437,8 @@ int main(int argc, char **argv_orig, char **envp) { // read_foreign_testcases(afl, 1); for the moment dont do this OKF("Loaded a total of %u seeds.", afl->queued_paths); - load_auto(afl); - pivot_inputs(afl); - if (extras_dir_cnt) { - - for (i = 0; i < extras_dir_cnt; i++) { - - load_extras(afl, extras_dir[i]); - - } - - } - if (!afl->timeout_given) { find_timeout(afl); } // only for resumes! if ((afl->tmp_dir = afl->afl_env.afl_tmpdir) != NULL && @@ -1678,6 +1666,18 @@ int main(int argc, char **argv_orig, char **envp) { } + load_auto(afl); + + if (extras_dir_cnt) { + + for (i = 0; i < extras_dir_cnt; i++) { + + load_extras(afl, extras_dir[i]); + + } + + } + deunicode_extras(afl); dedup_extras(afl); if (afl->extras_cnt) { OKF("Loaded a total of %u extras.", afl->extras_cnt); } |