Skip to content

Improve TAC fidelity and clean decompiler evaluation - #135

Open
agorevski wants to merge 5 commits into
mainfrom
copilot/decompiler-methodology-e91ee36
Open

agorevski wants to merge 5 commits into
mainfrom
copilot/decompiler-methodology-e91ee36

Conversation

@agorevski

Copy link
Copy Markdown
Owner

Summary

  • Align training export with inference per-function TAC; harden selector provenance, split/gate integrity and metric labels.
  • Restore compiler source-mapped opcode reachability in parameterized functions using bounded stack-context CFG traversal.
  • Add compiler-based TAC and full-contract runtime identity control benchmarks.

Measured evidence

  • Source-mapped TAC witness coverage: 18/36 to 36/36 across six solc 0.8.20 behavior families (structural coverage only).
  • In a bounded 2,000-source exact-token audit, usable unique-body rows: 409 to 758; 8k overlength rejects: 618 to 276. Generated datasets/tokenizer are local and not committed.
  • Runtime controls: 61/121 checked, with 30 exact equals and 31 exact unequals; 60 context-limited cases correctly unchecked. Exact byte identity is not behavioral equivalence.

Integration and limits

  • No trained-model quality gain is claimed; model weights and clean full-run baselines are absent here. The remaining 26.7% long-input tail needs work.
  • Main advanced concurrently and git merge-tree reports conflicts in core files. This PR must be reviewed and reconciled before merging; do not force-push main.

agorevski and others added 5 commits September 24, 2026 14:14
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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