diff options
author | van Hauser <vh@thc.org> | 2020-09-10 15:26:46 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-09-10 15:26:46 +0200 |
commit | 380051868a7531830d94d312f0f11b0e19e3284f (patch) | |
tree | a06cd1b2e2127b2ce2c7de4714fcdccab4a9502e /include/list.h | |
parent | fdb0452245672db94be0832288f1335e905a2fc8 (diff) | |
download | afl++-380051868a7531830d94d312f0f11b0e19e3284f.tar.gz |
add libfuzzer custom mutator, minor enhancements and fixes
Diffstat (limited to 'include/list.h')
-rw-r--r-- | include/list.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/list.h b/include/list.h index 88cbe062..7ec81cbe 100644 --- a/include/list.h +++ b/include/list.h @@ -81,6 +81,7 @@ static inline void list_append(list_t *list, void *el) { } element_t *el_box = NULL; + PRE_ALLOC(el_box, list->element_prealloc_buf, LIST_PREALLOC_SIZE, list->element_prealloc_count); if (!el_box) { FATAL("failed to allocate list element"); } |