mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
40f1d9d154
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. |
||
---|---|---|
.. | ||
add-canonical-jump-tables-flag.rs | ||
add-cfi-normalize-integers-flag.rs | ||
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 | ||
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 | ||
emit-type-metadata-id-itanium-cxx-abi-method-secondary-typeid.rs | ||
emit-type-metadata-id-itanium-cxx-abi-paths.rs | ||
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 |