Searched refs:SHADOW_SCALE (Results 1 – 5 of 5) sorted by relevance
52 #define SHADOW_SCALE ((size_t)1 << SHADOW_SCALE_LOG2) macro61 #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()
145 #define SHADOW_SCALE kDefaultShadowScale macro192 #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)
394 Printf("SHADOW_SCALE: %d\n", (int)SHADOW_SCALE); in PrintAddressSpaceLayout()397 CHECK(SHADOW_SCALE >= 3 && SHADOW_SCALE <= 7); in PrintAddressSpaceLayout()
138 *shadow_scale = SHADOW_SCALE; in __asan_get_shadow_mapping()
31 CHECK_EQ(SHADOW_SCALE, 3); // This code expects SHADOW_SCALE=3. in SetShadow()