-
Notifications
You must be signed in to change notification settings - Fork 273
array index off by one #926
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
found by @reuk in |
There seems to be a problem with the
where local variable 1 corresponds to The |
So this seems to be a slightly more complex problem. In short, on the stack are values of local variables or fields. When the local variable or field is changes, the value of the stack must not change at the same time. The current implementation of |
cf. #931 |
This will be addressed by #951. |
#951 has been merged several months ago. |
This program is verified by CBMC
as
but
java -ea incr
correctly failsthe problem is that the array access index in the GOTO program is incremented before the access is done
The text was updated successfully, but these errors were encountered: