add eviction stat

This commit is contained in:
van Hauser
2020-10-17 11:38:55 +02:00
parent d5c3b4bafd
commit fcea01a8ea
3 changed files with 7 additions and 1 deletions

View File

@ -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];