Skip to content

Contracts & Harnesses for write_volatile - #167

Merged
zhassan-aws merged 11 commits into
model-checking:mainfrom
danielhumanmod:jimmy/write_bytes
Dec 3, 2024
Merged

zhassan-aws merged 11 commits into
model-checking:mainfrom
danielhumanmod:jimmy/write_bytes

Conversation

@Jimmycreative

@Jimmycreative Jimmycreative commented Nov 15, 2024 •

Copy link
Copy Markdown

Hi

Towards #53

I have completed the write_volatile api. Any suggestion? Thanks

SUMMARY:
 ** 0 of 160 failed (1 unreachable)

VERIFICATION:- SUCCESSFUL
Verification Time: 51.912766s

Complete - 1 successfully verified harnesses, 0 failures, 1 total.

@Jimmycreative
Jimmycreative requested a review from a team as a code owner November 15, 2024 23:04
Comment thread library/core/src/ptr/non_null.rs Resolved
Comment thread library/core/src/ptr/non_null.rs Resolved
Comment thread library/core/src/ptr/non_null.rs Resolved
Comment thread library/core/src/ptr/non_null.rs Resolved
Comment thread library/core/src/ptr/non_null.rs Resolved
@zhassan-aws zhassan-aws self-assigned this Nov 15, 2024

@zhassan-aws zhassan-aws left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thanks. Can we add harnesses for other types, e.g. u8, u16, etc? You can use a macro to generate harnesses for integer types.

Can we also add a harness for a zero-sized type, e.g. ()?

Comment thread library/core/src/ptr/non_null.rs Resolved

@zhassan-aws zhassan-aws left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thanks!

@zhassan-aws

Copy link
Copy Markdown

Can you resolve the conflicts?

@Jimmycreative

Copy link
Copy Markdown
Author

Complete resolving the conflict

@zhassan-aws
zhassan-aws enabled auto-merge (squash) December 2, 2024 23:34
@zhassan-aws
zhassan-aws merged commit db71987 into model-checking:main Dec 3, 2024
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.

3 participants