reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/asan/asan_allocator.cpp
  465     if (*(u8 *)MEM_TO_SHADOW((uptr)allocated) == 0 && CanPoisonMemory()) {
projects/compiler-rt/lib/asan/asan_mapping.h
  367   return MEM_TO_SHADOW(p);
  385   u8 *shadow_address = (u8*)MEM_TO_SHADOW(a);
projects/compiler-rt/lib/asan/asan_poisoning.cpp
  269   uptr s = MEM_TO_SHADOW(p);
  277   uptr s = MEM_TO_SHADOW(reinterpret_cast<uptr>(p));
projects/compiler-rt/lib/asan/asan_poisoning.h
   46   uptr shadow_beg = MEM_TO_SHADOW(aligned_beg);
   47   uptr shadow_end = MEM_TO_SHADOW(
   83   u8 *shadow = (u8*)MEM_TO_SHADOW(aligned_addr);
projects/compiler-rt/lib/asan/asan_rtl.cpp
  354          (void*)MEM_TO_SHADOW(kLowShadowBeg),
  355          (void*)MEM_TO_SHADOW(kLowShadowEnd));
  358            (void*)MEM_TO_SHADOW(kHighShadowBeg),
  359            (void*)MEM_TO_SHADOW(kHighShadowEnd));
  363            (void*)MEM_TO_SHADOW(kMidShadowBeg),
  364            (void*)MEM_TO_SHADOW(kMidShadowEnd));
projects/compiler-rt/lib/asan/asan_shadow_setup.cpp
   47     uptr GapShadowBeg = RoundDownTo(MEM_TO_SHADOW(addr), GetPageSizeCached());
   49         RoundUpTo(MEM_TO_SHADOW(addr + size), GetPageSizeCached()) - 1;