]> git.lizzy.rs Git - rust.git/commit
Instrument C / C++ in MemorySanitizer example
authorTomasz Miąsko <tomasz.miasko@gmail.com>
Thu, 16 Jan 2020 00:00:00 +0000 (00:00 +0000)
committerTomasz Miąsko <tomasz.miasko@gmail.com>
Sat, 25 Jan 2020 18:48:02 +0000 (19:48 +0100)
commit7e3c51d085d9eaa2204cc18763bc7d98b66435fd
treee2f9c74f84d906aff24aa6afc4e78eac10f0b0c4
parent3bf71b3d5c07afc0908881a0868080ed399ca6ca
Instrument C / C++ in MemorySanitizer example

Modify the example to instrument C / C++ in addition to Rust, since it
will be generally required (e.g., when using libbacktrace for symbolication).

Additionally use rustc specific flag to track the origins of unitialized
memory rather than LLVM one.
src/doc/unstable-book/src/compiler-flags/sanitizer.md