MCPcopy Create free account
hub / github.com/F-Stack/f-stack / asan_clear_split_alloczone

Function asan_clear_split_alloczone

dpdk/lib/eal/common/malloc_elem.h:178–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178static inline void
179asan_clear_split_alloczone(struct malloc_elem *elem)
180{
181 void *ptr = RTE_PTR_SUB(elem, MALLOC_ELEM_TRAILER_LEN);
182 asan_set_zone(ptr, MALLOC_ELEM_OVERHEAD, 0x0);
183}
184
185/*
186 * When the memory is allocated, the memory boundary is

Callers 3

malloc_elem_allocFunction · 0.85
malloc_elem_hide_regionFunction · 0.85
malloc_elem_resizeFunction · 0.85

Calls 1

asan_set_zoneFunction · 0.85

Tested by

no test coverage detected