generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 134
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
Milestone
Description
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:
- Warn users that this class of UB is outside the current scope of RMC.
Path to soundness:
- Add a check for this, likely based off the “stacked borrows” work.
Documentation:
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