From ad44e30cbfd57969d4aebe69a56d46b9368e12bf Mon Sep 17 00:00:00 2001 From: Alexandre DOYEN Date: Fri, 6 Jun 2025 11:25:17 +0200 Subject: [PATCH 1/2] Replace FATAL by WARNF when using another power scheduling with -M --- src/afl-fuzz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c index ae203349..07acbbb0 100644 --- a/src/afl-fuzz.c +++ b/src/afl-fuzz.c @@ -1502,7 +1502,7 @@ 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"); + WARNF("-M is compatible only with fast and explore -p power schedules"); } From 1c7176bd96321db1542c8b122dacd9c274e03562 Mon Sep 17 00:00:00 2001 From: Alexandre DOYEN Date: Fri, 6 Jun 2025 11:39:02 +0200 Subject: [PATCH 2/2] Better message --- src/afl-fuzz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c index 07acbbb0..725c60c7 100644 --- a/src/afl-fuzz.c +++ b/src/afl-fuzz.c @@ -1502,7 +1502,7 @@ int main(int argc, char **argv_orig, char **envp) { if (afl->is_main_node == 1 && afl->schedule != FAST && afl->schedule != EXPLORE) { - WARNF("-M is compatible only with fast and explore -p power schedules"); + WARNF("When using -M, it is recommended to use only fast or explore -p power schedules"); }