HomeSort by relevance Sort by last modified time
    Searched refs:SHADOW_GRANULARITY (Results 1 - 7 of 7) sorted by null

  /external/compiler-rt/lib/asan/
asan_poisoning.h 44 aligned_beg + aligned_size - SHADOW_GRANULARITY) + 1;
77 for (uptr i = 0; i < redzone_size; i += SHADOW_GRANULARITY, shadow++) {
78 if (i + SHADOW_GRANULARITY <= size) {
81 *shadow = (SHADOW_GRANULARITY == 128) ? 0xff : value; // unaddressable
asan_poisoning.cc 39 CHECK(AddrIsInMem(addr + size - SHADOW_GRANULARITY));
56 s8 offset; // in [0, SHADOW_GRANULARITY)
61 offset = address & (SHADOW_GRANULARITY - 1);
85 CHECK(IsAligned(end, SHADOW_GRANULARITY));
86 if (!IsAligned(ptr, SHADOW_GRANULARITY)) {
88 poison ? static_cast<u8>(ptr % SHADOW_GRANULARITY) : 0;
89 ptr |= SHADOW_GRANULARITY - 1;
92 for (; ptr < end; ptr += SHADOW_GRANULARITY)
191 uptr aligned_b = RoundUpTo(beg, SHADOW_GRANULARITY);
192 uptr aligned_e = RoundDownTo(end, SHADOW_GRANULARITY);
    [all...]
asan_mapping.h 145 #define SHADOW_GRANULARITY (1ULL << SHADOW_SCALE)
267 return (a & (SHADOW_GRANULARITY - 1)) == 0;
276 u8 last_accessed_byte = (a & (SHADOW_GRANULARITY - 1))
asan_globals.cc 63 uptr aligned_size = RoundUpTo(g.size, SHADOW_GRANULARITY);
68 g.beg + RoundDownTo(g.size, SHADOW_GRANULARITY),
69 g.size % SHADOW_GRANULARITY,
70 SHADOW_GRANULARITY,
asan_rtl.cc 156 uptr s = size <= SHADOW_GRANULARITY ? *reinterpret_cast<u8 *>(sp) \
159 if (UNLIKELY(size >= SHADOW_GRANULARITY || \
160 ((s8)((addr & (SHADOW_GRANULARITY - 1)) + size - 1)) >= \
295 kHighMemEnd |= SHADOW_GRANULARITY * GetPageSizeCached() - 1;
351 Printf("SHADOW_GRANULARITY: %zx\n", (uptr)SHADOW_GRANULARITY);
asan_allocator.cc 142 RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY),
329 const uptr min_alignment = SHADOW_GRANULARITY;
425 RoundDownTo(size, SHADOW_GRANULARITY);
433 *shadow = fl.poison_partial ? (size & (SHADOW_GRANULARITY - 1)) : 0;
492 RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY),
asan_report.cc 144 (int)SHADOW_GRANULARITY);
147 for (u8 i = 1; i < SHADOW_GRANULARITY; i++) PrintShadowByte(str, "", i, " ");
842 uptr granularity = SHADOW_GRANULARITY;
    [all...]

Completed in 135 milliseconds