Skip to content

Prove correctness of layout len utilities with kani#402

Merged
joshlf merged 1 commit intomainfrom
kani-layout-utils
Sep 26, 2023
Merged

Prove correctness of layout len utilities with kani#402
joshlf merged 1 commit intomainfrom
kani-layout-utils

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!!

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
@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.

2 participants