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
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
emit-type-checks-attr-no-sanitize.rs
emit-type-checks.rs
emit-type-metadata-attr-cfi-encoding.rs
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
emit-type-metadata-id-itanium-cxx-abi-function-types.rs
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
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
emit-type-metadata-id-itanium-cxx-abi-primitive-types.rs
emit-type-metadata-id-itanium-cxx-abi-repr-transparent-types.rs
emit-type-metadata-id-itanium-cxx-abi-sequence-types.rs
emit-type-metadata-id-itanium-cxx-abi-trait-types.rs
emit-type-metadata-id-itanium-cxx-abi-user-defined-types.rs
emit-type-metadata-itanium-cxx-abi-generalized.rs
emit-type-metadata-itanium-cxx-abi-normalized-generalized.rs
emit-type-metadata-itanium-cxx-abi-normalized.rs
emit-type-metadata-itanium-cxx-abi.rs
emit-type-metadata-trait-objects.rs
generalize-pointers.rs
normalize-integers.rs