-
Notifications
You must be signed in to change notification settings - Fork 74
Add -Zsanitizer=kernel-hwaddress #975
Copy link
Copy link
Closed
Labels
T-compilerAdd this label so rfcbot knows to poll the compiler teamAdd this label so rfcbot knows to poll the compiler teammajor-changeA proposal to make a major change to rustcA proposal to make a major change to rustcmajor-change-acceptedA major change proposal that was acceptedA major change proposal that was accepted
Metadata
Metadata
Assignees
Labels
T-compilerAdd this label so rfcbot knows to poll the compiler teamAdd this label so rfcbot knows to poll the compiler teammajor-changeA proposal to make a major change to rustcA proposal to make a major change to rustcmajor-change-acceptedA major change proposal that was acceptedA major change proposal that was accepted
Type
Fields
Give feedbackNo fields configured for issues without a type.
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.