arXiv:2610.28212cs.SEOct 2026

Manuscript Offprint

arXiv:2610.28212

ExeBench-FHD: Addressing Fidelity Issues in Decompiler Evaluation

Akarsh Ashok, Dinil Mon Divakaran, Vivek Balachandran

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

ExeBench is one of the most widely used benchmarks for evaluating LLM-based decompilers. We analyze ExeBench and identify nine issues that affect how faithfully a test measures a decompiler. Three of them prevent LLM decompilers from recovering C code from ExeBench's function. These are ambiguous parameter order when integer and floating-point types are mixed, unused parameters that optimized assembly may drop, and constants stored outside the function's assembly code. Six more affect test validity: non-void functions without a return, placeholder types, static or inline functions removed by the optimizer, functions named main, trivial bodies and truncated definitions. We present ExeBench-FHD, a backward-compatible revision of ExeBench that adds 16 new fields: call-site assembly, data sections, test wrappers, linked-binary disassembly and five warning flags. In ExeBench, 38.9% of functions have at least one of the five flags; dropping records with any of the four warning flags (all except unused_param, which marks functions that the new wrappers make evaluable) keeps 63.9% of the corpus. In an evaluation at -02 on four architectures, the new fields raise GPT 6 Sol's re-execution rate by up to 26.5%, 19.1% and 21.0% on functions that read data sections, mix parameter types and have unused parameters, respectively.

1 Introduction

Binary decompilation is the process of recovering source code from a compiled binary, and it is a core step in reverse engineering. Compilation is a lossy process. Information that helps humans understand code, such as variable names, data types, comments and macro definitions, is transformed or removed; the higher the level of binary optimization, the harder the binary is to understand. Commercial and open-source decompilers such as IDA Pro (Hex-Rays SA, 2024) and Ghidra (National Security Agency, 2019) use algorithms and heuristics to recover source code from the binary, but their output still deviates from the original source code.

Large Language Models (LLMs) have recently grown popular not only for coding but also for decompilation. Researchers have proposed approaches that use LLMs in decompilation pipelines (Wang et al., 2026; Jiang et al., 2025; Armengol-Estapé et al., 2024; Tan et al., 2024). However, only a few datasets contain both source code and the corresponding assembly. These include AnghaBench (da Silva et al., 2021), ExeBench (Armengol-Estapé et al., 2022), HumanEval-Decompile (Tan et al., 2024), and, most recently, DecompileBench (Gao et al., 2025) and Decompile-Bench (Tan et al., 2025).

Among these, ExeBench is one of the most widely used for training and testing. It contains 6.56M C functions from GitHub and AnghaBench, split into ten training, validation and test sets (Table 1), and most are stand-alone compilable. Each function comes with assembly for x86 and ARM and with input-output (IO) examples. ExeBench also provides a script for evaluating decompilers on its test splits: the decompiled function is recompiled, linked into a test wrapper that feeds it each example input, and checked against the corresponding expected output.

To utilize this test to fairly measure a decompiler, the input should contain what the function needs to be re-created, namely the function's signature (parameter order and count) and any constants it reads. The wrapper calls the function with its original signature, but ExeBench's assembly of the compiled function may not retain the parameter order, unused parameters and constant values. This is a problem with the evaluation, not with the decompiler.

A decompiler can translate the assembly correctly and still fail the test. Functions often require information that a binary in practice has, but the assembly in the dataset does not: real-world binaries also contain callers and data sections, whereas

ExeBench provides only the function’s own body. Consequently, a test failure on ExeBench does not (necessarily) indicate a decompiler made a mistake. We call these fidelity issues affecting evaluations.

We identify nine fidelity issues (Table 2). In three of them, the function’s assembly in ExeBench lacks information that in practice a binary provides: mixed integer and floating-point parameters (P1, 1.5% of the corpus but 11.5% of test_real), unused parameters that the optimizer may remove (P2, 7.6% of the corpus) and constants stored in data sections (P3, 16.2% at -02). Two make the test oracle unreliable: non-void functions without a return (P4, 1.7%) and placeholder types (P5, 9.3%). Three prevent a usable source–assembly pair: static or inline functions, which the optimizer may remove at higher optimization levels (P6, 36.3%); functions named main, which fail to link with the driver main (P7, 6.3%); and truncated definitions, which fail to compile (P9, 0.6%). Finally, trivial bodies (P8, 27.8%) are easy to decompile and raise average scores.

To address these issues, we introduce ExeBench-FHD 1^{1}, a backward-compatible revision of ExeBench that adds 16 new fields and modifies none of the existing ones. The new fields supply the parts of the binary that the function's assembly leaves out alongside the assembly (Section 3): data sections for constants (P3), call-site assembly (the assembly code of a function call) for parameter order (P1), and test wrappers that accept either all parameters or only the used ones (P2). They also provide disassembly regenerated from the linked binary and five warning flags for the remaining issues. Each field that depends on compilation has a diagnostic field recording why it is empty. Because no inherited field changes, existing ExeBench pipelines keep working and can adopt the new fields one at a time (Section 4).

This work makes three contributions:

  1. An analysis of ExeBench. We analyse all ExeBench functions with automated checks and identify nine fidelity issues. In three of them, the function's assembly in ExeBench lacks information that a real-world binary provides (parameter order, unused parameters and constants), which can affect downstream uses such as LLM-based decompilation (Section 3).

  2. ExeBench-FHD. We release a backward-compatible revision of ExeBench with 16 new fields that supply the missing context (data sections, call-site assembly, either-form test wrappers), regenerated disassembly and five warning flags (Sections A and 4).

  3. An evaluation study. On test split of ExeBench across four architectures (x86, x86-64, ARM32, ARM64), the new fields improve GPT 6 Sol's re-execution rate by up to 26.5%, 19.1% and 21.0% on functions that read data sections, mix parameter types and have unused parameters, respectively (Section 6).

References (29)