mirror of https://github.com/rust-lang/rust.git
![]() 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) |
||
---|---|---|
.. | ||
cfi | ||
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 |