Home
last modified time | relevance | path

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

/src/contrib/llvm-project/compiler-rt/lib/gwp_asan/
H A Dcommon.cpp78 return GuardedPagePool + (PageSize * (1 + N)) + (maximumAllocationSize() * N); in slotToAddr()
83 size_t PageOffsetFromPoolStart = (Ptr - GuardedPagePool) / PageSize; in isGuardPage()
89 size_t ByteOffsetFromPoolStart = Ptr - State->GuardedPagePool; in addrToSlot()
95 if (Ptr <= GuardedPagePool + PageSize) in getNearestSlot()
H A Dcommon.h120 return P < GuardedPagePoolEnd && GuardedPagePool <= P; in pointerIsMine()
146 uintptr_t GuardedPagePool = 0; member
H A Dcrash_handler.cpp30 State->GuardedPagePool <= ErrorPtr; in __gwp_asan_error_is_mine()
97 State->GuardedPagePool > ErrorPtr) in __gwp_asan_get_metadata()
H A Dguarded_pool_allocator.cpp115 State.GuardedPagePool = reinterpret_cast<uintptr_t>(GuardedPoolMemory); in init()
145 if (State.GuardedPagePool) { in uninitTestOnly()
147 State.GuardedPagePool = 0; in uninitTestOnly()
/src/contrib/llvm-project/compiler-rt/lib/gwp_asan/platform_specific/
H A Dguarded_pool_allocator_posix.cpp71 unmap(reinterpret_cast<void *>(State.GuardedPagePool), in unreserveGuardedPool()
72 State.GuardedPagePoolEnd - State.GuardedPagePool); in unreserveGuardedPool()
H A Dguarded_pool_allocator_fuchsia.cpp78 reinterpret_cast<uintptr_t>(Ptr) - State.GuardedPagePool; in allocateInGuardedPool()