rust/tests/codegen/sanitizer
Sami Tolvanen 40f1d9d154 Add missing module flags for CFI and KCFI sanitizers
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.
2024-08-21 20:23:56 +00:00
..
cfi Add missing module flags for CFI and KCFI sanitizers 2024-08-21 20:23:56 +00:00
kcfi Add missing module flags for CFI and KCFI sanitizers 2024-08-21 20:23:56 +00:00
aarch64-shadow-call-stack-with-fixed-x18.rs unconditionally allow shadow call-stack for AArch64 whenever fixed-x18 is applied 2024-08-09 19:35:02 +08:00
address-sanitizer-globals-tracking.rs Run rustfmt on tests/codegen/. 2024-05-31 15:56:43 +10:00
dataflow-instrument-functions.rs Run rustfmt on tests/codegen/. 2024-05-31 15:56:43 +10:00
kasan-emits-instrumentation.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
memory-track-origins.rs Run rustfmt on tests/codegen/. 2024-05-31 15:56:43 +10:00
memtag-attr-check.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
no-sanitize-inlining.rs Run rustfmt on tests/codegen/. 2024-05-31 15:56:43 +10:00
no-sanitize.rs Run rustfmt on tests/codegen/. 2024-05-31 15:56:43 +10:00
safestack-attr-check.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
sanitizer-recover.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
scs-attr-check.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00