aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-12-30 18:13:55 +0100
committerGitHub <noreply@github.com>2020-12-30 18:13:55 +0100
commit271116f8705e08d1b4f924cda6c6cae1b0b5de2b (patch)
tree536764d6f6c37eb07ebb028b0b1b10967095027f /include
parent41dad9ab7d342528e95a1700501753a24031ea51 (diff)
parent84e72b0a514ae2cd08c42c1fdcb3d50b78344640 (diff)
downloadafl++-271116f8705e08d1b4f924cda6c6cae1b0b5de2b.tar.gz
Merge pull request #666 from AFLplusplus/dev
push to stable
Diffstat (limited to 'include')
-rw-r--r--include/afl-fuzz.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h
index e2fb0344..0bf0aebe 100644
--- a/include/afl-fuzz.h
+++ b/include/afl-fuzz.h
@@ -174,6 +174,10 @@ struct queue_entry {
u8 *trace_mini; /* Trace bytes, if kept */
u32 tc_ref; /* Trace bytes ref count */
+#ifdef INTROSPECTION
+ u32 bitsmap_size;
+#endif
+
double perf_score, /* performance score */
weight;
@@ -586,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) */
@@ -734,6 +739,7 @@ typedef struct afl_state {
char mutation[8072];
char m_tmp[4096];
FILE *introspection_file;
+ u32 bitsmap_size;
#endif
} afl_state_t;