diff options
author | van Hauser <vh@thc.org> | 2020-08-11 15:10:18 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-08-11 15:10:18 +0200 |
commit | 457f627101c08b885e9edfd8b491b5be198b6f14 (patch) | |
tree | f9ae886496cb3ee948781e5bc82d29441a999c75 /src/afl-fuzz-init.c | |
parent | 4f695b6f4c3ced165703363904e42492fca82112 (diff) | |
download | afl++-457f627101c08b885e9edfd8b491b5be198b6f14.tar.gz |
move taint_mode var
Diffstat (limited to 'src/afl-fuzz-init.c')
-rw-r--r-- | src/afl-fuzz-init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/afl-fuzz-init.c b/src/afl-fuzz-init.c index 432e0649..669bd65a 100644 --- a/src/afl-fuzz-init.c +++ b/src/afl-fuzz-init.c @@ -961,7 +961,7 @@ void perform_dry_run(afl_state_t *afl) { } /* perform taint gathering on the input seed */ - if (afl->fsrv.taint_mode) + if (afl->taint_mode) perform_taint_run(afl, q, q->fname, use_mem, q->len); q = q->next; @@ -1502,7 +1502,7 @@ static void handle_existing_out_dir(afl_state_t *afl) { if (delete_files(fn, CASE_PREFIX)) { goto dir_cleanup_failed; } ck_free(fn); - if (afl->fsrv.taint_mode) { + if (afl->taint_mode) { fn = alloc_printf("%s/taint", afl->out_dir); mkdir(fn, 0755); // ignore errors @@ -1745,7 +1745,7 @@ void setup_dirs_fds(afl_state_t *afl) { /* Taint directory if taint_mode. */ - if (afl->fsrv.taint_mode) { + if (afl->taint_mode) { tmp = alloc_printf("%s/taint", afl->out_dir); if (mkdir(tmp, 0700)) { PFATAL("Unable to create '%s'", tmp); } |