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: https://github.com/rust-lang/rust-project-goals/pull/177. |
||
|---|---|---|
| .. | ||
| mir | ||
| abi.rs | ||
| compiler_interface.rs | ||
| crate_def.rs | ||
| error.rs | ||
| lib.rs | ||
| mir.rs | ||
| target.rs | ||
| ty.rs | ||
| visitor.rs | ||