-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Windows LLVM Sanitizer Support #89339
Copy link
Copy link
Closed
Labels
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-sanitizersArea: Sanitizers for correctness and code qualityArea: Sanitizers for correctness and code qualityO-windows-msvcToolchain: MSVC, Operating system: WindowsToolchain: MSVC, Operating system: WindowsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
Metadata
Metadata
Assignees
Labels
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-sanitizersArea: Sanitizers for correctness and code qualityArea: Sanitizers for correctness and code qualityO-windows-msvcToolchain: MSVC, Operating system: WindowsToolchain: MSVC, Operating system: WindowsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
No fields configured for issues without a type.
In an effort to fuzz a Windows-specific Rust program with
cargo-fuzzI've done a bit of digging that leads me to think the compiler is the current blocker.cargo-fuzzmentionslibFuzzer"only works on x86-64 Linux and x86-64 macOS for now". ThelibFuzzerdocs in turn suggest Windows should now be support-able, and the LLVM AddressSanitizer documentation appears to agree.Looking at the history of sanitizer discussion here I see Windows support being mentioned as possible as early as 2017 #39699 (comment). Windows support was also mentioned in #47174 as part of the discussion on stabilizing the -Z sanitize options.
I'm opening this issue to document the data I've gathered, ask for input on if I'm understanding the current state correctly, and also understand if anyone is working on this. I may be able to help, but am not an experienced contributor to the compiler. I've started to work locally to understand what this change would look like if it is in-fact possible.