Skip to content

Contract and Harnesses for <*const T>::offset_from #154

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

Merged
merged 19 commits into from
Nov 22, 2024

Conversation

stogaru
Copy link

@stogaru stogaru commented Nov 7, 2024

Towards #76

Changes

  • Adds contracts for <*const T>::offset_from.
  • Adds harnesses for the function verifying:
    • All integer types
    • Tuples (composite types)
    • Unit Type
  • Accomplishes this using a macro.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

@stogaru stogaru requested a review from a team as a code owner November 7, 2024 02:09
@stogaru stogaru changed the title Verify/ptr const offset from Contract and Harnesses for <*const T>::offset_from Nov 7, 2024
Copy link

@celinval celinval left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@carolynzech carolynzech enabled auto-merge (squash) November 22, 2024 18:33
@carolynzech carolynzech disabled auto-merge November 22, 2024 18:33
@feliperodri feliperodri merged commit 4c86400 into model-checking:main Nov 22, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants