Skip to content

analyze audit:all green over the pinned in-place facade resource (#1600, #1613) - #1706

Merged
ehartford merged 1 commit into
mainfrom
audit-1600
Sep 26, 2026
Merged

ehartford merged 1 commit into
mainfrom
audit-1600

Conversation

@ehartford

Copy link
Copy Markdown
Contributor

Two audit reds over correct programs: a post-finalization __receiver__ specialization with no receiver requirement, and a marshalling-coverage walk over MIR bodies Codegen never defined (the inline Box drop glue). Violations now name the function. Pinned in deep-debug-tool-tests. No ownership/drop change; draft until the battery is posted.

…post-finalization specializations get their receiver requirement; never-defined bodies need no marshalling proof; violations name the function (#1600, #1613)

- A `__receiver__` specialization created after finalize_receiver_requirements
  ran (a Box.drop the drop glue asks for) had required=0 against its declared
  param[0] effect; check_fn_body_concrete now sets it from the same rule.
- audit_codegen_call_coverage walked MIR bodies Codegen never defined — the
  Box drop is inline glue (mir_emit_box_drop_place), so the specialization's
  LLVM function stays a declaration and its `with_free` call had no
  marshalling fact. Only a defined function's calls must prove marshalling.
- The receiver-requirement violation names the function and both values
  instead of a bare signature index (the message that made this hunt long).

Pinned in deep-debug-tool-tests: both in-place fixtures audit:all green.
@ehartford

Copy link
Copy Markdown
Contributor Author

Seed-driven battery at 95a4d5e (seed nightly-20260925-local-1, WITH=src/main), this host:

95a4d5eb audit1600 /Users/eric/.local/with-staging/audit1600
audit1600 build  rc=0
audit1600 build :fixpoint rc=0
audit1600 build :test rc=0
audit1600 build :test-green rc=0
audit1600 build :last-green rc=0
audit1600 build :user-programs-safe rc=0
BATTERY_DONE

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