Proposal
Add a new sanitizer called -Zsanitizer=kernel-hwaddress for bare metal aarch64 targets. It should behave the same as the -fsanitize=kernel-hwaddress sanitizer in clang.
The actual sanitizer is implemented as an LLVM pass. Rustc should not need any special logic other than tell LLVM to run the hwaddress pass in kernel mode.
I've already opened a PR with an implementation: rust-lang/rust#153049
Process
The main points of the Major Change Process are as follows:
You can read more about Major Change Proposals on forge.
Proposal
Add a new sanitizer called
-Zsanitizer=kernel-hwaddressfor bare metal aarch64 targets. It should behave the same as the-fsanitize=kernel-hwaddresssanitizer in clang.The actual sanitizer is implemented as an LLVM pass. Rustc should not need any special logic other than tell LLVM to run the hwaddress pass in kernel mode.
I've already opened a PR with an implementation: rust-lang/rust#153049
Process
The main points of the Major Change Process are as follows:
@rustbot secondor kickoff a team FCP with@rfcbot fcp $RESOLUTION.You can read more about Major Change Proposals on forge.