HomeSort by relevance Sort by last modified time
    Searched refs:SHADOW_GRANULARITY (Results 1 - 8 of 8) 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 168 #define SHADOW_GRANULARITY (1ULL << SHADOW_SCALE)
291 return (a & (SHADOW_GRANULARITY - 1)) == 0;
300 u8 last_accessed_byte = (a & (SHADOW_GRANULARITY - 1))
asan_globals.cc 64 uptr aligned_size = RoundUpTo(g.size, SHADOW_GRANULARITY);
69 g.beg + RoundDownTo(g.size, SHADOW_GRANULARITY),
70 g.size % SHADOW_GRANULARITY,
71 SHADOW_GRANULARITY,
asan_rtl.cc 162 uptr s = size <= SHADOW_GRANULARITY ? *reinterpret_cast<u8 *>(sp) \
165 if (UNLIKELY(size >= SHADOW_GRANULARITY || \
166 ((s8)((addr & (SHADOW_GRANULARITY - 1)) + size - 1)) >= \
323 kHighMemEnd |= SHADOW_GRANULARITY * GetPageSizeCached() - 1;
395 Printf("SHADOW_GRANULARITY: %d\n", (int)SHADOW_GRANULARITY);
asan_fake_stack.cc 269 uptr PartialRzAligned = PartialRzAddr & ~(SHADOW_GRANULARITY - 1);
272 PartialRzAligned, PartialRzAddr % SHADOW_GRANULARITY,
281 (bottom - top) / 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;
491 RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY),
asan_report.cc 151 (int)SHADOW_GRANULARITY);
154 for (u8 i = 1; i < SHADOW_GRANULARITY; i++) PrintShadowByte(str, "", i, " ");
    [all...]

Completed in 1534 milliseconds