[PATCH] D54548: Add interceptor for the setvbuf(3) from NetBSD
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 19 12:54:49 PST 2018
vitalybuka added inline comments.
================
Comment at: lib/sanitizer_common/sanitizer_common_interceptors.inc:7274
+ if (buf)
+ COMMON_INTERCEPTOR_WRITE_RANGE(ctx, buf, size);
+ return ret;
----------------
do you need unpoison_file?
================
Comment at: lib/sanitizer_common/sanitizer_platform_interceptors.h:519
#define SANITIZER_INTERCEPT_NETENT SI_NETBSD
+#define SANITIZER_INTERCEPT_SETVBUF SI_NETBSD
----------------
This is not NETBSD specific?
Repository:
rL LLVM
https://reviews.llvm.org/D54548
More information about the llvm-commits
mailing list