mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-17 04:18:06 +00:00
add current mutation strategy to include
This commit is contained in:
@ -2076,7 +2076,7 @@ havoc_stage:
|
||||
where we take the input file and make random stacked tweaks. */
|
||||
|
||||
u32 *mutation_array;
|
||||
u32 stack_max, stack_max_pow = afl->havoc_stack_pow2;
|
||||
u32 stack_max; // stack_max_pow = afl->havoc_stack_pow2;
|
||||
|
||||
if (unlikely(afl->text_input || afl->queue_cur->is_ascii)) { // is text?
|
||||
|
||||
@ -2104,6 +2104,7 @@ havoc_stage:
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
if (temp_len < 64) {
|
||||
|
||||
--stack_max_pow;
|
||||
@ -2118,7 +2119,9 @@ havoc_stage:
|
||||
|
||||
}
|
||||
|
||||
stack_max = 1 << stack_max_pow;
|
||||
*/
|
||||
|
||||
stack_max = 1 << (1 + rand_below(afl, afl->havoc_stack_pow2));
|
||||
|
||||
// + (afl->extras_cnt ? 2 : 0) + (afl->a_extras_cnt ? 2 : 0);
|
||||
|
||||
|
Reference in New Issue
Block a user