Repository navigation
Strnstr - #11
Closed
pavel-ivanov-rnd wants to merge 3 commits into
Closed
Strnstr#11pavel-ivanov-rnd wants to merge 3 commits into
pavel-ivanov-rnd wants to merge 3 commits into
Conversation
evdenis
force-pushed
the
master
branch
4 times, most recently
from
September 7, 2020 22:49
4541855 to
e5926d1
Compare
evdenis
force-pushed
the
master
branch
4 times, most recently
from
October 7, 2020 14:59
120a130 to
440fee7
Compare
evdenis
added a commit
that referenced
this pull request
Sep 18, 2026
Port the search contract and skipped-prefix invariant to stock WP. Cover empty needles, the first matching offset, and absence of a match without requiring the haystack to end in NUL. Keep memcmp's verified contract and the current WP session layout instead of restoring AstraVer artifacts. WP proves 112/112 goals with RTE under the documented unsigned-wraparound policy; all 26 smoke tests pass. The executable algorithm is unchanged. PR: #11
evdenis
added a commit
that referenced
this pull request
Sep 18, 2026
Keep the proved cursor invariants instead of the older broad loop frame. Move the named contract to the header and restrict writes to the suffix through the actual appended terminator. PR #11 is already integrated, so its inherited changes do not restore the old strnstr proof or session. WP proves 311/311 goals with RTE under the documented unsigned-wraparound policy; all 66 smoke tests pass. The executable algorithm is unchanged. PR: #12
evdenis
added a commit
that referenced
this pull request
Sep 18, 2026
Port the search contract and skipped-prefix invariant to stock WP. Cover empty needles, the first matching offset, and absence of a match without requiring the haystack to end in NUL. Keep memcmp's verified contract and the current WP session layout instead of restoring AstraVer artifacts. WP proves 112/112 goals with RTE under the documented unsigned-wraparound policy; all 26 smoke tests pass. The executable algorithm is unchanged. PR: #11
evdenis
added a commit
that referenced
this pull request
Sep 18, 2026
Keep the proved cursor invariants instead of the older broad loop frame. Move the named contract to the header and restrict writes to the suffix through the actual appended terminator. PR #11 is already integrated, so its inherited changes do not restore the old strnstr proof or session. WP proves 311/311 goals with RTE under the documented unsigned-wraparound policy; all 66 smoke tests pass. The executable algorithm is unchanged. PR: #12
evdenis
added a commit
that referenced
this pull request
Sep 18, 2026
Port the search contract and skipped-prefix invariant to stock WP. Cover empty needles, the first matching offset, and absence of a match without requiring the haystack to end in NUL. Keep memcmp's verified contract and the current WP session layout instead of restoring AstraVer artifacts. WP proves 112/112 goals with RTE under the documented unsigned-wraparound policy; all 26 smoke tests pass. The executable algorithm is unchanged. PR: #11
evdenis
added a commit
that referenced
this pull request
Sep 18, 2026
Keep the proved cursor invariants instead of the older broad loop frame. Move the named contract to the header and restrict writes to the suffix through the actual appended terminator. PR #11 is already integrated, so its inherited changes do not restore the old strnstr proof or session. WP proves 311/311 goals with RTE under the documented unsigned-wraparound policy; all 66 smoke tests pass. The executable algorithm is unchanged. PR: #12
Owner
|
Superseded by #19. |
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.
No description provided.