wg
wg copied to clipboard
Improve ergonomics for Address Sanitizer
Running Address Sanitizer, the go-to memory debugger, currently requires multiple workarounds:
- All sanitizers are botched in the default build mode, you need to force rustc to use
goldlinker as a workaround (https://github.com/rust-lang/rust/issues/53945) - ASAN produces "ODR violation" false positives which can be suppressed through the ASAN options mechanism (https://github.com/rust-lang/rust/issues/41807)
This is a pretty bad state to be in, especially since this tooling is a requirement for detecting exploitable bugs in unsafe code.
The activity hub for sanitizers in Rust seems to be https://github.com/japaric/rust-san