Skip to content

Real-Hopper verifier for CFG successors and assembly output #343

Done

Description

@morluto

Run the real-Hopper verifier to prove real CFG successors and non-empty assembly output for source-built C fixtures.

Acceptance:

  • Basic blocks have real successor addresses.
  • Assembly output is non-empty and bounded.
  • Exact strings and comments are present.

Part of #54.

Activity

  1. added
    enhancement
    P0: critical
    on Jul 20, 2026
  2. added
    area: native
    on Oct 14, 2026
  3. added
    triage
    on Nov 5, 2026
  4. Diego-9612 commented on Nov 17, 2026

    @Diego-9612

    Real-Hopper result for this issue (macOS 26.6.2 arm64, Hopper 6.6.2-demo): with #11800 applied, npm run verify:hopper passes on current main. rea_branch in tests/conformance/c/fixture.c reports branchBlocks 5, checked with require_cfg_successor. Assembly is required to be non-empty for entry, branch and leaf, and the exact fixture strings and the comment readback are verified.

    Without #11800 the verifier fails earlier on main, at compare_functions with a resource_constraint error and then at a stale document-name assertion. Remaining gap: the demo Hopper build, not a licensed one.

  5. added
    area: tests
    provider: hopper
    area: bridge
    and removed on Nov 23, 2026
  6. morluto commented on Nov 24, 2026

    @morluto
    OwnerAuthor

    Closing as implemented: scripts/lib/real-hopper-semantic.mjs (verifyRealHopperFixture) and scripts/lib/real-hopper-assertions.mjs (requireFunctionDossierOracle with require_cfg_successor: true and require_assembly: true) run against the source-built C fixture in npm run verify:hopper, proving non-empty basic_blocks with real successors addresses, non-empty bounded assembly, and exact strings and comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0: criticalarea: bridgearea: nativearea: testsenhancementprovider: hoppertriage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions