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-init.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-init.c')
-rw-r--r-- | src/afl-fuzz-init.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/afl-fuzz-init.c b/src/afl-fuzz-init.c index 2176c5cf..93ecfe99 100644 --- a/src/afl-fuzz-init.c +++ b/src/afl-fuzz-init.c @@ -303,6 +303,12 @@ void setup_custom_mutator(void) { if (!fn) return; + if (limit_time_sig) + FATAL( + "MOpt and custom mutator are mutually exclusive. We accept pull " + "requests that integrates MOpt with the optional mutators " + "(custom/radamsa/redquenn/...)."); + ACTF("Loading custom mutator library from '%s'...", fn); dh = dlopen(fn, RTLD_NOW); |