Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use modalities in solving for lowned permissions #1655

Merged
merged 3 commits into from
May 4, 2022

Conversation

eddywestbrook
Copy link
Contributor

This PR changes the solveForPermListImpl function used for figuring out what permissions currently held on a variable x need to be added to prove an implication of lifetime ownership permissions. Specifically, this change incorporates the read/write and lifetime modalities into the MbRangeForType type, meaning that solveForPermListImpl now takes these modalities into account when solving for these permissions. This PR also removes the MbRangeForStructType constructor, since after thinking about it some that doesn't really make sense...

@eddywestbrook eddywestbrook added the subsystem: heapster Issues specifically related to memory verification using Heapster label May 3, 2022
@ChrisEPhifer ChrisEPhifer added the PR: ready to merge Magic flag for pull requests to ask Mergify to merge given an approval and a successful CI run label May 4, 2022
@mergify mergify bot merged commit 7bef2d9 into master May 4, 2022
@mergify mergify bot deleted the heapster/lowned-solve-modalities branch May 4, 2022 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: ready to merge Magic flag for pull requests to ask Mergify to merge given an approval and a successful CI run subsystem: heapster Issues specifically related to memory verification using Heapster
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants