Home
last modified time | relevance | path

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

/external/compiler-rt/test/asan/TestCases/
Ddebug_locate.cc64 size_t shadow_scale; in main() local
66 __asan_get_shadow_mapping(&shadow_scale, &shadow_offset); in main()
68 uintptr_t shadow_ptr = (((uintptr_t)heap_ptr) >> shadow_scale) 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.cpp64 size_t shadow_scale; in main() local
66 __asan_get_shadow_mapping(&shadow_scale, &shadow_offset); in main()
68 uintptr_t shadow_ptr = (((uintptr_t)heap_ptr) >> shadow_scale) in main()
73 uintptr_t shadow_gap = (shadow_ptr >> shadow_scale) + shadow_offset; in main()
Dset_shadow_test.c26 size_t shadow_scale; 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/compiler-rt/lib/asan/
Dasan_debugging.cc136 void __asan_get_shadow_mapping(uptr *shadow_scale, uptr *shadow_offset) { in __asan_get_shadow_mapping() argument
137 if (shadow_scale) in __asan_get_shadow_mapping()
138 *shadow_scale = SHADOW_SCALE; 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
142 if (shadow_scale) in __asan_get_shadow_mapping()
143 *shadow_scale = SHADOW_SCALE; in __asan_get_shadow_mapping()
Dasan_interface_internal.h160 void __asan_get_shadow_mapping(uptr *shadow_scale, uptr *shadow_offset);
/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/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_mac.cpp1136 uptr MapDynamicShadow(uptr shadow_size_bytes, uptr shadow_scale, in MapDynamicShadow() argument
1140 Max<uptr>(granularity << shadow_scale, 1ULL << min_shadow_base_alignment); in MapDynamicShadow()
1158 uptr new_max_vm = RoundDownTo(largest_gap_found << shadow_scale, alignment); in MapDynamicShadow()
1169 space_size = (high_mem_end >> shadow_scale) + left_padding; in MapDynamicShadow()
Dsanitizer_linux_libcdep.cpp886 uptr MapDynamicShadow(uptr shadow_size_bytes, uptr shadow_scale, in MapDynamicShadow() argument
891 Max<uptr>(granularity << shadow_scale, 1ULL << min_shadow_base_alignment); in MapDynamicShadow()
Dsanitizer_win.cpp351 uptr MapDynamicShadow(uptr shadow_size_bytes, uptr shadow_scale, in MapDynamicShadow() argument
356 Max<uptr>(granularity << shadow_scale, 1ULL << min_shadow_base_alignment); in MapDynamicShadow()
Dsanitizer_common.h135 uptr MapDynamicShadow(uptr shadow_size_bytes, uptr shadow_scale,