|
83 | 83 | // || `[0x0000000000, 0x0d5554ffff]` || LowMem ||
|
84 | 84 | //
|
85 | 85 | // Default Linux/AArch64 (39-bit VMA) mapping:
|
86 |
| -// || `[0x2000000000, 0x7fffffffff]` || highmem || |
87 |
| -// || `[0x1400000000, 0x1fffffffff]` || highshadow || |
88 |
| -// || `[0x1200000000, 0x13ffffffff]` || shadowgap || |
89 |
| -// || `[0x1000000000, 0x11ffffffff]` || lowshadow || |
90 |
| -// || `[0x0000000000, 0x0fffffffff]` || lowmem || |
| 86 | +// TODO: this mapping is ok, but the allocator size is too large on non-Android |
| 87 | +// AArch64 platforms (see asan_allocator.h) |
| 88 | +// || `[0x2000000000, 0x7fffffffff]` || highmem || 384GB |
| 89 | +// || `[0x1400000000, 0x1fffffffff]` || highshadow || 48GB |
| 90 | +// || `[0x1200000000, 0x13ffffffff]` || shadowgap || 8GB |
| 91 | +// || `[0x1000000000, 0x11ffffffff]` || lowshadow || 8GB |
| 92 | +// || `[0x0000000000, 0x0fffffffff]` || lowmem || 64GB |
91 | 93 | //
|
92 | 94 | // Default Linux/AArch64 (42-bit VMA) mapping:
|
93 |
| -// || `[0x10000000000, 0x3ffffffffff]` || highmem || |
94 |
| -// || `[0x0a000000000, 0x0ffffffffff]` || highshadow || |
95 |
| -// || `[0x09000000000, 0x09fffffffff]` || shadowgap || |
96 |
| -// || `[0x08000000000, 0x08fffffffff]` || lowshadow || |
97 |
| -// || `[0x00000000000, 0x07fffffffff]` || lowmem || |
| 95 | +// TODO: this mapping is ok, but the allocator size is too large on non-Android |
| 96 | +// AArch64 platforms (see asan_allocator.h) |
| 97 | +// || `[0x09000000000, 0x03ffffffffff]` || highmem || 3520GB |
| 98 | +// || `[0x02200000000, 0x008fffffffff]` || highshadow || 440GB |
| 99 | +// || `[0x01200000000, 0x0021ffffffff]` || shadowgap || 64GB |
| 100 | +// || `[0x01000000000, 0x0011ffffffff]` || lowshadow || 8GB |
| 101 | +// || `[0x00000000000, 0x000fffffffff]` || lowmem || 64GB |
| 102 | +// |
| 103 | +// Default Linux/AArch64 (48-bit VMA) mapping: |
| 104 | +// || `[0x201000000000, 0xffffffffffff]` || HighMem || 229312GB |
| 105 | +// || `[0x041200000000, 0x200fffffffff]` || HighShadow || 28664GB |
| 106 | +// || `[0x001200000000, 0x0411ffffffff]` || ShadowGap || 4096GB |
| 107 | +// || `[0x001000000000, 0x0011ffffffff]` || LowShadow || 8GB |
| 108 | +// || `[0x000000000000, 0x000fffffffff]` || LowMem || 64GB |
98 | 109 | //
|
99 | 110 | // Default Linux/S390 mapping:
|
100 | 111 | // || `[0x30000000, 0x7fffffff]` || HighMem ||
|
|
0 commit comments