[PATCH] D27659: [sanitizer] intercept bstring functions

Kuba (Brecka) Mracek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 15 12:35:01 PST 2016


kubabrecka reopened this revision.
kubabrecka added a comment.
This revision is now accepted and ready to land.

Re-opening since the patch was reverted.  Please commit again removing SI_MAC and adding a TODO with my name:

  // TODO(kuba.brecka): Add SI_MAC when strncpy on Darwin supports bzero
  // interceptors. https://reviews.llvm.org/D27659.
  #define SANITIZER_INTERCEPT_BZERO SI_LINUX || SI_FREEBSD

No need to change the other #defines, the issue is only with the bzero interceptor.


https://reviews.llvm.org/D27659





More information about the llvm-commits mailing list