diff options
author | Florian Mayer <fmayer@google.com> | 2021-06-15 13:12:02 +0100 |
---|---|---|
committer | Florian Mayer <fmayer@google.com> | 2021-06-17 11:59:37 +0100 |
commit | 18070723ef5cfd7d58bc296fedb67b5e3a88908f (patch) | |
tree | 78b8cae66ac1cab47abb8f7c5e1759c6a4c70fc1 /lldb/source/Commands/CommandObjectThread.cpp | |
parent | 69b0ed9a0a6aeab0b1c93d0a76c66a63c1d6f410 (diff) | |
download | llvm-18070723ef5cfd7d58bc296fedb67b5e3a88908f.zip llvm-18070723ef5cfd7d58bc296fedb67b5e3a88908f.tar.gz llvm-18070723ef5cfd7d58bc296fedb67b5e3a88908f.tar.bz2 |
[hwasan] Do not use short granule tags as poison tags.
Short granule tags as poison cause a UaF to read the referenced
memory to retrieve the tag, and means we do not detect the UaF
if the last granule's tag is still around.
This only increases the change of not catching a UaF from
0.39 % (1 / 256) to 0.42 % (1 / (256 - 17)).
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D104304
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions