rust/tests/codegen/sanitizer/kcfi
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
..
add-cfi-normalize-integers-flag.rs Add missing module flags for CFI and KCFI sanitizers 2024-08-21 20:23:56 +00:00
add-kcfi-flag.rs Run rustfmt on tests/codegen/. 2024-05-31 15:56:43 +10:00
add-kcfi-offset-flag.rs Add missing module flags for CFI and KCFI sanitizers 2024-08-21 20:23:56 +00:00
emit-kcfi-operand-bundle-attr-no-sanitize.rs Run rustfmt on tests/codegen/. 2024-05-31 15:56:43 +10:00
emit-kcfi-operand-bundle-itanium-cxx-abi-generalized.rs Run rustfmt on tests/codegen/. 2024-05-31 15:56:43 +10:00
emit-kcfi-operand-bundle-itanium-cxx-abi-normalized-generalized.rs Run rustfmt on tests/codegen/. 2024-05-31 15:56:43 +10:00
emit-kcfi-operand-bundle-itanium-cxx-abi-normalized.rs Run rustfmt on tests/codegen/. 2024-05-31 15:56:43 +10:00
emit-kcfi-operand-bundle-itanium-cxx-abi.rs Run rustfmt on tests/codegen/. 2024-05-31 15:56:43 +10:00
emit-kcfi-operand-bundle.rs Run rustfmt on tests/codegen/. 2024-05-31 15:56:43 +10:00
emit-type-metadata-trait-objects.rs Let InstCombine remove Clone shims inside Clone shims 2024-07-25 15:14:42 -04:00