[PATCH] D27659: [sanitizer] intercept bstring functions
    Yury Gribov via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Dec 13 23:12:44 PST 2016
    
    
  
ygribov added inline comments.
================
Comment at: lib/sanitizer_common/sanitizer_platform_interceptors.h:277
 #define SANITIZER_INTERCEPT___BZERO SI_MAC
+#define SANITIZER_INTERCEPT_BZERO 1
+#define SANITIZER_INTERCEPT_BCOPY 1
----------------
kcc wrote:
> I think these need to be SI_LINUX, not 1. 
> If we try to intercept a function that does not exist on other OSes things will fail there. 
> 
Note that these functions are also available on FreeBSD and OSX.
https://reviews.llvm.org/D27659
    
    
More information about the llvm-commits
mailing list