about summary refs log tree commit diff
path: root/include/afl-fuzz.h
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-10-16 09:35:35 +0200
committervan Hauser <vh@thc.org>2020-10-16 09:35:35 +0200
commitd5c3b4bafdae8a68e7f63c0afdd1cc5820636f2d (patch)
treeff7897460e2cea04938038b30231819eb9f410fd /include/afl-fuzz.h
parentb82e9ad3dbf3068223498445ff5e7f4ea63ce6f7 (diff)
downloadafl++-d5c3b4bafdae8a68e7f63c0afdd1cc5820636f2d.tar.gz
directly add new queue to cache
Diffstat (limited to 'include/afl-fuzz.h')
-rw-r--r--include/afl-fuzz.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h
index 6204c81b..e94f389a 100644
--- a/include/afl-fuzz.h
+++ b/include/afl-fuzz.h
@@ -1169,6 +1169,10 @@ void queue_testcase_retake(afl_state_t *afl, struct queue_entry *q,
 void queue_testcase_retake_mem(afl_state_t *afl, struct queue_entry *q, u8 *in,
                                u32 len, u32 old_len);
 
+/* Add a new queue entry directly to the cache */
+
+void queue_testcase_store_mem(afl_state_t *afl, struct queue_entry *q, u8 *mem);
+
 #if TESTCASE_CACHE == 1
   #error define of TESTCASE_CACHE must be zero or larger than 1
 #endif