summary refs log tree commit diff
path: root/src/test/ui/sanitize/memory.rs
AgeCommit message (Collapse)AuthorLines
2022-09-27Stabilize bench_black_boxUrgau-1/+0
2022-09-09Rollup merge of #99207 - 5225225:msan-eager-checks, r=jackh726Matthias Krüger-4/+7
Enable eager checks for memory sanitizer Fixes #99179
2022-08-29Fix tests due to stricter invalid_value5225225-0/+1
2022-08-14Emit noundef even for unoptimised code if msan is on5225225-1/+4
2022-08-14Enable eager checks for memory sanitizer5225225-3/+3
2022-08-12adapt test for msan message changeKrasimir Georgiev-1/+1
LLVM commit https://github.com/llvm/llvm-project/commit/057cabd997aeaef136e1e14f2ee645bd5bb197dd removed the function from the msan error message. This adapts our test accordingly. Found via our experimental rust + llvm @ HEAD bot: https://buildkite.com/llvm-project/rust-llvm-integrate-prototype/builds/12634#018289fe-b0bc-4bab-89b3-fb1d4e38f6db
2021-08-12Implement `black_box` using intrinsicGary Guo-1/+1
The new implementation allows some `memcpy`s to be optimized away, so the uninit value in ui/sanitize/memory.rs is constructed directly onto the return place. Therefore the sanitizer now says that the value is allocated by `main` rather than `random`.
2021-04-25fix sanitizer testsRalf Jung-1/+1
2020-06-13compiletest: Add directives to detect sanitizer supportTomasz Miąsko-2/+1
Add needs-sanitizer-{address,leak,memory,thread} directive indicating that test requires target with support for specific sanitizer. This is an addition to the existing needs-sanitizer-support directive indicating that test requires a sanitizer runtime library.
2020-01-27Move sanitizer tests to a separate directoryTomasz Miąsko-0/+44