atlas

Research map / Large language models / Agents, code and math

Decompile-Bench: Million-Scale Binary-Source Function Pairs for Real-World Binary Decompilation

NeurIPS 2025 · Large language models › Agents, code and math · approach: Software engineering agents · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces Decompile-Bench, a two-million-pair binary-source function dataset from permissively licensed C/C++ GitHub projects, plus a leakage-resistant evaluation suite, and shows fine-tuning LLM4Decompile on 10% of it improves re-executability by about 20%.

Problem

Public large-scale real-world binary-source function pairs are lacking for training and evaluating LLM-based decompilers, since DWARF-based mapping is incomplete under optimization and inlining and prior benchmarks are contest-style, synthetic, or fragment-level.

Approach

A Compile-Trace-Filter pipeline that forks Clang to force -O0-3 and -g builds, maps each binary function to its complete source function by intersecting DWARF line segments with Tree-sitter-parsed function bodies, and then applies project-scope, in-binary and cross-binary (MinHash-LSH) deduplication filters.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Fine-tune LLM4Decompile-End-1.3b on Decompile-BenchLLM4Decompile-End-1.3b · HumanEvalRe-Executability (AVG): 16.22 -> 20.89Helped
Fine-tune LLM4Decompile-End-1.3b on Decompile-BenchLLM4Decompile-End-1.3b · MBPPRe-Executability (AVG): 20.54 -> 24.93Helped
Train on ExeBench (ablation)LLM4Decompile-End · HumanEval and MBPPRe-Executability (AVG): 16.22 -> 16.78; 20.54 -> 20.20No clear effect
Train on unfiltered Decompile-Bench-raw (ablation)LLM4Decompile-End · HumanEval and MBPPRe-Executability (AVG): 16.22 -> 15.86; 20.54 -> 18.17Hurt
Train on filtered Decompile-Bench (ablation)LLM4Decompile-End · HumanEval and MBPPRe-Executability (AVG): 16.22 -> 20.89; 20.54 -> 24.93Helped
Train on ExeBench (ablation)LLM4Decompile-End · HumanEval, MBPP, and GitHub2025R2I (AVG): 54.57 -> 54.40; 55.75 -> 56.11; 48.71 -> 47.97Mixed
Train on unfiltered Decompile-Bench-raw (ablation)LLM4Decompile-End · HumanEval, MBPP, and GitHub2025R2I (AVG): 54.57 -> 55.33; 55.75 -> 56.83; 48.71 -> 66.10Helped
Train on filtered Decompile-Bench (ablation)LLM4Decompile-End · HumanEval, MBPP, and GitHub2025R2I (AVG): 54.57 -> 60.36; 55.75 -> 61.81; 48.71 -> 70.89Helped
Train on ExeBench (ablation)LLM4Decompile-End · HumanEval, MBPP, and GitHub2025Edit Similarity (AVG): 38.34 -> 37.10; 40.41 -> 40.69; 21.57 -> 21.24Mixed
Train on unfiltered Decompile-Bench-raw (ablation)LLM4Decompile-End · HumanEval, MBPP, and GitHub2025Edit Similarity (AVG): 38.34 -> 39.82; 40.41 -> 42.08; 21.57 -> 29.01Helped
Train on filtered Decompile-Bench (ablation)LLM4Decompile-End · HumanEval, MBPP, and GitHub2025Edit Similarity (AVG): 38.34 -> 46.22; 40.41 -> 49.28; 21.57 -> 29.51Helped
Train a binary-source embedding model on 10% of Decompile-BenchBinary-source embedding model · GitHub2025Recall@1: 27.0Helped

Surprising findings

Limitations

Experimental setup

Datasets: Decompile-Bench ExeBench HumanEval MBPP ProRec

Benchmarks: Decompile-Bench-Eval (HumanEval-C/C++, MBPP-C/C++, GitHub2025) ProRec

Metrics: re-executability R2I edit similarity CodeSage embedding similarity CodeBLEU GPT-judge score recall@1

Baselines: IDA GPT-4.1-mini Claude-Sonnet-4-reasoning Idioms-1.3b LLM4Decompile-End-1.3b Ghidra

Builds on: LLM4Decompile Idioms ExeBench Tree-sitter LLaMA-Factory

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy