-
Notifications
You must be signed in to change notification settings - Fork 31
Problem due to initialisation of statically defined variables #198
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
Comments
I think I finally have a working solution for the allocation of memory (might not be optimal yet, but at least I think it is correct). For
The first case is the usual way of creating variables from The second method is only used when boogie assigned a fixed address to a variable. Here we use the information provided by smack via the The third case is when we get information from (*) For the time being, I don't see an easy way of getting rid of some of these "extra" addresses. If the program does not load addresses via |
The issue with arrays is only a problem if the array contains structs. If it does not, you can use the allocation size as well as the count to infer the offsets via |
Our analysis returns
PASS
for this program while it should clearly returnFAIL
since the use of different mutexes does not guarantee mutual exclusion.The text was updated successfully, but these errors were encountered: