3 ms·
Most of Rust's safety guarantees are at compile time, not at runtime, and so have no runtime overhead. ASan's docs claim a 2x slowdown. That said, defense in d
by steveklabnik 12y ago
Most of Rust's safety guarantees are at compile time, not at runtime, and so have no runtime overhead. ASan's docs claim a 2x slowdown.
That said, defense in depth is always nice. kmc got AFL working with Rust recently, and it's uncovered some things. Using an ASan-like tool to do some of the runtime stuff would be great to have.
- wyldfire 12y ago> uncovered some things Those were problems with the rust compiler or the binaries it generates?
- steveklabnik 12y agoThree things so far. Two in the parser, one in generated code: - https://github.com/rust-lang/rust/issues/24276 https://github.com/rust-lang/rust/issues/24276 - https://github.com/rust-lang/rust/issues/24275 https://github.com/rust-lang/rust/issues/24275 - https://github.com/rust-lang/rust/issues/21889 https://github.com/rust-lang/rust/issues/21889