GWP-ASan: Try harder to allocate in high memory
GWP-ASan tries to allocate its memory region in upper memory (e.g. above the first 32-bits on 64-bit platforms) to limit false positive reports that can result when randomly overwritten pointer values point into the GWP-ASan region. Since introducing the mechanism to hint that the region should be allocated in high memory, these inactionable reports have decreased, but still occasionally occur on Windows. Try to map the region in high memory multiple times to account for the unlikely probability that the memory is already reserved. Bug: 969146 Change-Id: Ide3ae093debcf4a3eee758dbe526ae6c1a66f7d5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1876754 Auto-Submit: Vlad Tsyrklevich <vtsyrklevich@chromium.org> Commit-Queue: Vitaly Buka <vitalybuka@chromium.org> Reviewed-by:Vitaly Buka <vitalybuka@chromium.org> Cr-Commit-Position: refs/heads/master@{#709188}
Showing
Please register or sign in to comment