[all-commits] [llvm/llvm-project] d9ce33: [libfuzzer] Prevent MSan false positive when print...
Thurston Dang via All-commits
all-commits at lists.llvm.org
Fri May 10 15:37:16 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d9ce33a0eea701719651dafbf88deae0ece96976
https://github.com/llvm/llvm-project/commit/d9ce33a0eea701719651dafbf88deae0ece96976
Author: Thurston Dang <thurston at google.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M compiler-rt/lib/fuzzer/FuzzerDriver.cpp
Log Message:
-----------
[libfuzzer] Prevent MSan false positive when printing log with -jobs (#91679)
libfuzzer's -jobs option will, depending on the number of CPUs, spin up
a
WorkerThread and end up printing the log file using CopyFileToErr.
This leads to an MSan false positive. This patch disables the MSan
interceptor checks,
similarly to other instances in https://reviews.llvm.org/D48891
Side-note: this false positive issue first appeared when printf()
was replaced by puts() (90b4d1bcb20180c591385131b12fa90d2e4860b1).
The interceptor check was always present; however, MSan does not
check_printf by default.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list