[PATCH] D31457: [asan] Add strndup/__strndup interceptors if targeting linux.
    Kostya Serebryany via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Mar 29 16:53:24 PDT 2017
    
    
  
kcc added inline comments.
================
Comment at: lib/asan/asan_interceptors.cc:574
+#if ASAN_INTERCEPT_STRNDUP
+INTERCEPTOR(char*, strndup, const char *s, uptr size) {
+  void *ctx;
----------------
this needs to go to lib/sanitizer_common/sanitizer_common_interceptors.inc and removed from lib/msan/msan_interceptors.cc
https://reviews.llvm.org/D31457
    
    
More information about the llvm-commits
mailing list