aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2021-01-02 20:01:19 +0100
committerhexcoder- <heiko@hexco.de>2021-01-02 20:01:19 +0100
commit84d3192f01702b4b43e531e3f0dac4743bf1ab0d (patch)
tree356a30cb5fb94a670e8040caeae3ab9d784b6dd9 /include
parentd2a1f05a69afd19ae6017575e0e620fc07827bad (diff)
parent7620f6f39672a4dc799d3875a2c6f7a0d1f0b815 (diff)
downloadafl++-84d3192f01702b4b43e531e3f0dac4743bf1ab0d.tar.gz
Merge branch 'dev' of https://github.com/AFLplusplus/AFLplusplus into dev
Diffstat (limited to 'include')
-rw-r--r--include/afl-fuzz.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h
index 57b0e6cc..a99e4991 100644
--- a/include/afl-fuzz.h
+++ b/include/afl-fuzz.h
@@ -590,7 +590,8 @@ typedef struct afl_state {
u32 rand_cnt; /* Random number counter */
- u64 rand_seed[3];
+/* unsigned long rand_seed[3]; would also work */
+ AFL_RAND_RETURN rand_seed[3];
s64 init_seed;
u64 total_cal_us, /* Total calibration time (us) */
@@ -644,7 +645,7 @@ typedef struct afl_state {
unsigned long long int last_avg_exec_update;
u32 last_avg_execs;
- float last_avg_execs_saved;
+ double last_avg_execs_saved;
/* foreign sync */
#define FOREIGN_SYNCS_MAX 32