mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 11:08:06 +00:00
adjust expand havoc
This commit is contained in:
@ -1779,6 +1779,7 @@ printf("NEW MAP SIZE2 %u (is %u)\n", new_map_size, map_size);
|
|||||||
break;
|
break;
|
||||||
case 1:
|
case 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 &&
|
||||||
!afl->python_only) {
|
!afl->python_only) {
|
||||||
|
|
||||||
@ -1786,12 +1787,11 @@ printf("NEW MAP SIZE2 %u (is %u)\n", new_map_size, map_size);
|
|||||||
afl->limit_time_puppet = 0;
|
afl->limit_time_puppet = 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
afl->expand_havoc = 2;
|
afl->expand_havoc = 2;
|
||||||
if (afl->cmplog_lvl < 2) afl->cmplog_lvl = 2;
|
if (afl->cmplog_lvl && afl->cmplog_lvl < 2) afl->cmplog_lvl = 2;
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
// if (!have_p) afl->schedule = EXPLOIT;
|
|
||||||
// increase havoc mutations per fuzz attempt
|
// increase havoc mutations per fuzz attempt
|
||||||
afl->havoc_stack_pow2++;
|
afl->havoc_stack_pow2++;
|
||||||
afl->expand_havoc = 3;
|
afl->expand_havoc = 3;
|
||||||
@ -1803,11 +1803,11 @@ printf("NEW MAP SIZE2 %u (is %u)\n", new_map_size, map_size);
|
|||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
afl->expand_havoc = 5;
|
afl->expand_havoc = 5;
|
||||||
if (afl->cmplog_lvl < 3) afl->cmplog_lvl = 3;
|
if (afl->cmplog_lvl && afl->cmplog_lvl < 3) afl->cmplog_lvl = 3;
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
// if not in sync mode, enable deterministic mode?
|
// if not in sync mode, enable deterministic mode?
|
||||||
if (!afl->sync_id) afl->skip_deterministic = 0;
|
//if (!afl->sync_id) afl->skip_deterministic = 0;
|
||||||
afl->expand_havoc = 6;
|
afl->expand_havoc = 6;
|
||||||
case 6:
|
case 6:
|
||||||
// nothing else currently
|
// nothing else currently
|
||||||
|
Reference in New Issue
Block a user