Searched refs:GuardedAlloc (Results 1 – 1 of 1) sorted by relevance
50 static gwp_asan::GuardedPoolAllocator GuardedAlloc; variable72 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 …]