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-python.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/afl-fuzz-python.c') diff --git a/src/afl-fuzz-python.c b/src/afl-fuzz-python.c index f06c8e25..42286527 100644 --- a/src/afl-fuzz-python.c +++ b/src/afl-fuzz-python.c @@ -35,6 +35,12 @@ int init_py() { if (module_name) { + if (limit_time_sig) + FATAL( + "MOpt and Python mutator are mutually exclusive. We accept pull " + "requests that integrates MOpt with the optional mutators " + "(custom/radamsa/redquenn/...)."); + #if PY_MAJOR_VERSION >= 3 PyObject* py_name = PyUnicode_FromString(module_name); #else -- cgit 1.4.1