sjkim1127's picture
docs: clarify role as raw archive and link to curated unofficial dataset
f1b7e84 verified
|
Raw History Blame Contribute Delete
3.78 kB
---
license: bsd-2-clause
language:
- en
pretty_name: DecBench C++ Dataset Unofficial (Cross-Platform)
tags:
- decompilation
- benchmark
- c++
- dwarf
- pdb
- reverse-engineering
size_categories:
- 1K<n<10K
---
# DecBench C++ Raw Corpus Archive
> [!NOTE]
> This is the **full raw compiled corpus archive** (1,086+ binaries / 8.5 GB).
> For the curated, balanced, tri-platform (Linux/Windows/macOS) benchmark evaluation suite,
> please see **[sjkim1127/decbench-cpp-dataset-unofficial](https://huggingface.co/datasets/sjkim1127/decbench-cpp-dataset-unofficial)**.
> **Unofficial.** This is a community-contributed workspace prepared to help the
> [DecBench](https://huggingface.co/datasets/noelo-lab/decbench-dataset) maintainers
> evaluate multi-language and cross-platform C++ targets. It is **not** an official Noelo-Lab dataset.
> It holds target qualification evidence, candidate lists, the scripts that produced them, and a
> **cross-platform C++ benchmark corpus** under `cpp-compiled/` containing **1,086+ binaries/debug artifacts
> across 43 projects** spanning both **Linux (GCC / DWARF)** and **Windows (native MSVC / CodeView PDB)**
> across 3 optimization levels (`O0`, `O2`, `O2-noinline`).
- **Related PR:** [Noelo-Lab/decbench#91](https://github.com/Noelo-Lab/decbench/pull/91) —
C++ function identity (`name@0x<low_pc>`) fix.
- **Source repository:** <https://github.com/sjkim1127/Decbench_SampleSet>
- **Upstream dataset:** <https://huggingface.co/datasets/noelo-lab/decbench-dataset>
- **License:** BSD-2-Clause, matching the upstream DecBench dataset. Third-party projects keep their respective licenses.
---
## Contents
| Path | What it holds |
|---|---|
| `cpp-compiled/` | **Cross-Platform C++ Benchmark Corpus:**<br>• `binaries/<opt>/<project>/` (Linux ELF+DWARF and Windows x64 PE+PDB)<br>• `sources/<project>_sources.tar.gz` (Preprocessed `.ii`/source units)<br>• `manifest.json` (Platform breakdown, SHA256 checksums, byte sizes)<br>• `build_summary.json` (Compilation details & pinned upstream git revisions) |
| `docs/curated-sample-set.md` | **Curated Sample-Set Specification:** Balanced ~8–10 project subset across software domains and OSes (Linux + Windows) |
| `results/cpp-corpus-2026-09-16/` | Corpus-scale funnel report and the 48-target shortlist (`final-48.csv`) |
| `targets/` | Target definitions (TOML) including `targets/windows/` |
| `scripts/` | Build-probe, multi-opt compilation, and native MSVC qualification scripts |
---
## Platform & Domain Coverage (`cpp-compiled/`)
- **Platforms:**
- **Linux aarch64:** Built with GCC/G++ 13.3.0 (`-g -fno-builtin -save-temps=obj`). Unstripped ELF with full DWARF.
- **Windows x64:** Built with native Visual Studio 2022 MSVC (`cl.exe /Zi /GL-` + `link.exe /DEBUG:FULL /LTCG:OFF`). Windows PE32+ DLLs and EXEs with full matching `.pdb` CodeView symbols.
- **Optimization Levels:**
- `O0`: Unoptimized (`/Od /Ob0` or `-O0`)
- `O2`: Full optimization (`/O2` or `-O2`)
- `O2-noinline`: Inlining disabled (`/O2 /Ob0` or `-O2 -fno-inline`)
- **Key Real-World Domain Representative Projects:**
- **GUI / Physics Simulation:** **The Powder Toy** (C++20, SDL2 rendering, particle simulation, strict *No-AI PR* policy guaranteeing pure human-authored code).
- **Low-Level / System Hooking:** **Microsoft Detours** (Win32 machine-code hooking, instruction disasm).
- **Network / Updater:** **WinSparkle** (Win32 worker thread pools, asynchronous HTTP).
- **System Storage & Compression:** **Google Snappy**, **leveldb**, **mergerfs**.
- **CLI / Developer Tool:** **Ninja** (DAG dependency graph evaluation), **wabt**.
- **Server / Async Networking:** **Asio**, **Oat++**, **libzmq**.
- **Modern C++ Metaprogramming:** **fmt**, **Catch2**, **Microsoft GSL**.