Home
last modified time | relevance | path

Searched refs:MappingDesc (Results 1 – 4 of 4) sorted by relevance

/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan.h32 struct MappingDesc { struct
54 const MappingDesc kMemoryLayout[] = {
81 const MappingDesc kMemoryLayout[] = {
89 {0X0A00000000000, 0X0B00000000000, MappingDesc::APP, "app-14"},
104 const MappingDesc kMemoryLayout[] = {
122 const MappingDesc kMemoryLayout[] = {
146 const MappingDesc kMemoryLayout[] = {
164 const MappingDesc kMemoryLayout[] = {
185 const MappingDesc kMemoryLayout[] = {
209 const MappingDesc kMemoryLayout[] = {
[all …]
H A Dmsan_linux.cpp88 MappingDesc::Type type = kMemoryLayout[i].type; in CheckMemoryLayoutSanity()
94 if (type == MappingDesc::APP || type == MappingDesc::ALLOCATOR) { in CheckMemoryLayoutSanity()
136 MappingDesc::Type type = kMemoryLayout[i].type; in InitShadow()
142 bool map = type == MappingDesc::SHADOW || in InitShadow()
143 (init_origins && type == MappingDesc::ORIGIN); in InitShadow()
144 bool protect = type == MappingDesc::INVALID || in InitShadow()
145 (!init_origins && type == MappingDesc::ORIGIN); in InitShadow()
148 CHECK(type == MappingDesc::APP || type == MappingDesc::ALLOCATOR); in InitShadow()
150 if (dry_run && type == MappingDesc::ALLOCATOR && in InitShadow()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_platform.h27 struct MappingDesc { struct
44 const MappingDesc kMemoryLayout[] = { argument
45 {0X0000000000000, 0X0100000000000, MappingDesc::APP, "app-10-13"},
47 {0X0200000000000, 0X0300000000000, MappingDesc::INVALID, "invalid"},
52 {0X0A00000000000, 0X0B00000000000, MappingDesc::APP, "app-14"},
56 {0X0E00000000000, 0X1000000000000, MappingDesc::APP, "app-15"},
67 const MappingDesc kMemoryLayout[] = {
68 {0x000000000000ULL, 0x010000000000ULL, MappingDesc::APP, "app-1"},
76 {0x510000000000ULL, 0x600000000000ULL, MappingDesc::APP, "app-2"},
96 addr_is_type(uptr addr, MappingDesc::Type mapping_type) { in addr_is_type()
[all …]
H A Ddfsan.cpp1077 MappingDesc::Type type = kMemoryLayout[i].type; in dfsan_flush()
1079 if (type != MappingDesc::SHADOW && type != MappingDesc::ORIGIN) in dfsan_flush()
1102 MappingDesc::Type type = kMemoryLayout[i].type; in CheckMemoryLayoutSanity()
1108 if (type == MappingDesc::APP) { in CheckMemoryLayoutSanity()
1187 MappingDesc::Type type = kMemoryLayout[i].type; in InitShadow()
1193 bool map = type == MappingDesc::SHADOW || in InitShadow()
1194 (init_origins && type == MappingDesc::ORIGIN); in InitShadow()
1195 bool protect = type == MappingDesc::INVALID || in InitShadow()
1196 (!init_origins && type == MappingDesc::ORIGIN); in InitShadow()
1199 CHECK(type == MappingDesc::APP); in InitShadow()