Searched refs:SHADOW_GRANULARITY (Results 1 - 7 of 7) sorted by relevance
/external/compiler-rt/lib/asan/ |
H A D | asan_poisoning.h | 41 aligned_beg + aligned_size - SHADOW_GRANULARITY) + 1; 74 for (uptr i = 0; i < redzone_size; i += SHADOW_GRANULARITY, shadow++) { 75 if (i + SHADOW_GRANULARITY <= size) { 78 *shadow = (SHADOW_GRANULARITY == 128) ? 0xff : value; // unaddressable
|
H A D | asan_mapping.h | 125 #define SHADOW_GRANULARITY (1ULL << SHADOW_SCALE) macro 247 return (a & (SHADOW_GRANULARITY - 1)) == 0; 256 u8 last_accessed_byte = (a & (SHADOW_GRANULARITY - 1))
|
H A D | asan_globals.cc | 62 uptr aligned_size = RoundUpTo(g.size, SHADOW_GRANULARITY); 67 g.beg + RoundDownTo(g.size, SHADOW_GRANULARITY), 68 g.size % SHADOW_GRANULARITY, 69 SHADOW_GRANULARITY,
|
H A D | asan_poisoning.cc | 28 CHECK(AddrIsInMem(addr + size - SHADOW_GRANULARITY)); 45 s8 offset; // in [0, SHADOW_GRANULARITY) 50 offset = address & (SHADOW_GRANULARITY - 1); 159 uptr aligned_b = RoundUpTo(beg, SHADOW_GRANULARITY); 160 uptr aligned_e = RoundDownTo(end, SHADOW_GRANULARITY); 164 // then check the SHADOW_GRANULARITY-aligned region by calling 234 uptr aligned_size = size & ~(SHADOW_GRANULARITY - 1); 276 uptr granularity = SHADOW_GRANULARITY;
|
H A D | asan_rtl.cc | 393 uptr s = size <= SHADOW_GRANULARITY ? *reinterpret_cast<u8 *>(sp) \ 396 if (UNLIKELY(size >= SHADOW_GRANULARITY || \ 397 ((s8)((addr & (SHADOW_GRANULARITY - 1)) + size - 1)) >= \ 496 kHighMemEnd |= SHADOW_GRANULARITY * GetPageSizeCached() - 1; 546 Printf("SHADOW_GRANULARITY: %zx\n", (uptr)SHADOW_GRANULARITY);
|
H A D | asan_allocator2.cc | 185 uptr available = RoundUpTo(user_requested_size, SHADOW_GRANULARITY); 243 RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY), 289 const uptr min_alignment = SHADOW_GRANULARITY; 377 uptr size_rounded_down_to_granularity = RoundDownTo(size, SHADOW_GRANULARITY); 384 *shadow = fl.poison_partial ? (size & (SHADOW_GRANULARITY - 1)) : 0; 446 RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY),
|
H A D | asan_report.cc | 117 (int)SHADOW_GRANULARITY); 120 for (u8 i = 1; i < SHADOW_GRANULARITY; i++) PrintShadowByte(str, "", i, " "); 864 if (*shadow_addr == 0 && access_size > SHADOW_GRANULARITY)
|
Completed in 282 milliseconds