[PATCH] D58533: [hwasan, asan] Intercept vfork.

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 22 13:58:25 PST 2019


vitalybuka added inline comments.


================
Comment at: compiler-rt/lib/asan/asan_interceptors.cc:664
+#if defined(__linux__)
+  __interception::GetRealFunctionAddress("vfork", (uptr *)&REAL(vfork), 0, 0);
+#endif
----------------
Why can't this be ASAN_INTERCEPT_FUNC?

Same below for HWSAN


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D58533





More information about the llvm-commits mailing list