Home
last modified time | relevance | path

Searched refs:SHADOW_OFFSET (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/compiler-rt/lib/asan/
Dasan_mapping.h202 # define SHADOW_OFFSET (0) macro
205 # define SHADOW_OFFSET __asan_shadow_memory_dynamic_address macro
207 # define SHADOW_OFFSET kMIPS32_ShadowOffset32 macro
209 # define SHADOW_OFFSET kFreeBSD_ShadowOffset32 macro
211 # define SHADOW_OFFSET kNetBSD_ShadowOffset32 macro
213 # define SHADOW_OFFSET kWindowsShadowOffset32 macro
215 # define SHADOW_OFFSET __asan_shadow_memory_dynamic_address macro
217 # define SHADOW_OFFSET kMyriadShadowOffset32 macro
219 # define SHADOW_OFFSET kDefaultShadowOffset32 macro
223 # define SHADOW_OFFSET __asan_shadow_memory_dynamic_address macro
[all …]
Dasan_mapping_myriad.h18 (((RAW_ADDR(mem) - kLowMemBeg) >> SHADOW_SCALE) + (SHADOW_OFFSET))
21 #define kLowMemEnd (SHADOW_OFFSET - 1)
23 #define kLowShadowBeg SHADOW_OFFSET
Dasan_mapping_sparc64.h29 ((((mem) << HIGH_BITS) >> (HIGH_BITS + (SHADOW_SCALE))) + (SHADOW_OFFSET))
32 #define kLowMemEnd (SHADOW_OFFSET - 1)
34 #define kLowShadowBeg SHADOW_OFFSET
Dasan_debugging.cpp145 *shadow_offset = SHADOW_OFFSET; in __asan_get_shadow_mapping()
Dasan_rtems.cpp32 uptr shadow_start = SHADOW_OFFSET; in ResetShadowMemory()
Dasan_rtl.cpp378 Printf("SHADOW_OFFSET: 0x%zx\n", (uptr)SHADOW_OFFSET); in PrintAddressSpaceLayout()
/external/compiler-rt/lib/asan/
Dasan_mapping.h150 # define SHADOW_OFFSET (0) macro
152 # define SHADOW_OFFSET kMIPS32_ShadowOffset32 macro
154 # define SHADOW_OFFSET kFreeBSD_ShadowOffset32 macro
156 # define SHADOW_OFFSET kWindowsShadowOffset32 macro
159 # define SHADOW_OFFSET kIosSimShadowOffset32 macro
161 # define SHADOW_OFFSET kIosShadowOffset32 macro
164 # define SHADOW_OFFSET kDefaultShadowOffset32 macro
169 # define SHADOW_OFFSET kIosSimShadowOffset64 macro
171 # define SHADOW_OFFSET kIosShadowOffset64 macro
174 # define SHADOW_OFFSET kAArch64_ShadowOffset64 macro
[all …]
Dasan_debugging.cc140 *shadow_offset = SHADOW_OFFSET; in __asan_get_shadow_mapping()
Dasan_rtl.cc396 Printf("SHADOW_OFFSET: 0x%zx\n", (uptr)SHADOW_OFFSET); in PrintAddressSpaceLayout()
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_mapping.h21 #define SHADOW_OFFSET __memprof_shadow_memory_dynamic_address macro
40 (((mem & SHADOW_MASK) >> SHADOW_SCALE) + (SHADOW_OFFSET))
43 #define kLowMemEnd (SHADOW_OFFSET ? SHADOW_OFFSET - 1 : 0)
45 #define kLowShadowBeg SHADOW_OFFSET
81 if (SHADOW_OFFSET == 0) in AddrIsInShadowGap()
Dmemprof_rtl.cpp142 Printf("SHADOW_OFFSET: 0x%zx\n", (uptr)SHADOW_OFFSET); in PrintAddressSpaceLayout()
/external/swiftshader/third_party/subzero/runtime/
Dszrt_asan.c61 #define SHADOW_OFFSET(p) ((uintptr_t)(p) % SHADOW_SCALE) macro
62 #define IS_SHADOW_ALIGNED(p) (SHADOW_OFFSET(p) == 0)
142 return shadow_val == 0 || (char)SHADOW_OFFSET(ptr) + size <= shadow_val; in __asan_check()
200 (IS_SHADOW_ALIGNED(size)) ? 0 : SHADOW_SCALE - SHADOW_OFFSET(size); in __asan_malloc()
300 size_t offset = SHADOW_OFFSET(ptr); in __asan_poison()
302 ptr += SHADOW_OFFSET(size); in __asan_poison()
314 ptr += SHADOW_OFFSET(size); in __asan_unpoison()
/external/llvm-project/llvm/test/Instrumentation/HeapProfiler/
Dbasic.ll20 ; CHECK: %[[SHADOW_OFFSET:[^ ]*]] = load i64, i64* @__memprof_shadow_memory_dynamic_address
25 ; CHECK-NEXT: add i64 %[[SHIFTED_ADDR]], %[[SHADOW_OFFSET]]
40 ; CHECK: %[[SHADOW_OFFSET:[^ ]*]] = load i64, i64* @__memprof_shadow_memory_dynamic_address
45 ; CHECK-NEXT: add i64 %[[SHIFTED_ADDR]], %[[SHADOW_OFFSET]]