[PATCH] D24485: [asan] Re-poison all redzones on activation
Kostya Serebryany via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 12 17:30:48 PDT 2016
kcc accepted this revision.
kcc added a comment.
This revision is now accepted and ready to land.
LGTM with a nit
================
Comment at: lib/asan/asan_allocator.cc:275
@@ +274,3 @@
+ uptr chunk_end = chunk + allocated_size;
+ if (chunk < beg && beg < end && end <= chunk_end) {
+ PoisonShadow(chunk, beg - chunk, kAsanHeapLeftRedzoneMagic);
----------------
add a comment why we have two paths here.
Repository:
rL LLVM
https://reviews.llvm.org/D24485
More information about the llvm-commits
mailing list