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

Prove correctness of layout len utilities with kani #402

Merged
merged 1 commit into from Sep 26, 2023
Merged

Conversation

jswrenn
Copy link
Collaborator

@jswrenn jswrenn commented Sep 19, 2023

Uses kani to prove that round_down_to_next_multiple_of_alignment and padding_needed_for are equivalent to straightforward model implementations.

Copy link
Member

@joshlf joshlf left a comment

Choose a reason for hiding this comment

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

Sweet!!

src/util.rs Outdated Show resolved Hide resolved
src/util.rs Outdated Show resolved Hide resolved
src/util.rs Outdated Show resolved Hide resolved
proves that `round_down_to_next_multiple_of_alignment` and
`padding_needed_for` are equivalent to model implementations.
@joshlf joshlf merged commit 9041ec1 into main Sep 26, 2023
151 checks passed
@joshlf joshlf deleted the kani-layout-utils branch September 26, 2023 16:15
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.

None yet

2 participants