Set the cfi-normalize-integers and kcfi-offset module flags when Control-Flow Integrity sanitizers are used, so functions generated by the LLVM backend use the same CFI/KCFI options as rustc. cfi-normalize-integers tells LLVM to also use integer normalization for generated functions when -Zsanitizer-cfi-normalize-integers is used. kcfi-offset specifies the number of prefix nops between the KCFI type hash and the function entry when -Z patchable-function-entry is used. Note that LLVM assumes all indirectly callable functions use the same number of prefix NOPs with -Zsanitizer=kcfi. |
||
|---|---|---|
| .. | ||
| 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 | ||
| safestack-attr-check.rs | ||
| sanitizer-recover.rs | ||
| scs-attr-check.rs | ||