diff options
author | van Hauser <vh@thc.org> | 2020-10-12 11:12:16 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-10-12 11:12:16 +0200 |
commit | d9b63766dfdb8feeb1dc6f7c51c17abf07ee4086 (patch) | |
tree | ea02a1c1423c681e0aedfda2ecc326e5b1c97ec8 /include/afl-fuzz.h | |
parent | 5427f7ca981a537f14f842a98d5981463efe8c5b (diff) | |
download | afl++-d9b63766dfdb8feeb1dc6f7c51c17abf07ee4086.tar.gz |
fix new seed selection algo
Diffstat (limited to 'include/afl-fuzz.h')
-rw-r--r-- | include/afl-fuzz.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h index 45de197d..85597150 100644 --- a/include/afl-fuzz.h +++ b/include/afl-fuzz.h @@ -1045,6 +1045,9 @@ u8 input_to_state_stage(afl_state_t *afl, u8 *orig_buf, u8 *buf, u32 len, /* xoshiro256** */ uint64_t rand_next(afl_state_t *afl); +/* probability between 0.0 and 1.0 */ +double rand_next_percent(afl_state_t *afl); + /**** Inline routines ****/ /* Generate a random number (from 0 to limit - 1). This may |