[PATCH] D102442: scudo: Fix MTE error reporting for zero-sized allocations.
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 13 14:07:45 PDT 2021
pcc created this revision.
pcc added reviewers: eugenis, hctim, cryptoad.
pcc requested review of this revision.
Herald added a project: Sanitizers.
Herald added a subscriber: Sanitizers.
With zero-sized allocations we don't actually end up storing the
address tag to the memory tag space, so store it in the first byte of
the chunk instead so that we can find it later in getInlineErrorInfo().
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D102442
Files:
compiler-rt/lib/scudo/standalone/combined.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102442.345281.patch
Type: text/x-patch
Size: 4984 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210513/e2ab0a50/attachment.bin>
More information about the llvm-commits
mailing list