aboutsummaryrefslogtreecommitdiff
path: root/include/afl-fuzz.h
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-10-17 11:38:55 +0200
committervan Hauser <vh@thc.org>2020-10-17 11:38:55 +0200
commitfcea01a8ea7ec507b675d839035eb0fed2f06867 (patch)
treef246862cdb215f25fe4d041c1d0456b080636c6f /include/afl-fuzz.h
parentd5c3b4bafdae8a68e7f63c0afdd1cc5820636f2d (diff)
downloadAFLplusplus-fcea01a8ea7ec507b675d839035eb0fed2f06867.tar.gz
add eviction stat
Diffstat (limited to 'include/afl-fuzz.h')
-rw-r--r--include/afl-fuzz.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h
index e94f389a..880b8d50 100644
--- a/include/afl-fuzz.h
+++ b/include/afl-fuzz.h
@@ -704,6 +704,9 @@ 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 */
+ u32 q_testcase_evictions;
+
/* Refs to each queue entry with cached testcase (for eviction, if cache_count
* is too large) */
struct queue_entry *q_testcase_cache[TESTCASE_ENTRIES];