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

References

projects/compiler-rt/lib/cfi/cfi.cpp
  145   shadow_ = (uptr)MmapNoReserveOrDie(GetShadowSize(), "CFI shadow");
  146   VReport(1, "CFI: shadow at %zx .. %zx\n", shadow_, shadow_ + GetShadowSize());
  146   VReport(1, "CFI: shadow at %zx .. %zx\n", shadow_, shadow_ + GetShadowSize());
  150   uint16_t *shadow_begin = MemToShadow(begin, shadow_);
  151   uint16_t *shadow_end = MemToShadow(end - 1, shadow_) + 1;
  167   uint16_t *s = MemToShadow(begin, shadow_);
  168   uint16_t *s_end = MemToShadow(end - 1, shadow_) + 1;
  176   MprotectReadOnly(shadow_, GetShadowSize());
  181     void *res = mremap((void *)shadow_, GetShadowSize(), GetShadowSize(),
  197     cfi_shadow_limits_storage.limits.start = shadow_;
  200     CHECK_EQ(shadow_, GetShadow());