Searched refs:SHADOW_GRANULARITY (Results 1 - 7 of 7) sorted by relevance
/external/compiler-rt/lib/asan/ |
H A D | asan_poisoning.h | 39 aligned_beg + aligned_size - SHADOW_GRANULARITY) + 1; 47 for (uptr i = 0; i < redzone_size; i += SHADOW_GRANULARITY, shadow++) { 48 if (i + SHADOW_GRANULARITY <= size) { 51 *shadow = (SHADOW_GRANULARITY == 128) ? 0xff : value; // unaddressable
|
H A D | asan_poisoning.cc | 25 CHECK(AddrIsInMem(addr + size - SHADOW_GRANULARITY)); 42 s8 offset; // in [0, SHADOW_GRANULARITY) 47 offset = address & (SHADOW_GRANULARITY - 1); 150 uptr aligned_b = RoundUpTo(beg, SHADOW_GRANULARITY); 151 uptr aligned_e = RoundDownTo(end, SHADOW_GRANULARITY); 155 // then check the SHADOW_GRANULARITY-aligned region by calling 225 uptr aligned_size = size & ~(SHADOW_GRANULARITY - 1);
|
H A D | asan_mapping.h | 91 #define SHADOW_GRANULARITY (1ULL << SHADOW_SCALE) macro 214 return (a & (SHADOW_GRANULARITY - 1)) == 0; 223 u8 last_accessed_byte = (a & (SHADOW_GRANULARITY - 1))
|
H A D | asan_globals.cc | 53 uptr aligned_size = RoundUpTo(g.size, SHADOW_GRANULARITY); 58 g.beg + RoundDownTo(g.size, SHADOW_GRANULARITY), 59 g.size % SHADOW_GRANULARITY, 60 SHADOW_GRANULARITY,
|
H A D | asan_allocator2.cc | 213 uptr available = RoundUpTo(user_requested_size, SHADOW_GRANULARITY); 277 RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY), 319 const uptr min_alignment = SHADOW_GRANULARITY; 402 uptr size_rounded_down_to_granularity = RoundDownTo(size, SHADOW_GRANULARITY); 409 *shadow = size & (SHADOW_GRANULARITY - 1); 476 RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY),
|
H A D | asan_report.cc | 125 "application bytes):\n", (int)SHADOW_GRANULARITY); 128 for (u8 i = 1; i < SHADOW_GRANULARITY; i++) 683 if (*shadow_addr == 0 && access_size > SHADOW_GRANULARITY)
|
H A D | asan_rtl.cc | 334 kHighMemEnd |= SHADOW_GRANULARITY * GetPageSizeCached() - 1; 382 Printf("SHADOW_GRANULARITY: %zx\n", (uptr)SHADOW_GRANULARITY);
|
Completed in 111 milliseconds