forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 54
Proofs for Vec::swap_remove
, Option::as_slice
, and VecDeque::swap
#212
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
Merged
Merged
Changes from all commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
9a8993d
added common codes for all proof of contracts
xsxszab 55950bb
implemented integer type proof for contract for fn add, sub and offset
xsxszab ce13e8f
Merge branch 'main' into verify/ptr_mut
stogaru 3682858
Adds proofs for tuple types
stogaru a6d4d62
Renames harnesses
stogaru dec8c30
Added unit type proofs for mut ptr
MayureshJoshi25 2be7639
Merge pull request #8 from stogaru/verify/ptr_mut_unit_types
stogaru 75179dc
Merge branch 'verify/ptr_mut' into verify/ptr_mut_integer_types
xsxszab 34c670e
Merge pull request #6 from stogaru/verify/ptr_mut_integer_types
xsxszab 66c956e
Merge branch 'verify/ptr_mut' into verify/ptr_mut_composite
stogaru d9b8c65
Merge pull request #7 from stogaru/verify/ptr_mut_composite
stogaru 0faac46
Combined macros
stogaru 82345de
Fixes a typo
stogaru 656209b
Removes an unnecessary attribute
stogaru 46e839c
Merge pull request #9 from stogaru/verify/ptr_mut_combined
stogaru 96a8a2e
refactored function contracts for add, sub and offset using the same_…
xsxszab 852e96f
merged macros for add, sub and offset
xsxszab 04bd61e
updated function contracts and proof for contracts for add(), sub() a…
xsxszab 7557fc5
added support for unit type pointers
xsxszab 76b2311
updated function contracts, removed unnecessary kani::assmue
xsxszab cb6a177
added comments to function contracts
xsxszab 6385d4a
Merge pull request #12 from stogaru/verify/ptr_mut_refactor_harness
xsxszab a079a7a
added comments for magic numbers
xsxszab 214f84d
Merge branch 'main' into verify/ptr_mut
stogaru 51ded41
updated proofs using pointer generator
xsxszab fb6215e
fixed typos in comments
xsxszab f229fd9
rustfmt formatting
xsxszab 20fffa3
reverse unnecessary rustfmt formatting
xsxszab b9054a8
temporary disabled check_mut_add_u8 test
xsxszab b528b0e
Clarified preconditions with additional notes
xsxszab 9b90b23
added tracking issue info for the pointer generator bug
xsxszab b3b0620
Merge branch 'main' into verify/ptr_mut
tautschnig 6dc7db5
Proof for VecDeque swap
stogaru 46648ac
Corrects a bug in the proof.
stogaru afe1b16
Add proof for String:remove
szlee118 80b3f91
Use any_array at creation
szlee118 6e97438
align mut_ptr with usage_proofs branch
szlee118 f581759
Copied file from usage_proofs to verify/string_remove
szlee118 5de632a
Merge branch 'usage_proofs' into verify/string_remove
szlee118 081474e
Fix of any_where usage, hardcode constant
szlee118 9563408
Add a newline at the end of the file
stogaru 51e903d
Add extra assertion and remove redundant assume
szlee118 8ec384e
Add description
szlee118 ee06313
Remove redundant white line
szlee118 160d9d7
Added proof for vec::swap_remove
MayureshJoshi25 5082a92
Update mod.rs
stogaru f552676
Merge pull request #22 from stogaru/verify/string_remove
stogaru 41c3927
Merge pull request #24 from stogaru/verify/vecdeque_swap
stogaru b42123d
Merge pull request #25 from stogaru/verify/vec_swap_remove_usage_v2
stogaru 1851037
Adds a proof for Option::as_slice
stogaru b9d950c
Merge branch 'main' into usage_proofs
stogaru e784b5e
Updates challenge 3
stogaru e9ca2e8
Merge branch 'main' into usage_proofs
stogaru 67d4965
Merge branch 'main' into usage_proofs
stogaru 7089335
Merge branch 'main' into usage_proofs
szlee118 cab796a
Update library/alloc/src/string.rs
szlee118 6fc9d20
Merge branch 'main' into usage_proofs
szlee118 33ae4f4
Removes a comment
stogaru 0c36fee
Symbolic checking for remaining elements
stogaru 3405ee3
Update check_remove harness with description and change array size
szlee118 a07478d
Merge branch 'usage_proofs' of https://github.com/stogaru/verify-rust…
szlee118 c334c96
Merge branch 'main' into usage_proofs
szlee118 ed1e26e
Removes String remove harness
stogaru 991a76b
Merge branch 'main' into usage_proofs
stogaru File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.