Lines Matching +full:0 +full:x7e0000000000
45 // Everything is above 0x00e000000000.
47 {0x000000000000ULL, 0x00a000000000ULL, MappingDesc::INVALID, "invalid"},
48 {0x00a000000000ULL, 0x00c000000000ULL, MappingDesc::SHADOW, "shadow"},
49 {0x00c000000000ULL, 0x00e000000000ULL, MappingDesc::ORIGIN, "origin"},
50 {0x00e000000000ULL, 0x010000000000ULL, MappingDesc::APP, "app"}};
52 #define MEM_TO_SHADOW(mem) (((uptr)(mem)) & ~0x4000000000ULL)
53 #define SHADOW_TO_ORIGIN(shadow) (((uptr)(shadow)) + 0x002000000000)
58 // - 0x00000000000-0x00010000000: 39/42-bits program own segments
59 // - 0x05500000000-0x05600000000: 39-bits PIE program segments
60 // - 0x07f80000000-0x07fffffffff: 39-bits libraries segments
61 // - 0x2aa00000000-0x2ab00000000: 42-bits PIE program segments
62 // - 0x3ff00000000-0x3ffffffffff: 42-bits libraries segments
67 {0x00000000000ULL, 0x01000000000ULL, MappingDesc::INVALID, "invalid"},
68 {0x01000000000ULL, 0x02000000000ULL, MappingDesc::SHADOW, "shadow-2"},
69 {0x02000000000ULL, 0x03000000000ULL, MappingDesc::ORIGIN, "origin-2"},
70 {0x03000000000ULL, 0x04000000000ULL, MappingDesc::SHADOW, "shadow-1"},
71 {0x04000000000ULL, 0x05000000000ULL, MappingDesc::ORIGIN, "origin-1"},
72 {0x05000000000ULL, 0x06000000000ULL, MappingDesc::APP, "app-1"},
73 {0x06000000000ULL, 0x07000000000ULL, MappingDesc::INVALID, "invalid"},
74 {0x07000000000ULL, 0x08000000000ULL, MappingDesc::APP, "app-2"},
75 {0x08000000000ULL, 0x09000000000ULL, MappingDesc::INVALID, "invalid"},
77 {0x09000000000ULL, 0x0A000000000ULL, MappingDesc::SHADOW, "shadow-3"},
78 {0x0A000000000ULL, 0x0B000000000ULL, MappingDesc::ORIGIN, "origin-3"},
79 {0x0B000000000ULL, 0x0F000000000ULL, MappingDesc::INVALID, "invalid"},
80 {0x0F000000000ULL, 0x10000000000ULL, MappingDesc::APP, "app-3"},
81 {0x10000000000ULL, 0x11000000000ULL, MappingDesc::INVALID, "invalid"},
82 {0x11000000000ULL, 0x12000000000ULL, MappingDesc::APP, "app-4"},
83 {0x12000000000ULL, 0x17000000000ULL, MappingDesc::INVALID, "invalid"},
84 {0x17000000000ULL, 0x18000000000ULL, MappingDesc::SHADOW, "shadow-4"},
85 {0x18000000000ULL, 0x19000000000ULL, MappingDesc::ORIGIN, "origin-4"},
86 {0x19000000000ULL, 0x20000000000ULL, MappingDesc::INVALID, "invalid"},
87 {0x20000000000ULL, 0x21000000000ULL, MappingDesc::APP, "app-5"},
88 {0x21000000000ULL, 0x26000000000ULL, MappingDesc::INVALID, "invalid"},
89 {0x26000000000ULL, 0x27000000000ULL, MappingDesc::SHADOW, "shadow-5"},
90 {0x27000000000ULL, 0x28000000000ULL, MappingDesc::ORIGIN, "origin-5"},
91 {0x28000000000ULL, 0x29000000000ULL, MappingDesc::SHADOW, "shadow-7"},
92 {0x29000000000ULL, 0x2A000000000ULL, MappingDesc::ORIGIN, "origin-7"},
93 {0x2A000000000ULL, 0x2B000000000ULL, MappingDesc::APP, "app-6"},
94 {0x2B000000000ULL, 0x2C000000000ULL, MappingDesc::INVALID, "invalid"},
95 {0x2C000000000ULL, 0x2D000000000ULL, MappingDesc::SHADOW, "shadow-6"},
96 {0x2D000000000ULL, 0x2E000000000ULL, MappingDesc::ORIGIN, "origin-6"},
97 {0x2E000000000ULL, 0x2F000000000ULL, MappingDesc::APP, "app-7"},
98 {0x2F000000000ULL, 0x39000000000ULL, MappingDesc::INVALID, "invalid"},
99 {0x39000000000ULL, 0x3A000000000ULL, MappingDesc::SHADOW, "shadow-9"},
100 {0x3A000000000ULL, 0x3B000000000ULL, MappingDesc::ORIGIN, "origin-9"},
101 {0x3B000000000ULL, 0x3C000000000ULL, MappingDesc::APP, "app-8"},
102 {0x3C000000000ULL, 0x3D000000000ULL, MappingDesc::INVALID, "invalid"},
103 {0x3D000000000ULL, 0x3E000000000ULL, MappingDesc::SHADOW, "shadow-8"},
104 {0x3E000000000ULL, 0x3F000000000ULL, MappingDesc::ORIGIN, "origin-8"},
105 {0x3F000000000ULL, 0x40000000000ULL, MappingDesc::APP, "app-9"},
107 # define MEM_TO_SHADOW(mem) ((uptr)mem ^ 0x6000000000ULL)
108 # define SHADOW_TO_ORIGIN(shadow) (((uptr)(shadow)) + 0x1000000000ULL)
113 {0x000000000000ULL, 0x000100000000ULL, MappingDesc::APP, "low memory"},
114 {0x000100000000ULL, 0x080000000000ULL, MappingDesc::INVALID, "invalid"},
115 {0x080000000000ULL, 0x180100000000ULL, MappingDesc::SHADOW, "shadow"},
116 {0x180100000000ULL, 0x1C0000000000ULL, MappingDesc::INVALID, "invalid"},
117 {0x1C0000000000ULL, 0x2C0100000000ULL, MappingDesc::ORIGIN, "origin"},
118 {0x2C0100000000ULL, 0x300000000000ULL, MappingDesc::INVALID, "invalid"},
119 {0x300000000000ULL, 0x400000000000ULL, MappingDesc::APP, "high memory"}};
123 // High: 3000 0000 0000 - 3fff ffff ffff -> 0000 0000 0000 - 0fff ffff ffff
125 (((uptr)(mem) & ~0x200000000000ULL) ^ 0x100000000000ULL)
126 #define MEM_TO_SHADOW(mem) (LINEARIZE_MEM((mem)) + 0x080000000000ULL)
127 #define SHADOW_TO_ORIGIN(shadow) (((uptr)(shadow)) + 0x140000000000ULL)
134 {0x000000000000ULL, 0x010000000000ULL, MappingDesc::APP, "low memory"},
135 {0x010000000000ULL, 0x100000000000ULL, MappingDesc::INVALID, "invalid"},
136 {0x100000000000ULL, 0x310000000000ULL, MappingDesc::SHADOW, "shadow"},
137 {0x310000000000ULL, 0x380000000000ULL, MappingDesc::INVALID, "invalid"},
138 {0x380000000000ULL, 0x590000000000ULL, MappingDesc::ORIGIN, "origin"},
139 {0x590000000000ULL, 0x600000000000ULL, MappingDesc::INVALID, "invalid"},
140 {0x600000000000ULL, 0x800000000000ULL, MappingDesc::APP, "high memory"}};
146 (((uptr)(mem) & ~0xc00000000000ULL) ^ 0x200000000000ULL)
147 #define MEM_TO_SHADOW(mem) (LINEARIZE_MEM((mem)) + 0x100000000000ULL)
148 #define SHADOW_TO_ORIGIN(shadow) (((uptr)(shadow)) + 0x280000000000)
154 // Main thread stack and DSOs at 0x7f0000000000 (sometimes 0x7e0000000000).
155 // Heap at 0x600000000000.
157 {0x000000000000ULL, 0x200000000000ULL, MappingDesc::INVALID, "invalid"},
158 {0x200000000000ULL, 0x400000000000ULL, MappingDesc::SHADOW, "shadow"},
159 {0x400000000000ULL, 0x600000000000ULL, MappingDesc::ORIGIN, "origin"},
160 {0x600000000000ULL, 0x800000000000ULL, MappingDesc::APP, "app"}};
162 #define MEM_TO_SHADOW(mem) (((uptr)(mem)) & ~0x400000000000ULL)
163 #define SHADOW_TO_ORIGIN(mem) (((uptr)(mem)) + 0x200000000000ULL)
166 // ASLR disabled: main executable and DSOs at 0x555550000000
167 // PIE and ASLR: main executable and DSOs at 0x7f0000000000
168 // non-PIE: main executable below 0x100000000, DSOs at 0x7f0000000000
169 // Heap at 0x700000000000.
171 {0x000000000000ULL, 0x010000000000ULL, MappingDesc::APP, "app-1"},
172 {0x010000000000ULL, 0x100000000000ULL, MappingDesc::SHADOW, "shadow-2"},
173 {0x100000000000ULL, 0x110000000000ULL, MappingDesc::INVALID, "invalid"},
174 {0x110000000000ULL, 0x200000000000ULL, MappingDesc::ORIGIN, "origin-2"},
175 {0x200000000000ULL, 0x300000000000ULL, MappingDesc::SHADOW, "shadow-3"},
176 {0x300000000000ULL, 0x400000000000ULL, MappingDesc::ORIGIN, "origin-3"},
177 {0x400000000000ULL, 0x500000000000ULL, MappingDesc::INVALID, "invalid"},
178 {0x500000000000ULL, 0x510000000000ULL, MappingDesc::SHADOW, "shadow-1"},
179 {0x510000000000ULL, 0x600000000000ULL, MappingDesc::APP, "app-2"},
180 {0x600000000000ULL, 0x610000000000ULL, MappingDesc::ORIGIN, "origin-1"},
181 {0x610000000000ULL, 0x700000000000ULL, MappingDesc::INVALID, "invalid"},
182 {0x700000000000ULL, 0x800000000000ULL, MappingDesc::APP, "app-3"}};
183 #define MEM_TO_SHADOW(mem) (((uptr)(mem)) ^ 0x500000000000ULL)
184 #define SHADOW_TO_ORIGIN(mem) (((uptr)(mem)) + 0x100000000000ULL)
191 const uptr kMemoryLayoutSize = sizeof(kMemoryLayout) / sizeof(kMemoryLayout[0]);
204 for (unsigned i = 0; i < kMemoryLayoutSize; ++i) in addr_is_type()