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

Stabilize path/scion #370

Merged
merged 8 commits into from
Aug 27, 2024
Merged

Stabilize path/scion #370

merged 8 commits into from
Aug 27, 2024

Conversation

jcp19
Copy link
Contributor

@jcp19 jcp19 commented Jul 23, 2024

No description provided.

@mlimbeck mlimbeck marked this pull request as ready for review August 22, 2024 22:46
Copy link
Contributor Author

@jcp19 jcp19 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not yet clear that this PR solves the stability issues, but I'm keen on merging it because it simplifies some proofs. Nonetheless, there are a few things we should do to ensure the code is maintainable in the long run. Please see my comments

Comment on lines +692 to +693
reveal s.absPkt(ubuf)
reveal CurrSeg(ubuf, offset, currInfIdx, hfIdxSeg, segLen, MetaLen)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am increasingly concerned with these calls with reveal; in particular, I think they are hard to maintain because it is not clear which property we depend upon here. In the future, we should opt for explicit calls to lemmas that establish properties of the functions, rather than over-approximating it with a call to a revealed function

pkg/slayers/path/scion/raw_spec.gobra Show resolved Hide resolved
pkg/slayers/path/scion/raw_spec.gobra Outdated Show resolved Hide resolved
pkg/slayers/path/scion/raw_spec.gobra Outdated Show resolved Hide resolved
Copy link
Contributor Author

@jcp19 jcp19 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comments, after which this is ready to merge

pkg/slayers/path/scion/raw_spec.gobra Outdated Show resolved Hide resolved
pkg/slayers/path/scion/raw_spec.gobra Outdated Show resolved Hide resolved
pkg/slayers/path/scion/raw_spec.gobra Outdated Show resolved Hide resolved
pkg/slayers/path/scion/raw_spec.gobra Outdated Show resolved Hide resolved
@jcp19 jcp19 changed the title test different trigger to stabilize path/scion Stabilize path/scion Aug 27, 2024
@jcp19 jcp19 merged commit 445bbad into master Aug 27, 2024
4 checks passed
@jcp19 jcp19 deleted the try-diff-trigger-scion-path branch August 27, 2024 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants