We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33e58c1 commit 92b1f9cCopy full SHA for 92b1f9c
include/afl-fuzz.h
@@ -1027,7 +1027,9 @@ static inline u32 rand_below(afl_state_t *afl, u32 limit) {
1027
1028
}
1029
1030
- /* Modulo is biased - we don't want our fuzzing to be biased so let's do it right. */
+ /* Modulo is biased - we don't want our fuzzing to be biased so let's do it right, see
1031
+ https://stackoverflow.com/questions/10984974/why-do-people-say-there-is-modulo-bias-when-using-a-random-number-generator
1032
+ */
1033
u64 unbiased_rnd;
1034
do {
1035
unbiased_rnd = rand_next(afl);
0 commit comments