Skip to content
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

Added <dyn Trait> Proof for Contracts for byte_add, byte_sub, and byte_offset #188

Merged
merged 33 commits into from
Dec 9, 2024

Conversation

xsxszab
Copy link

@xsxszab xsxszab commented Nov 27, 2024

Towards #76

This pull request impelments proof for contracts for byte_add, byte_sub and byte_offset for <dyn Trait>. Both const and mut versions are included.

It serves as an addition to an existing PR but is submitted separately to avoid disrupting the ongoing review process for that PR.

@xsxszab xsxszab marked this pull request as ready for review November 27, 2024 08:07
@xsxszab xsxszab requested a review from a team as a code owner November 27, 2024 08:07
@feliperodri feliperodri self-assigned this Nov 27, 2024
@tautschnig
Copy link
Member

@xsxszab Please resolve conflicts.

library/core/src/ptr/const_ptr.rs Outdated Show resolved Hide resolved
library/core/src/ptr/const_ptr.rs Outdated Show resolved Hide resolved
library/core/src/ptr/const_ptr.rs Outdated Show resolved Hide resolved
library/core/src/ptr/const_ptr.rs Outdated Show resolved Hide resolved
library/core/src/ptr/mut_ptr.rs Outdated Show resolved Hide resolved
library/core/src/ptr/mut_ptr.rs Outdated Show resolved Hide resolved
library/core/src/ptr/mut_ptr.rs Outdated Show resolved Hide resolved
library/core/src/ptr/mut_ptr.rs Outdated Show resolved Hide resolved
@xsxszab xsxszab marked this pull request as draft November 29, 2024 05:29
Copy link

@feliperodri feliperodri left a comment

Choose a reason for hiding this comment

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

Some clean up is required before merging it.

library/core/src/ptr/const_ptr.rs Outdated Show resolved Hide resolved
library/core/src/ptr/const_ptr.rs Outdated Show resolved Hide resolved
library/core/src/ptr/const_ptr.rs Outdated Show resolved Hide resolved
library/core/src/ptr/mut_ptr.rs Outdated Show resolved Hide resolved
library/core/src/ptr/mut_ptr.rs Outdated Show resolved Hide resolved
library/core/src/ptr/mut_ptr.rs Outdated Show resolved Hide resolved
@xsxszab xsxszab marked this pull request as ready for review December 6, 2024 01:07
@xsxszab
Copy link
Author

xsxszab commented Dec 6, 2024

Please Note that PR #168 mistakenly removed mut proofs for unit, integer and composite types for add, sub and offset. The changes have been reverted as part of this PR during merging.

@feliperodri feliperodri enabled auto-merge (squash) December 6, 2024 05:24
Copy link

@feliperodri feliperodri left a comment

Choose a reason for hiding this comment

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

trigger review

auto-merge was automatically disabled December 9, 2024 17:41

Head branch was pushed to by a user without write access

Copy link

@feliperodri feliperodri left a comment

Choose a reason for hiding this comment

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

LGTM.

@feliperodri feliperodri enabled auto-merge (squash) December 9, 2024 18:51
@feliperodri feliperodri merged commit 6077459 into model-checking:main Dec 9, 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.

5 participants