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

Function asan_clear_alloczone

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

* When the memory is allocated, memory state must set as accessible. */

Source from the content-addressed store, hash-verified

170 * When the memory is allocated, memory state must set as accessible.
171 */
172static inline void
173asan_clear_alloczone(struct malloc_elem *elem)
174{
175 asan_set_zone((void *)elem, elem->size, 0x0);
176}
177
178static inline void
179asan_clear_split_alloczone(struct malloc_elem *elem)

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