[PATCH] D84361: scudo: Interleave odd and even tags for adjacent blocks.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 22 13:57:04 PDT 2020


pcc created this revision.
pcc added reviewers: eugenis, hctim, cryptoad.
Herald added a project: Sanitizers.
Herald added a subscriber: Sanitizers.

This guarantees that we will detect a buffer overflow or underflow
that overwrites an adjacent block. This spatial guarantee is similar
to the temporal guarantee that we provide for immediate use-after-free.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D84361

Files:
  compiler-rt/lib/scudo/standalone/combined.h
  compiler-rt/lib/scudo/standalone/memtag.h
  compiler-rt/lib/scudo/standalone/tests/combined_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84361.279938.patch
Type: text/x-patch
Size: 6156 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200722/ff5d7539/attachment.bin>


More information about the llvm-commits mailing list