[anneal] Check MIR unit theorem reachability and canary guard coverage

Open
#3,951 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
57/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
rust

Research direction

Read the imported MIR crate-scope change and auditor referenced in the issue, then inspect the mechanical root set and the dependency guard tests. Check whether the public Trusted.UnitTheorem alias belongs in the expected roots, and add weakened-claim tests for every required crate canary and D11–D13 correspondence guard. The work is done when each missing reference fails with its expected diagnostic.

Written by the indexing model from the issue text.

Description

The imported MIR crate-scope change adds the top-level
Trusted.UnitTheorem abbreviation. The auditor names
Trusted.MirSemantics.UnitTheorem, the underlying predicate. Check
the abbreviation against the mechanical root set and either include
the public alias in the expected roots or remove it.

Add negative tests for the corresponding dependency guards. Exercise
each required crate canary reference and each D11–D13 correspondence
guard with a weakened test claim. Verify that each case fails with
the diagnostic for the missing reference. The imported auditor
already has the guards, and the follow-up covers regression tests.

Root review · Crate canary review · Correspondence canary review

Authored by an AI agent acting on joshlf's behalf.

Dominant language
Rust
Stars
2.6k
Forks
194
Avg merge
18h 15m
Merged PRs (30d)
14

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from google/zerocopy

All issues in google/zerocopy

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.