Skip to content

Adapt according to nilness-checking changes in Gobra - #431

Merged
jcp19 merged 6 commits into
masterfrom
strengthen-specs-nil
Sep 4, 2026
Merged

Adapt according to nilness-checking changes in Gobra#431
jcp19 merged 6 commits into
masterfrom
strengthen-specs-nil

Conversation

@jcp19

@jcp19 jcp19 commented Aug 9, 2026

Copy link
Copy Markdown
Collaborator

viperproject/gobra#531 and viperproject/gobra#1077 will change the way we check nilness of deref'd points. This PR adapts SCION accordingly by adding non-nilness conditions on various function inputs to make Gobra happy. All conditions added are semantically redundant, but the non-nilness info could only be obtained after unfolding predicates

Comment thread router/dataplane.go Outdated
@jcp19
jcp19 marked this pull request as ready for review September 4, 2026 19:33
Comment thread router/dataplane.go Outdated
Comment thread router/dataplane.go Outdated
Comment thread router/dataplane.go Outdated
Comment thread router/dataplane.go Outdated
Comment thread router/dataplane.go Outdated
Comment thread router/dataplane.go Outdated
Comment thread router/dataplane.go Outdated
Comment thread router/svc.go Outdated
Comment thread router/svc.go Outdated
@jcp19
jcp19 merged commit f9388bd into master Sep 4, 2026
5 checks passed
@jcp19
jcp19 deleted the strengthen-specs-nil branch September 4, 2026 21:36
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.

1 participant