Home
last modified time | relevance | path

Searched refs:afl_alloc_buf (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/AFLplusplus/include/
H A Dalloc-inl.h629 struct afl_alloc_buf { struct
639 #define AFL_ALLOC_SIZE_OFFSET (offsetof(struct afl_alloc_buf, buf)) argument
642 static inline struct afl_alloc_buf *afl_alloc_bufptr(void *buf) { in afl_alloc_bufptr()
644 return (struct afl_alloc_buf *)((u8 *)buf - AFL_ALLOC_SIZE_OFFSET); in afl_alloc_bufptr()
665 struct afl_alloc_buf *new_buf = NULL; in afl_realloc()
673 new_buf = (struct afl_alloc_buf *)afl_alloc_bufptr(*buf); in afl_realloc()
699 struct afl_alloc_buf *newer_buf = in afl_realloc()
700 (struct afl_alloc_buf *)realloc(new_buf, next_size); in afl_realloc()
722 struct afl_alloc_buf *new_buf = NULL; in afl_realloc_exact()
729 new_buf = (struct afl_alloc_buf *)afl_alloc_bufptr(*buf); in afl_realloc_exact()
[all …]
/aosp_15_r20/external/AFLplusplus/test/unittests/
H A Dunit_maybe_alloc.c53 struct afl_alloc_buf *buf = malloc(size); in create_fake_maybe_grow_of()