mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 11:08:06 +00:00
do not auto-enable splicing
This commit is contained in:
@ -2974,13 +2974,10 @@ int main(int argc, char **argv_orig, char **envp) {
|
|||||||
switch (afl->expand_havoc) {
|
switch (afl->expand_havoc) {
|
||||||
|
|
||||||
case 0:
|
case 0:
|
||||||
// this adds extra splicing mutation options to havoc mode
|
// do nothing the first time
|
||||||
afl->expand_havoc = 1;
|
afl->expand_havoc = 1;
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
// if we did not use splicing (default) then activate it
|
|
||||||
afl->use_splicing = 1;
|
|
||||||
|
|
||||||
// add MOpt mutator
|
// add MOpt mutator
|
||||||
/*
|
/*
|
||||||
if (afl->limit_time_sig == 0 && !afl->custom_only &&
|
if (afl->limit_time_sig == 0 && !afl->custom_only &&
|
||||||
@ -2990,10 +2987,10 @@ int main(int argc, char **argv_orig, char **envp) {
|
|||||||
afl->limit_time_puppet = 0;
|
afl->limit_time_puppet = 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
*/
|
*/
|
||||||
afl->expand_havoc = 2;
|
/* increase cmplog level to 2 if we run with level 1 */
|
||||||
if (afl->cmplog_lvl && afl->cmplog_lvl < 2) afl->cmplog_lvl = 2;
|
if (afl->cmplog_lvl && afl->cmplog_lvl < 2) afl->cmplog_lvl = 2;
|
||||||
|
afl->expand_havoc = 2;
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
// increase havoc mutations per fuzz attempt
|
// increase havoc mutations per fuzz attempt
|
||||||
@ -3006,9 +3003,9 @@ int main(int argc, char **argv_orig, char **envp) {
|
|||||||
afl->expand_havoc = 4;
|
afl->expand_havoc = 4;
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
afl->expand_havoc = 5;
|
|
||||||
// if (afl->cmplog_lvl && afl->cmplog_lvl < 3) afl->cmplog_lvl =
|
// if (afl->cmplog_lvl && afl->cmplog_lvl < 3) afl->cmplog_lvl =
|
||||||
// 3;
|
// 3;
|
||||||
|
afl->expand_havoc = 5;
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
// nothing else currently
|
// nothing else currently
|
||||||
|
Reference in New Issue
Block a user