Repository navigation
Cstr verify safety contracts of unsafe functions strlen, from_bytes_with_nul_unchecked - #193
Merged
carolynzech merged 39 commits intoDec 12, 2024
Merged
Conversation
… . And stub for strlen + better documentation
rajathkotyal
marked this pull request as draft
November 28, 2024 09:54
rajathkotyal
commented
Nov 28, 2024
rajathkotyal
commented
Dec 1, 2024
rajathkotyal
commented
Dec 1, 2024
rajathkotyal
commented
Dec 2, 2024
rajathkotyal
marked this pull request as ready for review
December 3, 2024 02:30
celinval
reviewed
Dec 3, 2024
celinval
reviewed
Dec 3, 2024
tautschnig
approved these changes
Dec 3, 2024
|
@Yenyun035 can you fix the failing Rust tests and then we'll take a look if there's still issues? |
|
@carolynzech Sure. I annotated |
carolynzech
reviewed
Dec 10, 2024
github-merge-queue Bot
pushed a commit
that referenced
this pull request
Dec 11, 2024
Towards #150 Similar PR Ref : #193 Annotates and verifies the safety contracts for the unsafe function : `from_ptr` - `core::ffi::c_str` By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses. --------- Co-authored-by: Yenyun035 <[email protected]> Co-authored-by: Yenyun035 <[email protected]>
Member
|
@rajathkotyal Can I please ask you to resolve conflicts that arose with #204 now merged? |
|
@tautschnig Fixed. Thank you. |
tautschnig
approved these changes
Dec 11, 2024
tautschnig
enabled auto-merge
December 11, 2024 21:10
tautschnig
disabled auto-merge
December 11, 2024 21:11
carolynzech
enabled auto-merge
December 11, 2024 21:50
Author
|
Thanks @Yenyun035 ! |
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.
Towards #150
Annotates and verifies the safety contracts for the following unsafe functions:
from_bytes_with_nul_unchekedcore::ffi::c_strstrlencore::ffi::c_strBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.