wg icon indicating copy to clipboard operation
wg copied to clipboard

Improve ergonomics for Address Sanitizer

Open Shnatsel opened this issue 7 years ago • 1 comments

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 gold linker 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.

Shnatsel avatar Jan 14 '19 01:01 Shnatsel

The activity hub for sanitizers in Rust seems to be https://github.com/japaric/rust-san

Shnatsel avatar Jan 14 '19 01:01 Shnatsel