aboutsummaryrefslogtreecommitdiff
path: root/include/afl-fuzz.h
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-10-22 21:07:37 +0200
committervan Hauser <vh@thc.org>2020-10-22 21:07:37 +0200
commitc866aef37fcf799506d93b9a47d4eb2b77c75f5b (patch)
tree05a98cd9d4b3fe51190873f0a2845cf50539032b /include/afl-fuzz.h
parent8d75c089384a0975e39e54f3ba23c37a6101b61c (diff)
downloadAFLplusplus-c866aef37fcf799506d93b9a47d4eb2b77c75f5b.tar.gz
maybe enhancement to cache algo
Diffstat (limited to 'include/afl-fuzz.h')
-rw-r--r--include/afl-fuzz.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h
index 880b8d50..220380b9 100644
--- a/include/afl-fuzz.h
+++ b/include/afl-fuzz.h
@@ -704,7 +704,10 @@ typedef struct afl_state {
/* How many queue entries currently have cached testcases */
u32 q_testcase_cache_count;
- /* How often did we evict from the cache */
+ /* the smallest id currently known free entry */
+ u32 q_testcase_smallest_free;
+
+ /* How often did we evict from the cache (for statistics only) */
u32 q_testcase_evictions;
/* Refs to each queue entry with cached testcase (for eviction, if cache_count