You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CONTRACTS: allow is_fresh to fail in assume contexts
Restores sound behaviour for is_fresh in assumption contexts.
Flip a coin to decide if the predicate must hold or not.
If it must hold, enforce its post conditions by allocating a
fresh object, otherwise, leave state undefined.
This behaviour was present in the initial version of the
predicate but was mistakenly erased when refatoring was
made to add malloc failure modes due to size overflow,
and we did not have a test covering that behaviour.
0 commit comments