[PATCH] D54990: Add interceptors for the md4(3) from NetBSD

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 5 01:35:25 PST 2018


vitalybuka requested changes to this revision.
vitalybuka added inline comments.
This revision now requires changes to proceed.


================
Comment at: lib/sanitizer_common/sanitizer_common_interceptors.inc:7366
+  if (context)
+    COMMON_INTERCEPTOR_READ_RANGE(ctx, context, MD4_CTX_sz);
+  REAL(MD4Update)(context, data, len);
----------------
should write


================
Comment at: lib/sanitizer_common/sanitizer_common_interceptors.inc:7372
+  void *ctx;
+  COMMON_INTERCEPTOR_ENTER(ctx, MD4Final, digest, context);
+  REAL(MD4Final)(digest, context);
----------------
should read context


Repository:
  rL LLVM

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

https://reviews.llvm.org/D54990





More information about the llvm-commits mailing list