-
Notifications
You must be signed in to change notification settings - Fork 32
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
Contracts and Harnesses for <*mut T>::add
, sub
and offset
#113
Conversation
Added unit type proofs for mut ptr
implemented integer type proof for contract for fn add, sub and offset
Verify/ptr mut composite
Combines macros for different types.
…allocation api, modified their proof for harness accordingly
Verify/ptr mut refactor harness
@zhassan-aws Hi the proofs have been updated to use pointer generator, however after the update we encountered a strange test failure, probably a bug: the test case
All other proofs generated by the same macro work fine. Is there any possible cause for this problem? For now, we have to skip this test case by commenting it out. Update: The const counterpart |
@celinval encountered the same issue in #37 (comment). @celinval were you able to figure out what is causing the error and whether there's a workaround? |
Yes, the problem is that the pointer generator code is likely using the API you are trying to verify. For the harness that is failing, you won't be able to use the generator as is today. Sorry! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
Towards #76
Changes
<*mut T>::add
,<*mut T>::sub
and<*mut T>::offset
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.