-
Notifications
You must be signed in to change notification settings - Fork 41
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 & Harnesses for swap
, replace
, and drop_in_place
#144
Contracts & Harnesses for swap
, replace
, and drop_in_place
#144
Conversation
@danielhumanmod Once you finish addressing Zyad's comments, can you mark them as resolved so we know to review this again? |
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.
Thank you
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
Thanks for the approval @zhassan-aws , given that all checks have been passed, do you mind helping me to start the merge process? |
trigger approval workflow |
Description
This PR introduces function contracts and proof harness for the NonNull pointer in the Rust core library. Specifically, it verifies three new APIs—
swap
,replace
, anddrop_in_place
with Kani. These changes enhance the functionality of memory operations for NonNull pointers.Change Overview
Covered APIs:
Towards #53
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.