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
VeriFast can’t correctly handle named fractions (dummy fractions don’t trigger this error) of char arrays that are part of a struct.
The following code:
structstrc {
charchrs[3];//interestingly 1 does not trigger the error
};
voiderror(structstrc*x)
//@ requires [?f]chars(x->chrs, 3, _);// it seems that the length (3 here) must be greater than or equal to// the length of the array in the struct to trigger the error.//@ ensures true;
{
free(x);
}
causes VeriFast to crash (exception with Redux prover and seg-fault with z3).
The text was updated successfully, but these errors were encountered:
VeriFast can’t correctly handle named fractions (dummy fractions don’t trigger this error) of char arrays that are part of a struct.
The following code:
causes VeriFast to crash (exception with Redux prover and seg-fault with z3).
The text was updated successfully, but these errors were encountered: