[PATCH] D42066: Add new interceptor: acct(2)
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 16 17:01:48 PST 2018
vitalybuka accepted this revision.
vitalybuka added inline comments.
This revision is now accepted and ready to land.
================
Comment at: lib/sanitizer_common/sanitizer_common_interceptors.inc:6467
+#if SANITIZER_INTERCEPT_ACCT
+INTERCEPTOR(int, acct, char *file) {
+ void *ctx;
----------------
"const char *"?
================
Comment at: lib/sanitizer_common/sanitizer_common_interceptors.inc:6470
+ COMMON_INTERCEPTOR_ENTER(ctx, acct, file);
+ if (file) {
+ COMMON_INTERCEPTOR_READ_RANGE(ctx, file, REAL(strlen)(file) + 1);
----------------
please remove {}
Repository:
rL LLVM
https://reviews.llvm.org/D42066
More information about the llvm-commits
mailing list