-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accessing struct in struct produces internal error #20
Comments
You should mention each leaf field separately. This works: struct xARP_HEADER
{
int usHardwareType;
};
struct xARP_PACKET
{
struct xARP_HEADER xARPHeader;
};
void main( struct xARP_PACKET * pxARPFrame )
//@ requires pxARPFrame->xARPHeader.usHardwareType |-> _;
//@ ensures true;
{} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following code give the error: "Verification failed due to an internal error. See the console window for details."
Entry in console:
When
struct xARP_HEADER xARPHeader;
is changed tostruct xARP_HEADER * xARPHeader;
the verification goes through.Tested with Verifast 15.11
The text was updated successfully, but these errors were encountered: