mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 02:28:09 +00:00
renamed UB to rand_below
This commit is contained in:
@ -304,7 +304,7 @@ static void shuffle_ptrs(afl_state_t *afl, void **ptrs, u32 cnt) {
|
||||
|
||||
for (i = 0; i < cnt - 2; ++i) {
|
||||
|
||||
u32 j = i + UR(afl, cnt - i);
|
||||
u32 j = i + rand_below(afl, cnt - i);
|
||||
void *s = ptrs[i];
|
||||
ptrs[i] = ptrs[j];
|
||||
ptrs[j] = s;
|
||||
|
Reference in New Issue
Block a user