-
Notifications
You must be signed in to change notification settings - Fork 16
Soundness: CastPtr::borrow_mut #542
Copy link
Copy link
Open
Labels
model designModel or specification of system designModel or specification of system designverification bugUnsoundness, verification panics, or unsupported featuresUnsoundness, verification panics, or unsupported features
Description
Activity
Metadata
Metadata
Assignees
Labels
model designModel or specification of system designModel or specification of system designverification bugUnsoundness, verification panics, or unsupported featuresUnsoundness, verification panics, or unsupported features
The
borrow_mutmethod produces a mutable reference; however, we have no control overinner_permto keep it related to the mutable reference, so when it goes out of scope, there is no way to establishfinal(perm).wf(&final(perm).inner_perms).vostd/verified_libs/vstd_extra/src/cast_ptr.rs
Lines 200 to 218 in 1b22d82