-
Notifications
You must be signed in to change notification settings - Fork 82
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
Verifying D programs #788
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I am working on a project to verify D programs and I am using Smack.
I created a template for loop invariants in D and I wanted to use Smack with it. The following is an example:
The code with the for loop worked fine with Smack.
I want to replace the commented for loop with my template.
This construction worked in D with D assert at runtime, however when I try it with Smack and __VERIFIER_assert the assert is always false.
Regarding this problem, I tried an easier example:
Looking at the Boogie code I found out that the index variable outside the lambda call and the index variable inside the lambda function are in different memories locations.
In D, at runtime, the index from the lambda function can be inferred as the one from outside it. I was wondering if this inference can be added into Smack?
Thank you
The text was updated successfully, but these errors were encountered: