You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy just used pages from huge ANONYMOUS mappings.
ASan creates a "shadow" of the used memory.
This is done in a mapping of around 20 TB address space,
but most of it is not yet used.
This patch helps an ASan-enabled rr build in following tests:
nested_detach
nested_detach_kill
nested_detach_kill_stuck
nested_detach_wait
nested_release
Avoids error message:
ERROR: AddressSanitizer: requested allocation size 0x20000000000 (0x20000001000 after adjustments for alignment, red zones etc.) exceeds maximum supported size of 0x10000000000 (thread T0)
Changes in V5:
- Add more suggested improvements of readability.
- Avoid possible underflow issue.
0 commit comments