rust/tests/codegen/sanitizer/cfi
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-canonical-jump-tables-flag.rs Run rustfmt on `tests/codegen/`. 2024-05-31 15:56:43 +10: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-enable-split-lto-unit-flag.rs Run rustfmt on `tests/codegen/`. 2024-05-31 15:56:43 +10:00
emit-type-checks-attr-no-sanitize.rs Run rustfmt on `tests/codegen/`. 2024-05-31 15:56:43 +10:00
emit-type-checks.rs Run rustfmt on `tests/codegen/`. 2024-05-31 15:56:43 +10:00
emit-type-metadata-attr-cfi-encoding.rs Run rustfmt on `tests/codegen/`. 2024-05-31 15:56:43 +10:00
emit-type-metadata-id-itanium-cxx-abi-const-generics.rs Require any function with a tait in its signature to actually constrain a hidden type 2024-06-12 08:53:59 +00:00
emit-type-metadata-id-itanium-cxx-abi-drop-in-place.rs Run rustfmt on `tests/codegen/`. 2024-05-31 15:56:43 +10:00
emit-type-metadata-id-itanium-cxx-abi-function-types.rs Run rustfmt on `tests/codegen/`. 2024-05-31 15:56:43 +10:00
emit-type-metadata-id-itanium-cxx-abi-lifetimes.rs Require any function with a tait in its signature to actually constrain a hidden type 2024-06-12 08:53:59 +00:00
emit-type-metadata-id-itanium-cxx-abi-method-secondary-typeid.rs Run rustfmt on `tests/codegen/`. 2024-05-31 15:56:43 +10:00
emit-type-metadata-id-itanium-cxx-abi-paths.rs Require any function with a tait in its signature to actually constrain a hidden type 2024-06-12 08:53:59 +00:00
emit-type-metadata-id-itanium-cxx-abi-pointer-types.rs Run rustfmt on `tests/codegen/`. 2024-05-31 15:56:43 +10:00
emit-type-metadata-id-itanium-cxx-abi-primitive-types.rs Run rustfmt on `tests/codegen/`. 2024-05-31 15:56:43 +10:00
emit-type-metadata-id-itanium-cxx-abi-repr-transparent-types.rs Run rustfmt on `tests/codegen/`. 2024-05-31 15:56:43 +10:00
emit-type-metadata-id-itanium-cxx-abi-sequence-types.rs Run rustfmt on `tests/codegen/`. 2024-05-31 15:56:43 +10:00
emit-type-metadata-id-itanium-cxx-abi-trait-types.rs Run rustfmt on `tests/codegen/`. 2024-05-31 15:56:43 +10:00
emit-type-metadata-id-itanium-cxx-abi-user-defined-types.rs Run rustfmt on `tests/codegen/`. 2024-05-31 15:56:43 +10:00
emit-type-metadata-itanium-cxx-abi-generalized.rs Run rustfmt on `tests/codegen/`. 2024-05-31 15:56:43 +10:00
emit-type-metadata-itanium-cxx-abi-normalized-generalized.rs Run rustfmt on `tests/codegen/`. 2024-05-31 15:56:43 +10:00
emit-type-metadata-itanium-cxx-abi-normalized.rs Run rustfmt on `tests/codegen/`. 2024-05-31 15:56:43 +10:00
emit-type-metadata-itanium-cxx-abi.rs Run rustfmt on `tests/codegen/`. 2024-05-31 15:56:43 +10:00
emit-type-metadata-trait-objects.rs Run rustfmt on `tests/codegen/`. 2024-05-31 15:56:43 +10:00
generalize-pointers.rs Run rustfmt on `tests/codegen/`. 2024-05-31 15:56:43 +10:00
normalize-integers.rs Run rustfmt on `tests/codegen/`. 2024-05-31 15:56:43 +10:00