[PATCH] D42644: [asan] Intercept std::rethrow_exception indirectly.

Vitaly Buka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 26 10:11:50 PST 2018


vitalybuka added inline comments.


================
Comment at: test/asan/TestCases/intercept-rethrow-exception.cc:48
+  // memcpy is intercepted by asan which performs checks on src and dst
+  using T = int[1000];
+  T x {};
----------------
robot wrote:
> vitalybuka wrote:
> > You can include #include <sanitizer/asan_interface.h>
> > and use __asan_region_is_poisoned
> We don't have commit rights, can you commit it? Should we first change to `__asan_region_is_poisoned` and kill the program if it is indeed poisoined?
Sure, I'll update and commit this for you.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D42644





More information about the cfe-commits mailing list