reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
264 extern uptr kHighMemEnd, kMidMemBeg, kMidMemEnd; // Initialized in __asan_init.
124 uptr shadow_size = RoundUpTo(kHighShadowEnd, granularity);
projects/compiler-rt/lib/asan/asan_mapping.h329 return kHighMemBeg && a >= kHighMemBeg && a <= kHighMemEnd; 329 return kHighMemBeg && a >= kHighMemBeg && a <= kHighMemEnd; 329 return kHighMemBeg && a >= kHighMemBeg && a <= kHighMemEnd; 334 return kHighMemBeg && a >= kHighShadowBeg && a <= kHighShadowEnd; 334 return kHighMemBeg && a >= kHighShadowBeg && a <= kHighShadowEnd; 334 return kHighMemBeg && a >= kHighShadowBeg && a <= kHighShadowEnd; 340 if (a <= kShadowGapEnd) 343 (a >= kShadowGap3Beg && a <= kShadowGap3End); 348 return a <= kShadowGapEnd; 349 return a >= kShadowGapBeg && a <= kShadowGapEnd;projects/compiler-rt/lib/asan/asan_rtl.cpp
56 UnmapOrDie((void*)kMidMemEnd, kHighShadowEnd - kMidMemEnd); 58 if (kHighShadowEnd) 59 UnmapOrDie((void*)kLowShadowBeg, kHighShadowEnd - kLowShadowBeg); 319 kHighMemEnd = GetMaxUserVirtualAddress(); 322 kHighMemEnd |= SHADOW_GRANULARITY * GetMmapGranularity() - 1; 324 CHECK_EQ((kHighMemBeg % GetMmapGranularity()), 0); 329 if (kHighMemBeg) { 331 (void*)kHighMemBeg, (void*)kHighMemEnd); 331 (void*)kHighMemBeg, (void*)kHighMemEnd); 333 (void*)kHighShadowBeg, (void*)kHighShadowEnd); 333 (void*)kHighShadowBeg, (void*)kHighShadowEnd); 337 (void*)kShadowGap3Beg, (void*)kShadowGap3End); 346 (void*)kShadowGapBeg, (void*)kShadowGapEnd); 356 if (kHighMemBeg) { 358 (void*)MEM_TO_SHADOW(kHighShadowBeg), 359 (void*)MEM_TO_SHADOW(kHighShadowEnd)); 382 kHighShadowBeg > kMidMemEnd);projects/compiler-rt/lib/asan/asan_shadow_setup.cpp
114 MemoryRangeIsAvailable(shadow_start, kHighShadowEnd); 131 ReserveShadowMemoryRange(kHighShadowBeg, kHighShadowEnd, "high shadow"); 131 ReserveShadowMemoryRange(kHighShadowBeg, kHighShadowEnd, "high shadow"); 133 ProtectGap(kShadowGapBeg, kShadowGapEnd - kShadowGapBeg + 1); 134 CHECK_EQ(kShadowGapEnd, kHighShadowBeg - 1); 134 CHECK_EQ(kShadowGapEnd, kHighShadowBeg - 1); 137 MemoryRangeIsAvailable(kMidMemEnd + 1, kHighShadowEnd)) { 144 ReserveShadowMemoryRange(kHighShadowBeg, kHighShadowEnd, "high shadow"); 144 ReserveShadowMemoryRange(kHighShadowBeg, kHighShadowEnd, "high shadow"); 146 ProtectGap(kShadowGapBeg, kShadowGapEnd - kShadowGapBeg + 1); 148 ProtectGap(kShadowGap3Beg, kShadowGap3End - kShadowGap3Beg + 1); 154 shadow_start, kHighShadowEnd);