Skip to content

Commit

Permalink
assertion in run
Browse files Browse the repository at this point in the history
  • Loading branch information
mlimbeck committed Dec 18, 2024
1 parent 2aebfb2 commit a6cd4e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions router/dataplane.go
Original file line number Diff line number Diff line change
Expand Up @@ -1032,6 +1032,8 @@ func (d *DataPlane) Run(ctx context.Context /*@, ghost place io.Place, ghost sta
// @ assert sl.Bytes(tmpBuf, 0, p.N)
// @ assert sl.Bytes(tmpBuf, 0, len(tmpBuf))
result, err /*@ , addrAliasesPkt, newAbsPkt @*/ := processor.processPkt(tmpBuf, srcAddr /*@, ioLock, ioSharedArg, dp @*/)
// @ assert forall i int :: { &msgs[i] } i0 < i && i < pkts ==>
// @ MsgToAbsVal(&msgs[i], ingressID) == ioValSeq[i]
// @ fold scmpErr.Mem()

switch {
Expand Down

0 comments on commit a6cd4e0

Please sign in to comment.