Home
last modified time | relevance | path

Searched refs:shadow_offset (Results 1 – 15 of 15) sorted by relevance

/external/compiler-rt/test/asan/TestCases/
Ddebug_locate.cc65 size_t shadow_offset; in main() local
66 __asan_get_shadow_mapping(&shadow_scale, &shadow_offset); in main()
69 + shadow_offset; in main()
73 uintptr_t shadow_gap = (shadow_ptr >> shadow_scale) + shadow_offset; in main()
/external/llvm-project/compiler-rt/test/asan/TestCases/
Ddebug_locate.cpp65 size_t shadow_offset; in main() local
66 __asan_get_shadow_mapping(&shadow_scale, &shadow_offset); in main()
69 + shadow_offset; in main()
73 uintptr_t shadow_gap = (shadow_ptr >> shadow_scale) + shadow_offset; in main()
Dset_shadow_test.c25 size_t shadow_offset; in f() local
27 __asan_get_shadow_mapping(&shadow_scale, &shadow_offset); in f()
28 size_t addr = (((size_t)a) >> shadow_scale) + shadow_offset; in f()
/external/swiftshader/third_party/subzero/runtime/
Dszrt_asan.c64 #define MEM2SHADOW(p) (((uintptr_t)(p) >> SHADOW_SCALE_LOG2) + shadow_offset)
66 ((uintptr_t)((char *)(p)-shadow_offset) << SHADOW_SCALE_LOG2)
90 static char *shadow_offset = NULL; variable
172 assert(shadow_offset == NULL); in __asan_init()
178 shadow_offset = mmap((void *)length, length, prot, flags, fd, offset); in __asan_init()
179 if (shadow_offset == NULL) in __asan_init()
182 DUMP("set up shadow memory at %p\n", shadow_offset); in __asan_init()
183 if (mprotect(MEM2SHADOW(shadow_offset), length >> SHADOW_SCALE_LOG2, in __asan_init()
/external/compiler-rt/lib/asan/
Dasan_debugging.cc136 void __asan_get_shadow_mapping(uptr *shadow_scale, uptr *shadow_offset) { in __asan_get_shadow_mapping() argument
139 if (shadow_offset) in __asan_get_shadow_mapping()
140 *shadow_offset = SHADOW_OFFSET; in __asan_get_shadow_mapping()
Dasan_interface_internal.h140 void __asan_get_shadow_mapping(uptr *shadow_scale, uptr *shadow_offset);
/external/llvm-project/compiler-rt/lib/asan/
Dasan_debugging.cpp141 void __asan_get_shadow_mapping(uptr *shadow_scale, uptr *shadow_offset) { in __asan_get_shadow_mapping() argument
144 if (shadow_offset) in __asan_get_shadow_mapping()
145 *shadow_offset = SHADOW_OFFSET; in __asan_get_shadow_mapping()
Dasan_interface_internal.h160 void __asan_get_shadow_mapping(uptr *shadow_scale, uptr *shadow_offset);
/external/compiler-rt/lib/cfi/
Dcfi.cc98 uptr shadow_offset = MemToShadowOffset(addr); in load() local
99 if (shadow_offset > GetShadowSize()) in load()
103 addr, *reinterpret_cast<uint16_t *>(shadow_base + shadow_offset)); in load()
/external/llvm-project/compiler-rt/lib/cfi/
Dcfi.cpp117 uptr shadow_offset = MemToShadowOffset(addr); in load() local
118 if (shadow_offset > GetShadowSize()) in load()
122 addr, *reinterpret_cast<uint16_t *>(shadow_base + shadow_offset)); in load()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_resource.h111 uint32_t *shadow_offset);
Dvc4_resource.c1072 uint32_t *shadow_offset) in vc4_get_shadow_index_buffer() argument
1081 shadow_offset, &shadow_rsc, &data); in vc4_get_shadow_index_buffer()
/external/compiler-rt/include/sanitizer/
Dasan_interface.h105 void __asan_get_shadow_mapping(size_t *shadow_scale, size_t *shadow_offset);
/external/llvm-project/compiler-rt/include/sanitizer/
Dasan_interface.h233 void __asan_get_shadow_mapping(size_t *shadow_scale, size_t *shadow_offset);
/external/swiftshader/third_party/subzero/src/DartARM32/
Dassembler_arm.cc1732 Operand shadow_offset(GetVerifiedMemoryShadow()); in VerifiedWrite() local
1734 add(base, base, shadow_offset); in VerifiedWrite()
1744 sub(base, base, shadow_offset); in VerifiedWrite()