Lines Matching refs:GuardedAlloc
217 GuardedAlloc.init(Opt); in initGwpAsan()
221 &GuardedAlloc, Printf, in initGwpAsan()
227 GuardedAlloc.getAllocatorState()->maximumAllocationSize(); in initGwpAsan()
235 return GuardedAlloc.getMetadataRegion(); in getGwpAsanAllocationMetadata()
239 return GuardedAlloc.getAllocatorState(); in getGwpAsanAllocatorState()
255 GuardedAlloc.uninitTestOnly(); in unmapTestOnly()
349 if (UNLIKELY(GuardedAlloc.shouldSample())) {
350 if (void *Ptr = GuardedAlloc.allocate(Size, Alignment)) {
441 if (UNLIKELY(GuardedAlloc.pointerIsMine(Ptr))) {
442 GuardedAlloc.deallocate(Ptr);
498 if (UNLIKELY(GuardedAlloc.pointerIsMine(OldPtr))) {
499 uptr OldSize = GuardedAlloc.getSize(OldPtr);
503 GuardedAlloc.deallocate(OldPtr);
603 GuardedAlloc.disable(); in disable()
622 GuardedAlloc.enable(); in enable()
708 GuardedAlloc.iterate(reinterpret_cast<void *>(Base), Size, Callback, Arg); in iterateOverChunks()
760 if (UNLIKELY(GuardedAlloc.pointerIsMine(Ptr))) in getAllocSize()
761 return GuardedAlloc.getSize(Ptr); in getAllocSize()
786 if (GuardedAlloc.pointerIsMine(Ptr)) in isOwned()
972 gwp_asan::GuardedPoolAllocator GuardedAlloc; variable