• Vlad Tsyrklevich's avatar
    GWP-ASan: Store stack traces more compactly · 8971b614
    Vlad Tsyrklevich authored
    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: default avatarVitaly Buka <vitalybuka@chromium.org>
    Commit-Queue: Vlad Tsyrklevich <vtsyrklevich@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#650539}
    8971b614
crash_analyzer.cc 8.61 KB