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

Proof of SetHopField #361

Merged
merged 31 commits into from
Aug 16, 2024
Merged

Proof of SetHopField #361

merged 31 commits into from
Aug 16, 2024

Conversation

mlimbeck
Copy link
Collaborator

No description provided.

pkg/slayers/path/scion/info_hop_setter_lemmas.gobra Outdated Show resolved Hide resolved
pkg/slayers/path/scion/info_hop_setter_lemmas.gobra Outdated Show resolved Hide resolved
pkg/slayers/path/scion/raw.go Outdated Show resolved Hide resolved
pkg/slayers/path/scion/raw.go Outdated Show resolved Hide resolved
// @ ensures acc(s.Mem(ubuf), R20)
// @ ensures sl.Bytes(ubuf, 0, len(ubuf))
// @ ensures r != nil ==> r.ErrorMem()
// posts for IO:
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm starting to feel like these "posts for IO" annotations are a bit misleading, mostly because they are not about the IO behaviour, but instead about functional properties of the function. It just so happens that the correctness of the IO behaviour is predicated on the functional correctness of the packet processing. @Dspil would you be ok with us dropping these annotations, or do you think that it will still be useful for you to have the comments here?

pkg/slayers/path/hopfield.go Outdated Show resolved Hide resolved
pkg/slayers/path/hopfield.go Outdated Show resolved Hide resolved
pkg/slayers/path/scion/info_hop_setter_lemmas.gobra Outdated Show resolved Hide resolved
pkg/slayers/path/scion/info_hop_setter_lemmas.gobra Outdated Show resolved Hide resolved
pkg/slayers/path/scion/info_hop_setter_lemmas.gobra Outdated Show resolved Hide resolved
router/dataplane.go Outdated Show resolved Hide resolved
router/dataplane.go Outdated Show resolved Hide resolved
router/io-spec-lemmas.gobra Outdated Show resolved Hide resolved
router/io-spec-lemmas.gobra Outdated Show resolved Hide resolved
verification/io/io_spec_definitions.gobra Outdated Show resolved Hide resolved
@jcp19 jcp19 marked this pull request as ready for review June 28, 2024 13:36
@jcp19
Copy link
Contributor

jcp19 commented Jul 8, 2024

@mlimbeck can you disable moreJoins for SetHopField and update this branch to master? I would like to merge this soon

@jcp19
Copy link
Contributor

jcp19 commented Aug 16, 2024

To avoid this bit-rotting, I will now merge it. We can debug the perf. issues later

.github/workflows/gobra.yml Outdated Show resolved Hide resolved
pkg/slayers/path/scion/raw.go Outdated Show resolved Hide resolved
pkg/slayers/path/scion/raw.go Outdated Show resolved Hide resolved
.github/workflows/gobra.yml Outdated Show resolved Hide resolved
@jcp19 jcp19 merged commit 97c98ff into master Aug 16, 2024
4 checks passed
@jcp19 jcp19 deleted the markus-io-spec-setHopField-proof branch August 16, 2024 13:45
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