reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
225 const MappingDesc kMemoryLayout[] = { 226 {0x000000000000ULL, 0x010000000000ULL, MappingDesc::APP, "app-1"}, 227 {0x010000000000ULL, 0x100000000000ULL, MappingDesc::SHADOW, "shadow-2"}, 228 {0x100000000000ULL, 0x110000000000ULL, MappingDesc::INVALID, "invalid"}, 229 {0x110000000000ULL, 0x200000000000ULL, MappingDesc::ORIGIN, "origin-2"}, 230 {0x200000000000ULL, 0x300000000000ULL, MappingDesc::SHADOW, "shadow-3"}, 231 {0x300000000000ULL, 0x400000000000ULL, MappingDesc::ORIGIN, "origin-3"}, 232 {0x400000000000ULL, 0x500000000000ULL, MappingDesc::INVALID, "invalid"}, 233 {0x500000000000ULL, 0x510000000000ULL, MappingDesc::SHADOW, "shadow-1"}, 234 {0x510000000000ULL, 0x600000000000ULL, MappingDesc::APP, "app-2"}, 235 {0x600000000000ULL, 0x610000000000ULL, MappingDesc::ORIGIN, "origin-1"}, 236 {0x610000000000ULL, 0x700000000000ULL, MappingDesc::INVALID, "invalid"}, 237 {0x700000000000ULL, 0x800000000000ULL, MappingDesc::APP, "app-3"}}; 253 inline bool addr_is_type(uptr addr, MappingDesc::Type mapping_type) {projects/compiler-rt/lib/msan/msan_linux.cpp
82 MappingDesc::Type type = kMemoryLayout[i].type; 88 if (type == MappingDesc::APP) { 129 MappingDesc::Type type = kMemoryLayout[i].type; 135 bool map = type == MappingDesc::SHADOW || 136 (init_origins && type == MappingDesc::ORIGIN); 137 bool protect = type == MappingDesc::INVALID || 138 (!init_origins && type == MappingDesc::ORIGIN);