Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dgwp_asan_wrappers.cpp50 static gwp_asan::GuardedPoolAllocator GuardedAlloc; variable
72 GuardedAlloc.init(Opts); in gwp_asan_initialize()
77 __libc_shared_globals()->gwp_asan_state = GuardedAlloc.getAllocatorState(); in gwp_asan_initialize()
78 __libc_shared_globals()->gwp_asan_metadata = GuardedAlloc.getMetadataRegion(); in gwp_asan_initialize()
112 if (__predict_false(GuardedAlloc.shouldSample())) { in gwp_asan_calloc()
115 if (void* result = GuardedAlloc.allocate(bytes)) { in gwp_asan_calloc()
124 if (__predict_false(GuardedAlloc.pointerIsMine(mem))) { in gwp_asan_free()
125 GuardedAlloc.deallocate(mem); in gwp_asan_free()
132 if (__predict_false(GuardedAlloc.shouldSample())) { in gwp_asan_malloc()
133 if (void* result = GuardedAlloc.allocate(bytes)) { in gwp_asan_malloc()
[all …]