Home
last modified time | relevance | path

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

/external/compiler-rt/lib/asan/
Dasan_poisoning.h55 uptr page_beg = RoundUpTo(shadow_beg, page_size); in FastPoisonShadow() local
58 if (page_beg >= page_end) { in FastPoisonShadow()
61 if (page_beg != shadow_beg) { in FastPoisonShadow()
62 REAL(memset)((void *)shadow_beg, 0, page_beg - shadow_beg); in FastPoisonShadow()
67 ReserveShadowMemoryRange(page_beg, page_end - 1, nullptr); in FastPoisonShadow()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_poisoning.h61 uptr page_beg = RoundUpTo(shadow_beg, page_size); in FastPoisonShadow() local
64 if (page_beg >= page_end) { in FastPoisonShadow()
67 if (page_beg != shadow_beg) { in FastPoisonShadow()
68 REAL(memset)((void *)shadow_beg, 0, page_beg - shadow_beg); in FastPoisonShadow()
73 ReserveShadowMemoryRange(page_beg, page_end - 1, nullptr); in FastPoisonShadow()
/external/compiler-rt/lib/msan/
Dmsan_poisoning.cc130 uptr page_beg = RoundUpTo(shadow_beg, PageSize); in SetShadow() local
133 if (page_beg >= page_end) { in SetShadow()
136 if (page_beg != shadow_beg) { in SetShadow()
137 REAL(memset)((void *)shadow_beg, 0, page_beg - shadow_beg); in SetShadow()
142 MmapFixedNoReserve(page_beg, page_end - page_beg); in SetShadow()
/external/llvm-project/compiler-rt/lib/msan/
Dmsan_poisoning.cpp129 uptr page_beg = RoundUpTo(shadow_beg, PageSize); in SetShadow() local
132 if (page_beg >= page_end) { in SetShadow()
135 if (page_beg != shadow_beg) { in SetShadow()
136 REAL(memset)((void *)shadow_beg, 0, page_beg - shadow_beg); in SetShadow()
141 if (!MmapFixedNoReserve(page_beg, page_end - page_beg)) in SetShadow()
/external/compiler-rt/test/asan/TestCases/Posix/
Ddlclose-test.cc73 size_t page_beg = ((size_t)addr) & ~(PageSize - 1); in main() local
74 void *res = mmap((void*)(page_beg), PageSize, in main()
/external/llvm-project/compiler-rt/test/asan/TestCases/Posix/
Ddlclose-test.cpp75 size_t page_beg = ((size_t)addr) & ~(PageSize - 1); in main() local
76 void *res = mmap((void*)(page_beg), PageSize, in main()
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_allocator.cpp430 uptr page_beg = RoundUpTo(shadow_beg, page_size); in ClearShadow() local
433 if (page_beg >= page_end) { in ClearShadow()
436 if (page_beg != shadow_beg) { in ClearShadow()
437 REAL(memset)((void *)shadow_beg, 0, page_beg - shadow_beg); in ClearShadow()
442 ReserveShadowMemoryRange(page_beg, page_end - 1, nullptr); in ClearShadow()