Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dgwp_asan_wrappers.cpp49 static gwp_asan::GuardedPoolAllocator GuardedAlloc; variable
71 GuardedAlloc.init(Opts); in gwp_asan_initialize()
76 __libc_shared_globals()->gwp_asan_state = GuardedAlloc.getAllocatorState(); in gwp_asan_initialize()
77 __libc_shared_globals()->gwp_asan_metadata = GuardedAlloc.getMetadataRegion(); in gwp_asan_initialize()
111 if (__predict_false(GuardedAlloc.shouldSample())) { in gwp_asan_calloc()
114 if (void* result = GuardedAlloc.allocate(bytes)) { in gwp_asan_calloc()
123 if (__predict_false(GuardedAlloc.pointerIsMine(mem))) { in gwp_asan_free()
124 GuardedAlloc.deallocate(mem); in gwp_asan_free()
131 if (__predict_false(GuardedAlloc.shouldSample())) { in gwp_asan_malloc()
132 if (void* result = GuardedAlloc.allocate(bytes)) { in gwp_asan_malloc()
[all …]