diff options
author | vanhauser-thc <vh@thc.org> | 2023-01-28 12:14:57 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2023-01-28 12:14:57 +0100 |
commit | b81bc8eb6f3cb77437aae45f9e77522140b560c9 (patch) | |
tree | b3992166626b8bfb7fece8d93784e8876fa654f4 | |
parent | 33eba1fc5652060e8d877b02135fce2325813d0c (diff) | |
download | afl++-b81bc8eb6f3cb77437aae45f9e77522140b560c9.tar.gz |
fix warning
-rw-r--r-- | src/afl-fuzz.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c index 20c655cf..b8114a7f 100644 --- a/src/afl-fuzz.c +++ b/src/afl-fuzz.c @@ -1345,12 +1345,11 @@ int main(int argc, char **argv_orig, char **envp) { } #endif - if (afl->sync_id && afl->is_main_node && - afl->afl_env.afl_custom_mutator_only) { + if (!afl->skip_deterministic && afl->afl_env.afl_custom_mutator_only) { - WARNF( - "Using -M main node with the AFL_CUSTOM_MUTATOR_ONLY mutator options " - "will result in no deterministic mutations being done!"); + FATAL( + "Using -D determinstic fuzzing is incompatible with " + "AFL_CUSTOM_MUTATOR_ONLY!"); } |