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

Robert Schneider via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 26 07:00:26 PST 2018

robot 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 {};
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?

  rCRT Compiler Runtime


More information about the llvm-commits mailing list