-
Notifications
You must be signed in to change notification settings - Fork 58
Add a few intrinsics contracts #37
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
Conversation
c6f96e3 to
ee88552
Compare
- This is not working due to a Kani limitation
The intrinsics `copy` and `copy_nonoverlapping` are untyped copies, so they don't respect the validity requirements of `T`.
|
is this waiting for something? |
|
Yes, I need to update the branch and tests. |
# Conflicts: # library/core/src/intrinsics.rs
15086ea to
b2eaef8
Compare
b2eaef8 to
87dc890
Compare
6827756 to
a38c161
Compare
|
FYI, this is blocked until we merge the PointerGenerator into Kani: model-checking/kani#3538 |
d41e5c1 to
18b61ff
Compare
fbc8c69 to
24495a4
Compare
fa9511d to
5738b90
Compare
|
Just an update. I haven't been able to figure out yet why the which doesn't make sense to me. The harness structure is exactly the same as |
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, thank you!
I have seen the very same problem on #120, and I haven't yet managed to understand why. |
Before merning, would you mind adding to the PR description also what actually does work? |
|
@tautschnig can you please see my answer to your comments? Is it OK if I move ahead and merge these changes? |
|
I need to solve the new conflicts. After that, I'll merge this PR |
Since intrinsics file has been deleted, we will have to reapply the patch. Conflicts: - library/core/src/intrinsics.rs
72877b8 to
7415c26
Compare
Co-authored-by: Michael Tautschnig <[email protected]>
|
I updated this PR to account to the fact that the @tautschnig can you please take a look and see if this is good to go? |
Here are a few limitations:
write_byteswas disabled due to:vec!with a size of zero kani#90.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.