diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-02-21 16:50:06 +0100 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-02-21 16:50:06 +0100 |
commit | 7323833888142d0e6357f22d7e1b6450cd062579 (patch) | |
tree | 064f16e477f305bf73ebb00586f9d552ee0f2072 /src/afl-fuzz-python.c | |
parent | 8904200d4825021324569f816ce728d122dc77d3 (diff) | |
download | afl++-7323833888142d0e6357f22d7e1b6450cd062579.tar.gz |
block the usage of mopt with optionals mutators (redqueen/radamsa/etc...)
Diffstat (limited to 'src/afl-fuzz-python.c')
-rw-r--r-- | src/afl-fuzz-python.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 |