-
Notifications
You must be signed in to change notification settings - Fork 144
Object aliasing violations are not detected #314
Copy link
Copy link
Open
Labels
[C] Feature / EnhancementA new feature request or enhancement to an existing feature.A new feature request or enhancement to an existing feature.[E] Unsupported UBUndefined behavior that Kani does not detectUndefined behavior that Kani does not detect[F] SoundnessKani failed to detect an issueKani failed to detect an issue
Milestone
Metadata
Metadata
Assignees
Labels
[C] Feature / EnhancementA new feature request or enhancement to an existing feature.A new feature request or enhancement to an existing feature.[E] Unsupported UBUndefined behavior that Kani does not detectUndefined behavior that Kani does not detect[F] SoundnessKani failed to detect an issueKani failed to detect an issue
Rust requires that the borrow checker rules be enforced at all times, including in unsafe code. We do not currently have any checks for this in RMC.
Likelihood:
If code contains this bug, RMC will not detect it. We have manually found at least one possible instance of this case in Firecracker. We do not have any data as to how often this occurs in practice.
Mitigation:
Path to soundness:
Documentation:
https://plv.mpi-sws.org/Rustbelt/stacked-borrows/