Challenge 25: Verify safety of VecDeque#564
Open
Samuelsills wants to merge 1 commit intomodel-checking:mainfrom
Open
Challenge 25: Verify safety of VecDeque#564Samuelsills wants to merge 1 commit intomodel-checking:mainfrom
Samuelsills wants to merge 1 commit intomodel-checking:mainfrom
Conversation
40ae507 to
10224fd
Compare
Verify all 43 functions listed in the challenge specification. 44 Kani proof harnesses, 0 failures. Resolves model-checking#286 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.
10224fd to
2a16efd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Verify all 43 functions listed in Challenge 25. 44 Kani proof harnesses, 0 failures.
Part A (13 unsafe functions): Safety contracts and proof_for_contract harnesses for buffer_read, buffer_write, buffer_range, push_unchecked, copy, copy_nonoverlapping, copy_slice, wrap_copy, write_iter, write_iter_wrapping, handle_capacity_increase, from_contiguous_raw_parts_in, abort_shrink.
Part B (30 safe abstractions): Proof harnesses for get, get_mut, swap, reserve, try_reserve, shrink_to, truncate, as_slices, as_mut_slices, range, range_mut, drain, pop_front, pop_back, push_front, push_back, insert, remove, split_off, append, retain_mut, grow, resize_with, make_contiguous, rotate_left, rotate_right, and others.
All harnesses exercise returned values to ensure full unsafe path coverage.
Resolves #286
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.