-
Is there a way for Kani to check whether two pointers are pointing to the same object, similar to |
Beta Was this translation helpful? Give feedback.
Answered by
celinval
Oct 31, 2024
Replies: 1 comment 6 replies
-
A |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The main problem with this example is that an zero sized type (ZST) object is not allocated. That's why you are getting this error. Your contract has to account to that, i.e.:, check if the type is not a ZST first.