Searched refs:GuardedAlloc (Results 1 – 3 of 3) sorted by relevance
224 static gwp_asan::GuardedPoolAllocator GuardedAlloc; variable307 if (UNLIKELY(GuardedAlloc.shouldSample())) { in allocate()308 if (void *Ptr = GuardedAlloc.allocate(Size)) in allocate()458 if (UNLIKELY(GuardedAlloc.pointerIsMine(Ptr))) { in deallocate()459 GuardedAlloc.deallocate(Ptr); in deallocate()495 if (UNLIKELY(GuardedAlloc.pointerIsMine(OldPtr))) { in reallocate()496 size_t OldSize = GuardedAlloc.getSize(OldPtr); in reallocate()500 GuardedAlloc.deallocate(OldPtr); in reallocate()548 if (UNLIKELY(GuardedAlloc.pointerIsMine(Ptr))) in getUsableSize()549 return GuardedAlloc.getSize(Ptr); in getUsableSize()[all …]
193 GuardedAlloc.init(Opt); in initGwpAsan()197 &GuardedAlloc, Printf, gwp_asan::options::getPrintBacktraceFunction(), in initGwpAsan()214 GuardedAlloc.uninitTestOnly(); in unmapTestOnly()277 if (UNLIKELY(GuardedAlloc.shouldSample())) {278 if (void *Ptr = GuardedAlloc.allocate(roundUpTo(Size, Alignment)))482 if (UNLIKELY(GuardedAlloc.pointerIsMine(Ptr))) {483 GuardedAlloc.deallocate(Ptr);540 if (UNLIKELY(GuardedAlloc.pointerIsMine(OldPtr))) {541 uptr OldSize = GuardedAlloc.getSize(OldPtr);545 GuardedAlloc.deallocate(OldPtr);[all …]
194 GuardedAlloc.init(Opt); in initGwpAsan()198 &GuardedAlloc, Printf, in initGwpAsan()203 GuardedAlloc.getAllocatorState()->maximumAllocationSize(); in initGwpAsan()221 GuardedAlloc.uninitTestOnly(); in unmapTestOnly()307 if (UNLIKELY(GuardedAlloc.shouldSample())) {308 if (void *Ptr = GuardedAlloc.allocate(Size, Alignment)) {524 if (UNLIKELY(GuardedAlloc.pointerIsMine(Ptr))) {525 GuardedAlloc.deallocate(Ptr);584 if (UNLIKELY(GuardedAlloc.pointerIsMine(OldPtr))) {585 uptr OldSize = GuardedAlloc.getSize(OldPtr);[all …]