diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2020-01-27 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2020-01-27 16:56:25 +0100 |
| commit | 08a1c566a792dcf9657d293155f7ada87746bb65 (patch) | |
| tree | a362669b9a1a1bd8d61a4e4b66555433af913c15 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 1d5f6d41e140a3d6a9c6584d555bc09f10222d24 (diff) | |
| download | rust-08a1c566a792dcf9657d293155f7ada87746bb65.tar.gz rust-08a1c566a792dcf9657d293155f7ada87746bb65.zip | |
Detect use-after-scope bugs with AddressSanitizer
Enable use-after-scope checks by default when using AddressSanitizer. They allow to detect incorrect use of stack objects after their scope have already ended. The detection is based on LLVM lifetime intrinsics. To facilitate the use of this functionality, the lifetime intrinsics are now emitted regardless of optimization level if enabled sanitizer makes use of them.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
