[libcxx-commits] [PATCH] D132522: [1b/3][compiler-rt][ASan] API for annotating objects memory

Tacet via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 25 20:19:47 PDT 2022


AdvenamTacet updated this revision to Diff 470687.
AdvenamTacet marked an inline comment as done.
AdvenamTacet added a comment.

Suggestions from the code review implemented.

- Updated annotation function to support non-aligned beginning and end.
- Implemented tests for non-aligned buffers in compiler-rt/test/asan/TestCases/contiguous_container
  - objects before buffer with different sizes
  - objects after buffer with different sizes
  - objects accessible and poisoned
- Updated and fixed  compiler-rt/test/asan/TestCases/contiguous_container_crash.cpp as requested.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132522/new/

https://reviews.llvm.org/D132522

Files:
  compiler-rt/lib/asan/asan_poisoning.cpp
  compiler-rt/test/asan/TestCases/contiguous_container.cpp
  compiler-rt/test/asan/TestCases/contiguous_container_crash.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132522.470687.patch
Type: text/x-patch
Size: 10740 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20221026/a03bebc8/attachment.bin>


More information about the libcxx-commits mailing list