Repository navigation
Benchmark fairness overhaul + interactive report - #3
Merged
Merged
Conversation
Decompiler-facing fairness: - Decompilers now get a fully STRIPPED binary (no DWARF, no symbols); evaluation uses the unstripped DWARF copy. The source-function filter matches by DWARF low_pc (address) and results are re-labeled by address->name, so decompilers get no unwarranted help (esp. type_match no longer echoing DWARF types). (scripts/run_benchmark.py, decompilers/raw/common.py, scripts/decompile_one.py) - byte_match v2: gcc-diagnostic-driven compilability fixup + operand normalization; abstains when the recompile toolchain is absent (ARM/PE on x86). (metrics/fixup.py, metrics/byte_match.py) - GED: strip inlined system headers from preprocessed .i before Joern (it was timing out on header bloat, not failing), and match each binary against the UNION of the project's source CFGs. (utils/cfg.py, pipeline/evaluate.py) Decompilers: - binja emits pseudo-C (was raw HLIL); angr Phoenix structurer backend. Report (rendering/html.py, scoring/*): - swebench-style sortable leaderboard, Metrics, side-by-side Compare, Hardest, Historical, sidebar dataset selector. - One denominator per decompiler (= functions decompiled) via per-(function, decompiler) decompiled/errored tracking -> Errors column; "normalize failures" toggle; decompiler version on hover. - New Dataset page: software-type categories, projects, total LOC, and Joern source/output parse-failure pipeline health. (scripts/compute_dataset_info.py) Targets / infra: - cps debug builds (betaflight/chibios/cleanflight); slim cross/mingw Dockerfile.compile; resilient drivers: reeval_bytematch, reeval_ged, rebuild_function_data (--add-only/--ged), overnight_run + finalize/rerender. - Tests: byte_match fixup, report extras, source extract. 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.
Decompiler-facing fairness:
Decompilers:
Report (rendering/html.py, scoring/*):
Targets / infra:
Claude-Session: https://claude.ai/code/session_01RzUkv7A5mKLPFrJDn5BRPA