rust/src/test/ui/invalid
Ramon de C Valle 65698ae9f3 Add LLVM KCFI support to the Rust compiler
This commit adds LLVM Kernel Control Flow Integrity (KCFI) support to
the Rust compiler. It initially provides forward-edge control flow
protection for operating systems kernels for Rust-compiled code only by
aggregating function pointers in groups identified by their return and
parameter types. (See llvm/llvm-project@cff5bef.)

Forward-edge control flow protection for C or C++ and Rust -compiled
code "mixed binaries" (i.e., for when C or C++ and Rust -compiled code
share the same virtual address space) will be provided in later work as
part of this project by identifying C char and integer type uses at the
time types are encoded (see Type metadata in the design document in the
tracking issue #89653).

LLVM KCFI can be enabled with -Zsanitizer=kcfi.

Co-authored-by: bjorn3 <17426603+bjorn3@users.noreply.github.com>
2022-12-08 17:24:39 -08:00
..
invalid-crate-type-macro.rs Check for macros in built-in attributes that don't support them. 2021-09-25 09:03:15 -07:00
invalid-crate-type-macro.stderr Check for macros in built-in attributes that don't support them. 2021-09-25 09:03:15 -07:00
invalid-crate-type.rs Remove licenses 2018-12-25 21:08:33 -07:00
invalid-crate-type.stderr normalize use of backticks in compiler messages for librustc/lint 2019-07-17 22:49:48 +02:00
invalid-debugger-visualizer-option.rs Add support for embedding pretty printers via the #[debugger_visualizer] attribute. Add tests for embedding pretty printers and update documentation. 2022-05-24 11:14:48 -07:00
invalid-debugger-visualizer-option.stderr Add support for embedding pretty printers via the #[debugger_visualizer] attribute. Add tests for embedding pretty printers and update documentation. 2022-05-24 11:14:48 -07:00
invalid-debugger-visualizer-target.rs Add support for embedding pretty printers via the #[debugger_visualizer] attribute. Add tests for embedding pretty printers and update documentation. 2022-05-24 11:14:48 -07:00
invalid-debugger-visualizer-target.stderr Add support for a new attribute #[debugger_visualizer] to support embedding debugger visualizers into a generated PDB. 2022-05-03 10:53:54 -07:00
invalid-inline.rs add help for invalid inline argument 2022-09-16 23:57:08 +08:00
invalid-inline.stderr add help for invalid inline argument 2022-09-16 23:57:08 +08:00
invalid-llvm-passes.rs Remove -Znew-llvm-pass-manager 2022-09-18 13:26:03 -07:00
invalid-llvm-passes.stderr Support -C passes in NewPM 2021-05-08 10:58:08 +02:00
invalid-macro-matcher.rs Remove licenses 2018-12-25 21:08:33 -07:00
invalid-macro-matcher.stderr Update tests 2019-03-11 23:10:26 +03:00
invalid-no-sanitize.rs Selectively disable sanitizer instrumentation 2020-02-05 23:30:38 +01:00
invalid-no-sanitize.stderr Add LLVM KCFI support to the Rust compiler 2022-12-08 17:24:39 -08:00
invalid-path-in-const.rs Remove licenses 2018-12-25 21:08:33 -07:00
invalid-path-in-const.stderr Tweak spans for E0599 2019-03-23 13:05:29 -07:00
invalid-plugin-attr.rs Remove Session.used_attrs and move logic to CheckAttrVisitor 2021-08-21 13:27:27 -05:00
invalid-plugin-attr.stderr Remove Session.used_attrs and move logic to CheckAttrVisitor 2021-08-21 13:27:27 -05:00
invalid-rustc_legacy_const_generics-arguments.rs Do not allow #[rustc_legacy_const_generics] on methods 2022-03-07 16:31:03 +00:00
invalid-rustc_legacy_const_generics-arguments.stderr passes: port more of check_attr module 2022-07-25 15:11:22 +01:00
invalid_rustc_layout_scalar_valid_range.rs Use delay_span_bug instead of panic in layout_scalar_valid_range 2021-03-16 00:00:00 +00:00
invalid_rustc_layout_scalar_valid_range.stderr Use delay_span_bug instead of panic in layout_scalar_valid_range 2021-03-16 00:00:00 +00:00