README: document Windows MSVC (Detours, WinSparkle) & The Powder Toy integration
Browse files
README.md
CHANGED
|
@@ -2,55 +2,62 @@
|
|
| 2 |
license: bsd-2-clause
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
-
pretty_name: DecBench C++ Dataset Unofficial
|
| 6 |
tags:
|
| 7 |
- decompilation
|
| 8 |
- benchmark
|
| 9 |
- c++
|
| 10 |
- dwarf
|
|
|
|
| 11 |
- reverse-engineering
|
| 12 |
size_categories:
|
| 13 |
- 1K<n<10K
|
| 14 |
---
|
| 15 |
|
| 16 |
-
# DecBench C++ Dataset Unofficial
|
| 17 |
|
| 18 |
> **Unofficial.** This is a community-contributed workspace prepared to help the
|
| 19 |
> [DecBench](https://huggingface.co/datasets/noelo-lab/decbench-dataset) maintainers
|
| 20 |
-
> evaluate C++ targets. It is **not** an official Noelo-Lab dataset
|
| 21 |
-
>
|
| 22 |
-
>
|
| 23 |
-
>
|
| 24 |
-
> (`O0`, `O2`, `O2-noinline`)
|
| 25 |
|
| 26 |
- **Related PR:** [Noelo-Lab/decbench#91](https://github.com/Noelo-Lab/decbench/pull/91) —
|
| 27 |
C++ function identity (`name@0x<low_pc>`) fix.
|
| 28 |
- **Source repository:** <https://github.com/sjkim1127/Decbench_SampleSet>
|
| 29 |
- **Upstream dataset:** <https://huggingface.co/datasets/noelo-lab/decbench-dataset>
|
| 30 |
-
- **License:** BSD-2-Clause, matching the upstream DecBench dataset. Third-party
|
| 31 |
-
|
|
|
|
| 32 |
|
| 33 |
## Contents
|
| 34 |
|
| 35 |
| Path | What it holds |
|
| 36 |
|---|---|
|
| 37 |
-
| `cpp-compiled/` | **
|
|
|
|
| 38 |
| `results/cpp-corpus-2026-09-16/` | Corpus-scale funnel report and the 48-target shortlist (`final-48.csv`) |
|
| 39 |
-
| `
|
| 40 |
-
| `
|
| 41 |
-
| `scripts/` | Discovery, build-probe, multi-opt compilation, and staging scripts |
|
| 42 |
-
| `docs/` | Local validation notes and result template |
|
| 43 |
|
| 44 |
---
|
| 45 |
|
| 46 |
-
##
|
| 47 |
|
| 48 |
-
- **
|
|
|
|
|
|
|
| 49 |
- **Optimization Levels:**
|
| 50 |
-
- `O0`: `
|
| 51 |
-
- `O2`: `
|
| 52 |
-
- `O2-noinline`: `
|
| 53 |
-
- **
|
| 54 |
-
- **
|
| 55 |
-
-
|
| 56 |
-
- **
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
license: bsd-2-clause
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
+
pretty_name: DecBench C++ Dataset Unofficial (Cross-Platform)
|
| 6 |
tags:
|
| 7 |
- decompilation
|
| 8 |
- benchmark
|
| 9 |
- c++
|
| 10 |
- dwarf
|
| 11 |
+
- pdb
|
| 12 |
- reverse-engineering
|
| 13 |
size_categories:
|
| 14 |
- 1K<n<10K
|
| 15 |
---
|
| 16 |
|
| 17 |
+
# DecBench C++ Dataset Unofficial (Cross-Platform)
|
| 18 |
|
| 19 |
> **Unofficial.** This is a community-contributed workspace prepared to help the
|
| 20 |
> [DecBench](https://huggingface.co/datasets/noelo-lab/decbench-dataset) maintainers
|
| 21 |
+
> evaluate multi-language and cross-platform C++ targets. It is **not** an official Noelo-Lab dataset.
|
| 22 |
+
> It holds target qualification evidence, candidate lists, the scripts that produced them, and a
|
| 23 |
+
> **cross-platform C++ benchmark corpus** under `cpp-compiled/` containing **1,086+ binaries/debug artifacts
|
| 24 |
+
> across 43 projects** spanning both **Linux (GCC / DWARF)** and **Windows (native MSVC / CodeView PDB)**
|
| 25 |
+
> across 3 optimization levels (`O0`, `O2`, `O2-noinline`).
|
| 26 |
|
| 27 |
- **Related PR:** [Noelo-Lab/decbench#91](https://github.com/Noelo-Lab/decbench/pull/91) —
|
| 28 |
C++ function identity (`name@0x<low_pc>`) fix.
|
| 29 |
- **Source repository:** <https://github.com/sjkim1127/Decbench_SampleSet>
|
| 30 |
- **Upstream dataset:** <https://huggingface.co/datasets/noelo-lab/decbench-dataset>
|
| 31 |
+
- **License:** BSD-2-Clause, matching the upstream DecBench dataset. Third-party projects keep their respective licenses.
|
| 32 |
+
|
| 33 |
+
---
|
| 34 |
|
| 35 |
## Contents
|
| 36 |
|
| 37 |
| Path | What it holds |
|
| 38 |
|---|---|
|
| 39 |
+
| `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) |
|
| 40 |
+
| `docs/curated-sample-set.md` | **Curated Sample-Set Specification:** Balanced ~8–10 project subset across software domains and OSes (Linux + Windows) |
|
| 41 |
| `results/cpp-corpus-2026-09-16/` | Corpus-scale funnel report and the 48-target shortlist (`final-48.csv`) |
|
| 42 |
+
| `targets/` | Target definitions (TOML) including `targets/windows/` |
|
| 43 |
+
| `scripts/` | Build-probe, multi-opt compilation, and native MSVC qualification scripts |
|
|
|
|
|
|
|
| 44 |
|
| 45 |
---
|
| 46 |
|
| 47 |
+
## Platform & Domain Coverage (`cpp-compiled/`)
|
| 48 |
|
| 49 |
+
- **Platforms:**
|
| 50 |
+
- **Linux aarch64:** Built with GCC/G++ 13.3.0 (`-g -fno-builtin -save-temps=obj`). Unstripped ELF with full DWARF.
|
| 51 |
+
- **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.
|
| 52 |
- **Optimization Levels:**
|
| 53 |
+
- `O0`: Unoptimized (`/Od /Ob0` or `-O0`)
|
| 54 |
+
- `O2`: Full optimization (`/O2` or `-O2`)
|
| 55 |
+
- `O2-noinline`: Inlining disabled (`/O2 /Ob0` or `-O2 -fno-inline`)
|
| 56 |
+
- **Key Real-World Domain Representative Projects:**
|
| 57 |
+
- **GUI / Physics Simulation:** **The Powder Toy** (C++20, SDL2 rendering, particle simulation, strict *No-AI PR* policy guaranteeing pure human-authored code).
|
| 58 |
+
- **Low-Level / System Hooking:** **Microsoft Detours** (Win32 machine-code hooking, instruction disasm).
|
| 59 |
+
- **Network / Updater:** **WinSparkle** (Win32 worker thread pools, asynchronous HTTP).
|
| 60 |
+
- **System Storage & Compression:** **Google Snappy**, **leveldb**, **mergerfs**.
|
| 61 |
+
- **CLI / Developer Tool:** **Ninja** (DAG dependency graph evaluation), **wabt**.
|
| 62 |
+
- **Server / Async Networking:** **Asio**, **Oat++**, **libzmq**.
|
| 63 |
+
- **Modern C++ Metaprogramming:** **fmt**, **Catch2**, **Microsoft GSL**.
|