Repository navigation
Description
Qualification workspace
All target definitions, qualification scripts, reports, and artifact-backed evidence are available here:
Candidate targets
GCC / DWARF
- Snappy 1.2.2
- double-conversion v3.3.1
- Ninja v1.13.1
These were qualified through the pinned DecBench GCC build path on x86_64 for:
- O0
- O2
- O2-noinline
The qualification checks include successful builds, expected linked images, preserved preprocessed translation units, DWARF availability, optimization/LTO auditing, and project-source function identity diagnostics.
Native Windows / MSVC / PDB
- Microsoft Detours v4.0.1
- Microsoft DirectXTex may2026
- WinSparkle v0.9.4
These were built using native MSVC on GitHub-hosted Windows runners for the same three optimization modes.
For the Windows targets I also checked:
- x86_64 PE output
- matching native PDB / CodeView information
- project-owned compiland provenance
S_COMPILE3records- absence of selected LTCG compilands
- project-owned procedure extraction
For WinSparkle in particular, project ownership is resolved using PDB module/file provenance so that third-party wxWidgets objects are excluded even when they share an object-file basename with project code.
C++ function identity
One thing that became apparent during qualification is that the C++ function-identity issue mentioned in #46 is significant in real targets.
Using the current DecBench-aligned project-source DW_AT_name model, the GCC targets showed the following collision exposure:
| Target | O0 | O2 | O2-noinline |
|---|---|---|---|
| Snappy | 52.87% | 53.16% | 51.97% |
| double-conversion | 7.87% | 15.58% | 8.06% |
| Ninja | 26.70% | 32.38% | 27.55% |
I also recorded raw PDB procedure-name collision diagnostics for the MSVC targets, but I am keeping those explicitly separate because I do not think they should be treated as numerically equivalent to the DWARF DW_AT_name metric.
Scope
This work is intended as target/oracle qualification, not as a claim that these targets have already gone through a complete end-to-end DecBench run for GED, type matching, byte matching, and every decompiler.
The qualification workspace contains the exact source revisions, build adapters, qualification scripts, reports, and compact machine-readable evidence for all six targets:
Related issues:
- Support C++ #46 — C++ support / metrics
- Add more MSVC Windows binaries #45 — additional Windows/MSVC targets
- MSVC/PDB: full metric integration for Windows targets #37 — MSVC/PDB benchmark integration
If any of these look suitable for the multi-language corpus, I would be happy to adapt the target definitions or qualification work to whatever format is most useful for DecBench.
Activity
sjkim1127 commentedon Sep 16, 2026
Small update on this work:
I expanded the original six-target qualification into a larger automated C++ corpus search.
The current funnel is:
.ii.iireplay/source-oracle follow-up is still neededThe full results are now in the qualification workspace:
https://github.com/sjkim1127/Decbench_SampleSet/tree/main/results/cpp-corpus-2026-09-16
Ranked shortlist:
https://github.com/sjkim1127/Decbench_SampleSet/blob/main/results/cpp-corpus-2026-09-16/final-48.csv
One correction was important during this process: the first generic probe could accidentally count CMake compiler/ABI test binaries such as
CompilerIdartifacts as project outputs. I reran the qualification with those toolchain-generated artifacts excluded.So the 44 Tier A results now specifically require a real project-linked ELF with DWARF plus non-toolchain preprocessed
.iioutput.The original six targets in this issue are still useful as the more deeply inspected reference set because they have controlled O0/O2/O2-noinline evidence. The larger 48-target pool is intended as a candidate set for selecting a more diverse C++ benchmark corpus.
The next thing I plan to look at is function identity across the Tier A set, especially:
DW_AT_linkage_namecoverageThis should help narrow the larger pool into a smaller balanced set suitable for actual DecBench C++ evaluation.