GWP-ASan: Store stack traces more compactly
Currently, the allocation and deallocation stack traces are stored in separate 200 byte buffers. This change stores them together in a single 400-byte buffer so that deallocations can use any unused space from the allocation. This improves memory density for deallocations (which is usually what we care most about in UAFs) and does not affect allocations. Bug: 951410 Change-Id: I6fa36a80a605b16eb2d92919b3fd4a5ff60dfc84 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1566455 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@{#650539}
Showing
Please register or sign in to comment