GWP-ASan: Provide allocation address hint
Wild pointer accesses that unintentionally access the GWP-ASan region and cause a false-positive report are far more prevalent on 32-bit than 64-bit because the address space is smaller. One of the leading causes of false positive reports on 64-bit is when the OS maps the GWP-ASan region into the lower 32-bits. Provide a hint to mmap/VirtualAlloc to map the GWP-ASan region above the first 32-bits of address space. Bug: 969146 Change-Id: I04a436808290e4d8674af8e2cf2484d1ed8ee470 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1648694 Auto-Submit: Vlad Tsyrklevich <vtsyrklevich@chromium.org> Reviewed-by:Vitaly Buka <vitalybuka@chromium.org> Commit-Queue: Vlad Tsyrklevich <vtsyrklevich@chromium.org> Cr-Commit-Position: refs/heads/master@{#667322}
Showing
Please register or sign in to comment