diff options
author | hexcoder- <heiko@hexco.de> | 2020-11-14 11:31:18 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-11-14 11:31:18 +0100 |
commit | bd313d4039d094c0caf657b4ed1a666da7eded1b (patch) | |
tree | 33248069ffa4958229a69c9ee6b17659f9caf1aa /src | |
parent | 81493e4fe1551a898ccbcfc0ebdffbf2b9db6e0e (diff) | |
download | afl++-bd313d4039d094c0caf657b4ed1a666da7eded1b.tar.gz |
no binary checking in noninstrumented mode
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-fuzz.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c index 269ce1bf..59772b3f 100644 --- a/src/afl-fuzz.c +++ b/src/afl-fuzz.c @@ -1338,11 +1338,11 @@ int main(int argc, char **argv_orig, char **envp) { } - if (!afl->fsrv.qemu_mode) { check_binary(afl, afl->cmplog_binary); } + if (!afl->fsrv.qemu_mode && !afl->non_instrumented_mode) { check_binary(afl, afl->cmplog_binary); } } - check_binary(afl, argv[optind]); + if (afl->non_instrumented_mode) check_binary(afl, argv[optind]); if (afl->shmem_testcase_mode) { setup_testcase_shmem(afl); } |