diff options
| author | van Hauser <vh@thc.org> | 2020-10-22 21:07:37 +0200 |
|---|---|---|
| committer | van Hauser <vh@thc.org> | 2020-10-22 21:07:37 +0200 |
| commit | c866aef37fcf799506d93b9a47d4eb2b77c75f5b (patch) | |
| tree | 05a98cd9d4b3fe51190873f0a2845cf50539032b /include | |
| parent | 8d75c089384a0975e39e54f3ba23c37a6101b61c (diff) | |
| download | afl++-c866aef37fcf799506d93b9a47d4eb2b77c75f5b.tar.gz | |
maybe enhancement to cache algo
Diffstat (limited to 'include')
| -rw-r--r-- | include/afl-fuzz.h | 5 |
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 |
