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

Declarations

projects/compiler-rt/lib/asan/asan_mapping.h
  264 extern uptr kHighMemEnd, kMidMemBeg, kMidMemEnd;  // Initialized in __asan_init.

References

projects/compiler-rt/lib/asan/asan_mapping.h
  319   return kMidMemBeg && a >= kMidMemBeg && a <= kMidMemEnd;
  319   return kMidMemBeg && a >= kMidMemBeg && a <= kMidMemEnd;
  324   return kMidMemBeg && a >= kMidShadowBeg && a <= kMidShadowEnd;
  324   return kMidMemBeg && a >= kMidShadowBeg && a <= kMidShadowEnd;
  339   if (kMidMemBeg) {
  340     if (a <= kShadowGapEnd)
  342     return (a >= kShadowGap2Beg && a <= kShadowGap2End) ||
  342     return (a >= kShadowGap2Beg && a <= kShadowGap2End) ||
  343            (a >= kShadowGap3Beg && a <= kShadowGap3End);
  343            (a >= kShadowGap3Beg && a <= kShadowGap3End);
  348     return a <= kShadowGapEnd;
  349   return a >= kShadowGapBeg && a <= kShadowGapEnd;
projects/compiler-rt/lib/asan/asan_rtl.cpp
   54     if (kMidMemBeg) {
   55       UnmapOrDie((void*)kLowShadowBeg, kMidMemBeg - kLowShadowBeg);
  335   if (kMidMemBeg) {
  337            (void*)kShadowGap3Beg, (void*)kShadowGap3End);
  337            (void*)kShadowGap3Beg, (void*)kShadowGap3End);
  339            (void*)kMidMemBeg, (void*)kMidMemEnd);
  341            (void*)kShadowGap2Beg, (void*)kShadowGap2End);
  341            (void*)kShadowGap2Beg, (void*)kShadowGap2End);
  343            (void*)kMidShadowBeg, (void*)kMidShadowEnd);
  346          (void*)kShadowGapBeg, (void*)kShadowGapEnd);
  361   if (kMidMemBeg) {
  363            (void*)MEM_TO_SHADOW(kMidShadowBeg),
  379   if (kMidMemBeg)
  380     CHECK(kMidShadowBeg > kLowShadowEnd &&
  381           kMidMemBeg > kMidShadowEnd &&
projects/compiler-rt/lib/asan/asan_shadow_setup.cpp
  119     kMidMemBeg = kLowMemEnd < 0x3000000000ULL ? 0x3000000000ULL : 0;
  133     ProtectGap(kShadowGapBeg, kShadowGapEnd - kShadowGapBeg + 1);
  134     CHECK_EQ(kShadowGapEnd, kHighShadowBeg - 1);
  135   } else if (kMidMemBeg &&
  136              MemoryRangeIsAvailable(shadow_start, kMidMemBeg - 1) &&
  142     ReserveShadowMemoryRange(kMidShadowBeg, kMidShadowEnd, "mid shadow");
  146     ProtectGap(kShadowGapBeg, kShadowGapEnd - kShadowGapBeg + 1);
  147     ProtectGap(kShadowGap2Beg, kShadowGap2End - kShadowGap2Beg + 1);
  147     ProtectGap(kShadowGap2Beg, kShadowGap2End - kShadowGap2Beg + 1);
  147     ProtectGap(kShadowGap2Beg, kShadowGap2End - kShadowGap2Beg + 1);
  148     ProtectGap(kShadowGap3Beg, kShadowGap3End - kShadowGap3Beg + 1);
  148     ProtectGap(kShadowGap3Beg, kShadowGap3End - kShadowGap3Beg + 1);
  148     ProtectGap(kShadowGap3Beg, kShadowGap3End - kShadowGap3Beg + 1);