[PATCH] D97302: [dfsan] Update memset and dfsan_(set|add)_label with origin tracking

Matt Morehouse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 23 12:25:26 PST 2021


morehouse accepted this revision.
morehouse added inline comments.
This revision is now accepted and ready to land.


================
Comment at: compiler-rt/lib/dfsan/dfsan.cpp:601
+// Releases the pages within the origin address range, and sets the origin
+// addresses not on the pages to be 0.
+static void ClearOrigins(void *addr, uptr size) {
----------------
Actually, this doesn't zero the non-released pages.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97302



More information about the llvm-commits mailing list