mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-12 18:18:07 +00:00
switch exploit strategy
This commit is contained in:
@ -2095,8 +2095,8 @@ havoc_stage:
|
|||||||
|
|
||||||
} else { // exploitation mode
|
} else { // exploitation mode
|
||||||
|
|
||||||
mutation_array = (unsigned int *)&mutation_strategy_exploitation_text;
|
mutation_array = (unsigned int *)&text_array;
|
||||||
rand_max = MUT_STRATEGY_ARRAY_SIZE;
|
rand_max = MUT_TXT_ARRAY_SIZE;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2129,9 +2129,8 @@ havoc_stage:
|
|||||||
|
|
||||||
} else { // exploitation mode
|
} else { // exploitation mode
|
||||||
|
|
||||||
// this will need to be changed I guess
|
mutation_array = (unsigned int *)&text_array;
|
||||||
mutation_array = (unsigned int *)&mutation_strategy_exploration_text;
|
rand_max = MUT_TXT_ARRAY_SIZE;
|
||||||
rand_max = MUT_STRATEGY_ARRAY_SIZE;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user