Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Insert null checks for pointer dereferences when debug assertions are…
… enabled Similar to how the alignment is already checked, this adds a check for null pointer dereferences in debug mode. It is implemented similarly to the alignment check as a MirPass. This is related to a 2025H1 project goal for better UB checks in debug mode: rust-lang/rust-project-goals#177.
- Loading branch information