-
Notifications
You must be signed in to change notification settings - Fork 28
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
Harnesses verifying slice types for add, sub and offset #179
base: main
Are you sure you want to change the base?
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
Use as_mut_ptr
@feliperodri FYI |
@tautschnig @feliperodri conflict resolved. |
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.
It seems there are still some conflicts. Could you check if the conflicts were successfully solved?
// Constant for array size used in all tests, for performance reason | ||
const ARRAY_SIZE: usize = 5; |
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.
Isn't 5 too low? How is the verification performance numbers?
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.
Explained in another PR's comment that 5 is enough for this case.
This performance
statement is outdated, and has been removed by newest commit.
Towards #76
Changes
Contracts Added:
Proofs Implemented:
Macro Definitions:
Array-Based Implementation for Slice Verification:
This should be merged after another PR for dependency issues.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.