Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
replace 4 by its constant InfoLen
Browse files Browse the repository at this point in the history
  • Loading branch information
mlimbeck committed Nov 22, 2023
1 parent 24d19e1 commit e923c40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router/io-spec.gobra
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ pure func segment(raw []byte,
}

ghost
requires 4 + 8 * currINFIdx + 8 <= offset
requires infoFieldOffset(currINFIdx) + path.InfoLen <= offset
requires 0 < len(asid)
requires offset + path.HopLen * len(asid) <= len(raw)
requires 0 <= currHFIdx && currHFIdx <= len(asid)
Expand Down

0 comments on commit e923c40

Please sign in to comment.