[llvm] [compiler-rt] [sanitizer_common] Add experimental flag to tweak dlopen(<main program>) (PR #71715)
    Vitaly Buka via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Nov  9 10:26:45 PST 2023
    
    
  
================
@@ -6304,10 +6305,69 @@ INTERCEPTOR(int, fclose, __sanitizer_FILE *fp) {
 #endif
 
 #if SANITIZER_INTERCEPT_DLOPEN_DLCLOSE
+// Ordinary internal_readlink does not null-terminate strings.
+static int internal_readlink_with_null(const char *path, char *buf,
----------------
vitalybuka wrote:
Naming style
https://github.com/llvm/llvm-project/pull/71715
    
    
More information about the llvm-commits
mailing list