diff options
author | van Hauser <vh@thc.org> | 2023-02-12 17:55:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-12 17:55:48 +0100 |
commit | 6030df2f563c8c5bf482217478375a6b7ea3b15a (patch) | |
tree | 364f019b6a3f8384b67589ac4f1dd83497d351dd /src/afl-fuzz.c | |
parent | 141c324eb935ddd25a9ea898bf94ed4f3afb7a79 (diff) | |
parent | 846e910e0c6d09808ea6f87b59e2cf79769979dc (diff) | |
download | afl++-6030df2f563c8c5bf482217478375a6b7ea3b15a.tar.gz |
Merge pull request #1639 from apach301/fix-score-calculation
Increase fuzz_level for mopt_common_fuzzing
Diffstat (limited to 'src/afl-fuzz.c')
-rw-r--r-- | src/afl-fuzz.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c index 6bd81304..5f286427 100644 --- a/src/afl-fuzz.c +++ b/src/afl-fuzz.c @@ -1297,6 +1297,12 @@ int main(int argc, char **argv_orig, char **envp) { } + if (afl->is_main_node == 1 && afl->schedule != FAST && afl->schedule != EXPLORE) { + + FATAL("-M is compatible only with fast and explore -p power schedules"); + + } + if (optind == argc || !afl->in_dir || !afl->out_dir || show_help) { usage(argv[0], show_help); |