mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 02:28:09 +00:00
enable new mopt
This commit is contained in:
@ -232,12 +232,8 @@ static void usage(u8 *argv0, int more_help) {
|
|||||||
" -g minlength - set min length of generated fuzz input (default: 1)\n"
|
" -g minlength - set min length of generated fuzz input (default: 1)\n"
|
||||||
" -G maxlength - set max length of generated fuzz input (default: "
|
" -G maxlength - set max length of generated fuzz input (default: "
|
||||||
"%lu)\n"
|
"%lu)\n"
|
||||||
" -L minutes - use MOpt(imize) mode and set the time limit for "
|
" -L value - use MOpt(imize) mode (the value is for backwards\n"
|
||||||
"entering the\n"
|
" compatability and ignored)\n"
|
||||||
" pacemaker mode (minutes of no new finds). 0 = "
|
|
||||||
"immediately,\n"
|
|
||||||
" -1 = immediately and together with normal mutation.\n"
|
|
||||||
" Note: this option is usually not very effective\n"
|
|
||||||
" -u - enable testcase splicing\n"
|
" -u - enable testcase splicing\n"
|
||||||
" -c program - enable CmpLog by specifying a binary compiled for "
|
" -c program - enable CmpLog by specifying a binary compiled for "
|
||||||
"it.\n"
|
"it.\n"
|
||||||
@ -1307,7 +1303,7 @@ int main(int argc, char **argv_orig, char **envp) {
|
|||||||
case 'L': { /* MOpt mode */
|
case 'L': { /* MOpt mode */
|
||||||
|
|
||||||
afl->havoc_max_mult = HAVOC_MAX_MULT_MOPT;
|
afl->havoc_max_mult = HAVOC_MAX_MULT_MOPT;
|
||||||
|
afl->limit_time_sig = 1;
|
||||||
afl->swarm_now = 0;
|
afl->swarm_now = 0;
|
||||||
afl->pacemaker_mode = 1;
|
afl->pacemaker_mode = 1;
|
||||||
|
|
||||||
@ -1412,10 +1408,6 @@ int main(int argc, char **argv_orig, char **envp) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
WARNF(
|
|
||||||
"Note that the MOpt mode is not maintained and is not as effective "
|
|
||||||
"as normal havoc mode.");
|
|
||||||
|
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
case 'h':
|
case 'h':
|
||||||
|
Reference in New Issue
Block a user