diff options
author | Mitch Phillips <31459023+hctim@users.noreply.github.com> | 2023-02-28 14:05:42 -0800 |
---|---|---|
committer | Mitch Phillips <31459023+hctim@users.noreply.github.com> | 2023-02-28 14:05:51 -0800 |
commit | bc949f923ee37e6c71b69d0c0337d0e6b499832d (patch) | |
tree | 9ccc238660b728bd1c1861943de1cae792370722 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | ece0b96979c88bab9ec6c53b4d59f7c4b1dce017 (diff) | |
download | llvm-bc949f923ee37e6c71b69d0c0337d0e6b499832d.zip llvm-bc949f923ee37e6c71b69d0c0337d0e6b499832d.tar.gz llvm-bc949f923ee37e6c71b69d0c0337d0e6b499832d.tar.bz2 |
[GWP-ASan] Handle wild touches of the guarded pool.
AllocMeta could be null when returned from __gwp_asan_get_metadata() for
a bad access into the GuardedPagePool that was never allocated.
Currently, then we dereference the null pointer, oops.
Hoist the check up and print a message (only once in recoverable mode)
about the bad memory access.
Reviewed By: fmayer
Differential Revision: https://reviews.llvm.org/D144973
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions