Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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 Dguarded_pool_allocator.cpp105 State.GuardedPagePool = reinterpret_cast<uintptr_t>(GuardedPoolMemory); in init()
135 if (State.GuardedPagePool) { in uninitTestOnly()
137 State.GuardedPagePool = 0; in uninitTestOnly()
266 volatile char *p = reinterpret_cast<char *>(State.GuardedPagePool); in trapOnAddress()
H A Dcommon.h114 return P < GuardedPagePoolEnd && GuardedPagePool <= P; in pointerIsMine()
135 uintptr_t GuardedPagePool = 0; member
H A Dcrash_handler.cpp30 State->GuardedPagePool <= ErrorPtr; in __gwp_asan_error_is_mine()
89 State->GuardedPagePool > ErrorPtr) in __gwp_asan_get_metadata()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/compiler-rt/lib/gwp_asan/tests/
H A Dcrash_handler_api.cpp42 State.GuardedPagePool = 0x2000; in setupState()