Skip to content

rust: a non-forwarding helper hop abstains even when the related oracle is too weak to discriminate (missed gap) #7549

Closed

Description

@EffortlessSteven

Shape: a wrapper reaches the changed owner only inside a macro. For example, fn banner() -> String { format!("[{}]", title()) }, where title() changes its return value. The only related test asserts something the change cannot affect, such as assert_eq!(banner().len(), 6).

Observed (main 29fa4ce): propagation_unknown, reason helper_result_not_forwarded. The #6780 rule in classifier/evidence.rs (about lines 268–307) abstains for any helper hop that does not forward the result, whatever the oracle's strength.

Expected: a gap (weakly_exposed). A mutant such as "ripR" keeps the same length, so no test can detect it, and the static read should say the oracle cannot discriminate. Abstaining here is the safe direction, but it hides a real gap.

Found while rebuilding #6614 for #6792. That PR applies an exact-pin requirement only to the new macro-argument hops. It deliberately leaves the #6780 call-hop rule alone, because changing it would move other corpus rows.

Goal it hurts: trustworthy verdicts. A gap the oracle can't see should still surface.

Owner: analyzer (helper_transfer and the evidence propagation gate).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions