From 7323833888142d0e6357f22d7e1b6450cd062579 Mon Sep 17 00:00:00 2001 From: Andrea Fioraldi Date: Fri, 21 Feb 2020 16:50:06 +0100 Subject: block the usage of mopt with optionals mutators (redqueen/radamsa/etc...) --- src/afl-fuzz.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/afl-fuzz.c') diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c index a9a6db97..5fa737d7 100644 --- a/src/afl-fuzz.c +++ b/src/afl-fuzz.c @@ -624,6 +624,12 @@ int main(int argc, char** argv, char** envp) { if (use_radamsa) { + if (limit_time_sig) + FATAL( + "MOpt and Radamsa are mutually exclusive. We accept pull requests " + "that integrates MOpt with the optional mutators " + "(custom/radamsa/redquenn/...)."); + OKF("Using Radamsa add-on"); u8* libradamsa_path = get_libradamsa_path(argv[0]); @@ -892,6 +898,12 @@ int main(int argc, char** argv, char** envp) { if (cmplog_binary) { + if (limit_time_sig) + FATAL( + "MOpt and CmpLog are mutually exclusive. We accept pull requests " + "that integrates MOpt with the optional mutators " + "(custom/radamsa/redquenn/...)."); + if (unicorn_mode) FATAL("CmpLog and Unicorn mode are not compatible at the moment, sorry"); if (!qemu_mode) check_binary(cmplog_binary); -- cgit 1.4.1