forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 51
Contracts & Harnesses for non_null::sub
and non_null::sub_ptr
and non_null::offset_from
#93
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
zhassan-aws
merged 37 commits into
model-checking:main
from
danielhumanmod:jimmy_develop
Nov 27, 2024
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
410afd2
added contract and proof for new_unchecked
83e7dea
add use safety
ceb381d
verification result
9f96cf5
make harness function name unique
QinyuanWu de1088c
add new_unchcked result and remove the old one
QinyuanWu 5a4eaae
contract and harness for new
QinyuanWu 5b94831
remove outdated kani log
QinyuanWu acf7687
complete the sub function proof
Jimmycreative 456f83b
complete the sub ptr function and add random initial address for sub …
Jimmycreative ad15078
delete the log file for debugging
Jimmycreative bd5cd92
Merge branch 'model-checking:main' into jimmy_develop
Jimmycreative c25a12b
randomize the initial address for the pointer
Jimmycreative 0a4ba99
Merge branch 'jimmy_develop' of github.com:danielhumanmod/verify-rust…
Jimmycreative 17b4261
formatting & renaming for clarity
QinyuanWu 6c00787
remove kani in contract to be tool agonistic
QinyuanWu b596967
working on the offset_from
Jimmycreative 086c538
fix the merge coflict
Jimmycreative 306dc73
fix the error
Jimmycreative 31c3891
recover commented code
Jimmycreative 11d6b2e
Remove .gitignore from version control
Jimmycreative 201bb8e
Modify .gitignore to remove unnecessary line
Jimmycreative cbda879
keep gitignore consistent
Jimmycreative 6e25173
fix some issue
Jimmycreative 6a7bd8e
the SIZE should also be equal
Jimmycreative 22ffb95
update
Jimmycreative 6d4dbd4
fix the merge conflict
Jimmycreative d9b8199
use the same allocation to remove the assume in the contract
Jimmycreative d0a2480
modify the proof based on the suggestions
Jimmycreative 023aca9
fix the proof based on the comments
Jimmycreative 2697529
refine the code based on the suggestions
Jimmycreative ebfa640
refine the code based on the suggestions
Jimmycreative fc14b3b
remove the old comment
Jimmycreative 1cfab67
fix the merge conflict
Jimmycreative 2c5a795
Merge branch 'jimmy_develop' of github.com:danielhumanmod/verify-rust…
Jimmycreative 557508e
refine the code based on the suggestions
Jimmycreative b820f74
fix the verification fail for sub_ptr
Jimmycreative 1415903
fix the merge conflict
Jimmycreative 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
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.