rust/tests/codegen/sanitizer
许杰友 Jieyou Xu (Joe) c6d36256a6
Rollup merge of #127483 - BertalanD:no_sanitize-global-var, r=rcvalle
Allow disabling ASan instrumentation for globals

AddressSanitizer adds instrumentation to global variables unless the [`no_sanitize_address`](https://llvm.org/docs/LangRef.html#global-attributes) attribute is set on them.

This commit extends the existing `#[no_sanitize(address)]` attribute to set this; previously it only had the desired effect on functions.

(cc https://github.com/rust-lang/rust/issues/39699)
2024-11-23 20:19:51 +08:00
..
cfi CFI: Append debug location to CFI blocks 2024-11-11 09:17:43 +00:00
kcfi
aarch64-shadow-call-stack-with-fixed-x18.rs
address-sanitizer-globals-tracking.rs
dataflow-instrument-functions.rs
kasan-emits-instrumentation.rs
memory-track-origins.rs
memtag-attr-check.rs
no-sanitize-inlining.rs
no-sanitize.rs
riscv64-shadow-call-stack.rs
safestack-attr-check.rs
sanitizer-recover.rs
scs-attr-check.rs