[PATCH] D58533: [hwasan, asan] Intercept vfork.
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 22 17:06:34 PST 2019
eugenis marked 2 inline comments as done.
eugenis 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
----------------
vitalybuka wrote:
> Why can't this be ASAN_INTERCEPT_FUNC?
>
> Same below for HWSAN
Done. I've had to add a new macro to interception.h to declare externally-defined interceptor/wrapper pair.
Wrapper can not be defined in this file because an alias can not target an external symbol.
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