Repository navigation
Contract report: a stored parameter is reported with the place it was stored in (#3175) - #3432
Merged
Merged
Conversation
added 3 commits
November 18, 2026 07:48
…he place it was stored in, as the source spells it ('stored in a field, `strm->next_in`'), so a reader can tell a registration from a scratch slot the function sets and restores (#3175)
…the place. The two harness expectations of the report text follow (#3175)
…port now names folded away; four stray blank lines go (#3175)
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.
Part of #3175 (does not close it).
A parameter the proof sees stored was reported as 'stored in a field' or 'stored in a global' with no place, so a reader could not tell a registration from a scratch slot the function sets for its own call and restores (zlib's
deflateSetDictionaryswapsstrm->next_inand puts it back). The report now names the place as the source spells it:retains param 1 (stored in a field,strm->next_in).contract-proofs.txt), which stated contracts are held against, keeps the kind of store alone.conan_facade_store_place_report_test.w; the two harness expectations of the report text follow.No verdict changes: what is presented safely and what is raw is the same.
Battery green on the branch tip.