Home
last modified time | relevance | path

Searched refs:SHADOW_SCALE (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/subzero/runtime/
Dszrt_asan.c52 #define SHADOW_SCALE ((size_t)1 << SHADOW_SCALE_LOG2) macro
61 #define SHADOW_OFFSET(p) ((uintptr_t)(p) % SHADOW_SCALE)
138 (uintptr_t)ptr % SHADOW_SCALE, shadow_val); in __asan_check()
139 if (size == SHADOW_SCALE) { in __asan_check()
200 (IS_SHADOW_ALIGNED(size)) ? 0 : SHADOW_SCALE - SHADOW_OFFSET(size); in __asan_malloc()
204 int err = posix_memalign(&rz_left, SHADOW_SCALE, in __asan_malloc()
/external/compiler-rt/lib/asan/
Dasan_mapping.h145 #define SHADOW_SCALE kDefaultShadowScale macro
192 #define SHADOW_GRANULARITY (1ULL << SHADOW_SCALE)
193 #define MEM_TO_SHADOW(mem) (((mem) >> SHADOW_SCALE) + (SHADOW_OFFSET))
194 #define SHADOW_TO_MEM(shadow) (((shadow) - SHADOW_OFFSET) << SHADOW_SCALE)
Dasan_rtl.cc394 Printf("SHADOW_SCALE: %d\n", (int)SHADOW_SCALE); in PrintAddressSpaceLayout()
397 CHECK(SHADOW_SCALE >= 3 && SHADOW_SCALE <= 7); in PrintAddressSpaceLayout()
Dasan_debugging.cc138 *shadow_scale = SHADOW_SCALE; in __asan_get_shadow_mapping()
Dasan_fake_stack.cc31 CHECK_EQ(SHADOW_SCALE, 3); // This code expects SHADOW_SCALE=3. in SetShadow()