about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-01-28 12:14:57 +0100
committervanhauser-thc <vh@thc.org>2023-01-28 12:14:57 +0100
commitb81bc8eb6f3cb77437aae45f9e77522140b560c9 (patch)
treeb3992166626b8bfb7fece8d93784e8876fa654f4
parent33eba1fc5652060e8d877b02135fce2325813d0c (diff)
downloadafl++-b81bc8eb6f3cb77437aae45f9e77522140b560c9.tar.gz
fix warning
-rw-r--r--src/afl-fuzz.c9
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!");
 
   }