Skip to content

Contract report: a stored parameter is reported with the place it was stored in (#3175) - #3432

Merged
ehartford merged 3 commits into
mainfrom
report-store-place
Nov 18, 2026
Merged

ehartford merged 3 commits into
mainfrom
report-store-place

Conversation

@ehartford

Copy link
Copy Markdown
Contributor

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 deflateSetDictionary swaps strm->next_in and puts it back). The report now names the place as the source spells it: retains param 1 (stored in a field, strm->next_in).

  • The proofs file (contract-proofs.txt), which stated contracts are held against, keeps the kind of store alone.
  • The coverage survey groups by the kind of store, with the place folded away.
  • New drafter test 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.

Eric Hartford 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant