|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
projects/compiler-rt/lib/asan/asan_activation.cpp 115 disabled.min_redzone = Max(16, (int)SHADOW_GRANULARITY);
projects/compiler-rt/lib/asan/asan_allocator.cpp 147 RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY),
305 uptr end_aligned_down = RoundDownTo(end, SHADOW_GRANULARITY);
409 const uptr min_alignment = SHADOW_GRANULARITY;
512 RoundDownTo(size, SHADOW_GRANULARITY);
520 *shadow = fl.poison_partial ? (size & (SHADOW_GRANULARITY - 1)) : 0;
588 RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY),
projects/compiler-rt/lib/asan/asan_errors.cpp 333 uptr granularity = SHADOW_GRANULARITY;
412 if (*shadow_addr == 0 && access_size > SHADOW_GRANULARITY) shadow_addr++;
503 (int)SHADOW_GRANULARITY);
506 for (u8 i = 1; i < SHADOW_GRANULARITY; i++) PrintShadowByte(str, "", i, " ");
projects/compiler-rt/lib/asan/asan_fake_stack.cpp 268 uptr PartialRzAligned = PartialRzAddr & ~(SHADOW_GRANULARITY - 1);
271 PartialRzAligned, PartialRzAddr % SHADOW_GRANULARITY,
280 (bottom - top) / SHADOW_GRANULARITY);
projects/compiler-rt/lib/asan/asan_flags.cpp 148 if (f->redzone < (int)SHADOW_GRANULARITY)
149 f->redzone = SHADOW_GRANULARITY;
projects/compiler-rt/lib/asan/asan_globals.cpp 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,
projects/compiler-rt/lib/asan/asan_mapping.h 377 return (a & (SHADOW_GRANULARITY - 1)) == 0;
388 u8 last_accessed_byte = (a & (SHADOW_GRANULARITY - 1))
projects/compiler-rt/lib/asan/asan_poisoning.cpp 38 CHECK(AddrIsInMem(addr + size - SHADOW_GRANULARITY));
60 offset = address & (SHADOW_GRANULARITY - 1);
81 CHECK(IsAligned(end, SHADOW_GRANULARITY));
82 if (!IsAligned(ptr, SHADOW_GRANULARITY)) {
84 poison ? static_cast<u8>(ptr % SHADOW_GRANULARITY) : 0;
85 ptr |= SHADOW_GRANULARITY - 1;
88 for (; ptr < end; ptr += SHADOW_GRANULARITY)
194 uptr aligned_b = RoundUpTo(beg, SHADOW_GRANULARITY);
195 uptr aligned_e = RoundDownTo(end, SHADOW_GRANULARITY);
299 uptr aligned_size = size & ~(SHADOW_GRANULARITY - 1);
365 uptr granularity = SHADOW_GRANULARITY;
projects/compiler-rt/lib/asan/asan_poisoning.h 48 aligned_beg + aligned_size - SHADOW_GRANULARITY) + 1;
84 for (uptr i = 0; i < redzone_size; i += SHADOW_GRANULARITY, shadow++) {
85 if (i + SHADOW_GRANULARITY <= size) {
88 *shadow = (SHADOW_GRANULARITY == 128) ? 0xff : value; // unaddressable
projects/compiler-rt/lib/asan/asan_rtl.cpp 322 kHighMemEnd |= SHADOW_GRANULARITY * GetMmapGranularity() - 1;
376 Printf("SHADOW_GRANULARITY: %d\n", (int)SHADOW_GRANULARITY);
448 SetLowLevelAllocateMinAlignment(SHADOW_GRANULARITY);
projects/compiler-rt/lib/asan/asan_thread.cpp 310 uptr tls_begin_aligned = RoundDownTo(tls_begin_, SHADOW_GRANULARITY);
311 uptr tls_end_aligned = RoundUpTo(tls_end_, SHADOW_GRANULARITY);
335 uptr mem_ptr = RoundDownTo(aligned_addr, SHADOW_GRANULARITY);
342 mem_ptr -= SHADOW_GRANULARITY;
348 mem_ptr -= SHADOW_GRANULARITY;
355 uptr* ptr = (uptr*)(mem_ptr + SHADOW_GRANULARITY);