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

References

projects/compiler-rt/lib/asan/asan_allocator.cpp
  519           (u8 *)MemToShadow(user_beg + size_rounded_down_to_granularity);
projects/compiler-rt/lib/asan/asan_errors.cpp
  410       u8 *shadow_addr = (u8 *)MemToShadow(addr);
  554   uptr shadow_addr = MemToShadow(addr);
projects/compiler-rt/lib/asan/asan_fake_stack.cpp
   30   u64 *shadow = reinterpret_cast<u64*>(MemToShadow(ptr));
  279   REAL(memset)(reinterpret_cast<void*>(MemToShadow(top)), 0,
projects/compiler-rt/lib/asan/asan_poisoning.cpp
   59     chunk = (u8*)MemToShadow(address);
   68   ReleaseMemoryPagesToOS(MemToShadow(p), MemToShadow(p + size));
   68   ReleaseMemoryPagesToOS(MemToShadow(p), MemToShadow(p + size));
   83     *(u8 *)MemToShadow(ptr) =
   89     *(u8*)MemToShadow(ptr) = poison ? kAsanIntraObjectRedzone : 0;
  196   uptr shadow_beg = MemToShadow(aligned_b);
  197   uptr shadow_end = MemToShadow(aligned_e);
  305   s8* shadow_end = (s8*)MemToShadow(addr + aligned_size);
  388     CHECK_EQ(*(u8*)MemToShadow(a), 0);
  401     *(u8*)MemToShadow(b1) = static_cast<u8>(new_mid - b1);
projects/compiler-rt/lib/asan/asan_thread.cpp
  336   u8 *shadow_ptr = (u8*)MemToShadow(aligned_addr);
  337   u8 *shadow_bottom = (u8*)MemToShadow(bottom);
  375   u8 *shadow_ptr = (u8*)MemToShadow(aligned_addr);
  376   u8 *shadow_bottom = (u8*)MemToShadow(bottom);