diff options
author | vanhauser-thc <vh@thc.org> | 2023-01-16 10:18:08 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2023-01-16 10:18:08 +0100 |
commit | 8cc1c6c54edbeb5ac7a8bcb050eb7976009517fa (patch) | |
tree | 44024d4baba31b9061ff276841ff64aaf1394037 /src/afl-fuzz.c | |
parent | 10b82c72772f40f703119fc7cd1c9063500a6bbe (diff) | |
download | AFLplusplus-8cc1c6c54edbeb5ac7a8bcb050eb7976009517fa.tar.gz |
nits
Diffstat (limited to 'src/afl-fuzz.c')
-rw-r--r-- | src/afl-fuzz.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c index 138df26c..5e0ecd1e 100644 --- a/src/afl-fuzz.c +++ b/src/afl-fuzz.c @@ -1580,6 +1580,29 @@ int main(int argc, char **argv_orig, char **envp) { } + if (afl->limit_time_sig > 0 && afl->custom_mutators_count) { + + if (afl->custom_only) { + + FATAL("Custom mutators are incompatible with MOpt (-L)"); + + } + + u32 custom_fuzz = 0; + LIST_FOREACH(&afl->custom_mutator_list, struct custom_mutator, { + + if (el->afl_custom_fuzz) { custom_fuzz = 1; } + + }); + + if (custom_fuzz) { + + WARNF("afl_custom_fuzz is incompatible with MOpt (-L)"); + + } + + } + if (afl->afl_env.afl_max_det_extras) { s32 max_det_extras = atoi(afl->afl_env.afl_max_det_extras); |