aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2023-02-02 09:32:19 +0100
committerGitHub <noreply@github.com>2023-02-02 09:32:19 +0100
commitf01bf77604c7d5b2ee12a44cbb3dbd615ad9565e (patch)
treeaeda5c81d08afdcea747397d4b84f4d0cbc8d153 /src
parent3e8a691a81c08c174467e3d7ae04328a4d6be29e (diff)
parent686382c328ab3a131fe151504c6e113ddfbdf168 (diff)
downloadafl++-f01bf77604c7d5b2ee12a44cbb3dbd615ad9565e.tar.gz
Merge pull request #1632 from AFLplusplus/dev
push to stable
Diffstat (limited to 'src')
-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!");
}