Home
last modified time | relevance | path

Searched refs:AddrIsInMem (Results 1 – 17 of 17) sorted by relevance

/external/llvm-project/compiler-rt/lib/asan/
Dasan_poisoning.cpp36 CHECK(AddrIsInMem(addr)); in PoisonShadow()
38 CHECK(AddrIsInMem(addr + size - SHADOW_GRANULARITY)); in PoisonShadow()
49 CHECK(AddrIsInMem(addr)); in PoisonShadowPartialRightRedzone()
181 if (!AddrIsInMem(beg) && !AddrIsInShadow(beg)) return 0; in __asan_region_is_poisoned()
182 if (!AddrIsInMem(end) && !AddrIsInShadow(end)) return 0; in __asan_region_is_poisoned()
184 if (!AddrIsInMem(beg)) return beg; in __asan_region_is_poisoned()
185 if (!AddrIsInMem(end)) return end; in __asan_region_is_poisoned()
Dasan_mapping.h379 static inline bool AddrIsInMem(uptr a) { in AddrIsInMem() function
387 CHECK(AddrIsInMem(p)); in MemToShadow()
403 if (SANITIZER_MYRIAD2 && !AddrIsInMem(a) && !AddrIsInShadow(a)) in AddressIsPoisoned()
Dasan_globals.cpp202 CHECK(AddrIsInMem(g->beg)); in RegisterGlobal()
243 CHECK(AddrIsInMem(g->beg)); in UnregisterGlobal()
Dasan_thread.cpp229 CHECK(AddrIsInMem(stack_bottom_)); in Init()
230 CHECK(AddrIsInMem(stack_top_ - 1)); in Init()
Dasan_descriptions.cpp72 CHECK(!AddrIsInMem(addr)); in GetShadowKind()
94 if (AddrIsInMem(addr)) return false; in GetShadowAddressInformation()
Dasan_errors.cpp409 if (AddrIsInMem(addr)) { in ErrorGeneric()
553 if (!AddrIsInMem(addr)) return; in PrintShadowMemoryForAddress()
Dasan_rtl.cpp150 if (SANITIZER_MYRIAD2 && !AddrIsInMem(addr) && !AddrIsInShadow(addr)) \ in ASAN_REPORT_ERROR_N()
Dasan_interceptors.cpp264 if (AddrIsInMem(bottom) && ssize && ssize <= kMaxSaneContextStackSize) { in ClearShadowMemoryForContextStack()
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_mapping.h86 inline bool AddrIsInMem(uptr a) { in AddrIsInMem() function
92 CHECK(AddrIsInMem(p)); in MemToShadow()
Dmemprof_thread.cpp128 CHECK(AddrIsInMem(stack_bottom_)); in Init()
129 CHECK(AddrIsInMem(stack_top_ - 1)); in Init()
Dmemprof_allocator.cpp420 CHECK(AddrIsInMem(addr)); in ClearShadow()
422 CHECK(AddrIsInMem(addr + size - SHADOW_GRANULARITY)); in ClearShadow()
/external/compiler-rt/lib/asan/
Dasan_poisoning.cc37 CHECK(AddrIsInMem(addr)); in PoisonShadow()
39 CHECK(AddrIsInMem(addr + size - SHADOW_GRANULARITY)); in PoisonShadow()
50 CHECK(AddrIsInMem(addr)); in PoisonShadowPartialRightRedzone()
188 if (!AddrIsInMem(beg)) return beg; in __asan_region_is_poisoned()
189 if (!AddrIsInMem(end)) return end; in __asan_region_is_poisoned()
Dasan_mapping.h272 static inline bool AddrIsInMem(uptr a) { in AddrIsInMem() function
279 CHECK(AddrIsInMem(p)); in MemToShadow()
Dasan_globals.cc210 CHECK(AddrIsInMem(g->beg)); in RegisterGlobal()
251 CHECK(AddrIsInMem(g->beg)); in UnregisterGlobal()
Dasan_thread.cc224 CHECK(AddrIsInMem(stack_bottom_)); in Init()
225 CHECK(AddrIsInMem(stack_top_ - 1)); in Init()
Dasan_report.cc207 if (!AddrIsInMem(addr)) return; in PrintShadowMemoryForAddress()
340 if (AddrIsInMem(addr)) in DescribeAddressIfShadow()
585 CHECK(AddrIsInMem(addr)); in DescribeAddress()
1090 if (AddrIsInMem(addr)) { in ReportGenericError()
Dasan_interceptors.cc337 if (AddrIsInMem(bottom) && ssize && ssize <= kMaxSaneContextStackSize) { in ClearShadowMemoryForContextStack()