-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
- introduce ghost field in
*SCIONfor when some package is manually created vs when it is obtained from decoding from bytes- verify fns that come from the go packet layer interfaces for both cases,
- DecodeFromBytes should set the
manuallyBuiltflag tofalseand should have a postcondition expressing that.
- DecodeFromBytes should set the
- identify functions which are called only for one value of 'manuallyCreated' and add it as precondition/simplify the specs of these functions (e.g.,
SetSrcAddr,GetAddr) - Add public getter for this field to use in spec
- verify fns that come from the go packet layer interfaces for both cases,
- simplify
*SCION.Mem()by removing duplicated expressions with lets - remove the instance of
HeaderMemfromMem(), fold it when needed and remove fractional permissions from the body, pass fractional permission to HeaderMem instead- this will allow us to write
acc(s)instead of explicit access to all fields
- this will allow us to write