-
Notifications
You must be signed in to change notification settings - Fork 29
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
Contracts and harnesses for dangling
, from_raw_parts
, slice_from_raw_parts
, to_raw_parts
in NonNull
#127
Contracts and harnesses for dangling
, from_raw_parts
, slice_from_raw_parts
, to_raw_parts
in NonNull
#127
Conversation
…/danielhumanmod/verify-rust-std into olivia/pointer_creation_and_init
@zhassan-aws I just starting to get compiler errors when I run kani on this branch:
I just pulled the latest kani changes and re-built it but the error persists. Latest kani git log:
@danielhumanmode also reproduced this error on his local environment and found that Kani compiled the code successfully on commit 13e6695(before the latest merge from main). |
@QinyuanWu Is there a reason why you're running on Kani's main branch instead of the features/verify-rust-std branch? If not, please try running Kani from the features/verify-rust-std branch instead. |
@carolynzech This resolved the compiler errors in PR #105 but not this one ;-;
|
Did you merge the latest commits (including at least 6aa2661)? |
If you have the up-to-date changes, these should be the contents of $ cat tool_config/kani-version.toml
# This version should be updated whenever there is a change that makes this version of kani
# incompatible with the verify-std repo.
[kani]
commit = "26c078e097025499baf6e360210a21989d3605e0" |
@zhassan-aws Thank you the compiler issue is resolved after running the script and executing kani from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost there. Can you also resolve the conflict?
@zhassan-aws Resolved comments and conflicts:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please re-resolve the conflicts, and I'll merge it.
@zhassan-aws Resolved conflicts. Thank you so much!
|
Towards #53
Contracts and harnesses for
dangling
,from_raw_parts
,slice_from_raw_parts
,to_raw_parts
in NonNullDiscussion
NonNull::slice_from_raw_parts
: requested new Kani API to compare byte by byteNonNull::to_raw_parts
: unstable vtable comparison 'Eq'Verification Result
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.