mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 11:08:06 +00:00
added AFL_MAX_DET_EXTRAS env var
This commit is contained in:
@ -248,10 +248,10 @@ static void extras_check_and_sort(afl_state_t *afl, u32 min_len, u32 max_len,
|
||||
|
||||
}
|
||||
|
||||
if (afl->extras_cnt > MAX_DET_EXTRAS) {
|
||||
if (afl->extras_cnt > afl->max_det_extras) {
|
||||
|
||||
WARNF("More than %d tokens - will use them probabilistically.",
|
||||
MAX_DET_EXTRAS);
|
||||
afl->max_det_extras);
|
||||
|
||||
}
|
||||
|
||||
@ -403,10 +403,10 @@ void add_extra(afl_state_t *afl, u8 *mem, u32 len) {
|
||||
|
||||
/* We only want to print this once */
|
||||
|
||||
if (afl->extras_cnt == MAX_DET_EXTRAS + 1) {
|
||||
if (afl->extras_cnt == afl->max_det_extras + 1) {
|
||||
|
||||
WARNF("More than %d tokens - will use them probabilistically.",
|
||||
MAX_DET_EXTRAS);
|
||||
afl->max_det_extras);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user