Repository navigation
decbench v2: declib-free backends, multi-version, caching, datasets, … - #1
Merged
Merged
Conversation
…terminal report A major extensibility/re-runability pass plus the pending 26-target sailr expansion. Foundation-first (shared contracts), then four parallel agents on disjoint file sets (web / data / raw-decompilers / dockerized), then integrated. Decompilers - Raw, declib-free backends (decompilers/raw/): canonical angr/ghidra/ida/binja drive native APIs directly; declib backends kept as *-declib. Shared ELF/addr bookkeeping in raw/common.py. angr/ghidra/ida verified decompiling here. - Multiple versions per decompiler: name@version specs (decompilers/spec.py + registry); [email protected] vs [email protected] run as distinct columns. Per-version settings in ~/.config/decbench/decompilers.toml. - Dockerized backends (decompilers/dockerized.py): reko, retdec, r2dec (+ docker/*.Dockerfile). r2dec runs natively via radare2; the root Dockerfile now installs radare2 + the r2dec plugin so it works fully in-container. Caching & datasets - Content-addressed metric cache (caching.py): each metric keys on its determining inputs; re-seen (decompiled, source) pairs skip recompute. - Binary dataset store (dataset.py) + `decbench dataset save/list/materialize`: re-run the benchmark without recompiling (run --skip-compile). - Large-function subset (scoring/subset.py) + `decbench subset`: upper tail of the size bell curve, no binary copying. Report - rendering/html.py reskinned to a terminal aesthetic (mahaloz.re-inspired), preserving all interactivity, plus two new views (scoring/report_extras.py): Hardest Functions (worst scores + code) and Historical (pure-SVG line charts across decompiler versions). FunctionData schema v2 (size/hardest/history). Docs & plugins - docs/ADDING_A_DECOMPILER.md: the Decompiler plugin contract end to end. - scripts/run_small.py: fast multi-version end-to-end validation. Also lands the 26 sailr-eval targets (projects/sailr/*.toml) and resilient run drivers (scripts/) from the prior expansion. Tests: 93 passed, 2 skipped (+ caching/dataset/subset and dockerized-backend suites). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01RzUkv7A5mKLPFrJDn5BRPA
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…terminal report
A major extensibility/re-runability pass plus the pending 26-target sailr expansion. Foundation-first (shared contracts), then four parallel agents on disjoint file sets (web / data / raw-decompilers / dockerized), then integrated.
Decompilers
Caching & datasets
decbench dataset save/list/materialize: re-run the benchmark without recompiling (run --skip-compile).decbench subset: upper tail of the size bell curve, no binary copying.Report
Docs & plugins
Also lands the 26 sailr-eval targets (projects/sailr/*.toml) and resilient run drivers (scripts/) from the prior expansion. Tests: 93 passed, 2 skipped (+ caching/dataset/subset and dockerized-backend suites).
Claude-Session: https://claude.ai/code/session_01RzUkv7A5mKLPFrJDn5BRPA