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

Vitaly Buka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 25 14:56:15 PST 2018


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


================
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 {};
----------------
You can include #include <sanitizer/asan_interface.h>
and use __asan_region_is_poisoned


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D42644





More information about the cfe-commits mailing list