arXiv:2610.37871cs.SEOct 2026

Manuscript Offprint

arXiv:2610.37871

ICALL-BENCH: Benchmarking LLM Interprocedural Reasoning in Binary Programs

Shenglong Yao, Zirui Liu, Xiangchi Yuan, Wenke Lee

ABSTRACT

Recent benchmarks show that large language models (LLMs) achieve strong performance in both function-level binary understanding and end-to-end binary reverse engineering tasks, but whether LLMs can reason over interprocedural semantics in compiled binaries remains unclear. Function-level benchmarks offer limited visibility into cross-function relationships, while whole-program benchmarks typically evaluate final outcomes of tasks that may be solvable from local clues alone, making it difficult to disentangle interprocedural reasoning from exploration, tool use, execution, and retrieval. To address this limitation, we introduce ICALL-BENCH, a benchmark that directly evaluates whether LLMs and agents can understand and reason over interprocedural semantics in binary programs, using indirect-call target recovery as a measurable probe. ICALL-BENCH covers 50 complete real-world C/C++ programs spanning different complexity levels and multiple optimization configurations, with an average of 74,746 lines of code and 941 functions per program, enabling analysis of reasoning at whole-program scale and under diverse binary representations. We further introduce three analysis regimes spanning model-only reasoning, static tool-augmented agents, and Internet-enabled open-world agents to examine how intrinsic reasoning, active information acquisition, and external knowledge each contribute to interprocedural binary analysis. We evaluate five recent LLMs and their corresponding agents. Our results reveal a wide separation across current models and agents, with program-level verifiable success rates ranging from 23% to 81%. They also show that greater information access does not consistently lead to better results, with particularly limited gains on the hardest cases, where deeper interprocedural reasoning remains the primary bottleneck. Uneven performance across models and frequent verifiable failures even under an optimistic evaluation indicate that robust binary interprocedural reasoning remains an open challenge.

1 INTRODUCTION

LLMs and LLM-powered agents have recently shown growing capabilities in binary analysis and reverse engineering. Existing benchmarks for LLM-based binary analysis fall into two categories. Function-level benchmarks (Gao et al., 2025; Shang et al., 2025; Won et al., 2026; Tan et al., 2025) evaluate tasks such as decompilation, symbol recovery, and type recovery, while whole-program agentic reverse-engineering benchmarks (AgentRE-Bench, 2026; David & Gervais, 2026; Chen et al., 2026; Spence et al., 2026) evaluate end-to-end outcomes such as artifact recovery, or challenge completion with tool-using agents. Although these benchmarks show progress in local binary understanding and autonomous reverse engineering, they provide limited visibility into a specific capability that lies between the two: interprocedural reasoning. Strong function-level performance does not reveal whether a model can connect information distributed across multiple functions. Meanwhile, success in agentic whole-program tasks does not directly reflect interprocedural reasoning, as it is entangled with other capabilities, including tool use, execution, retrieval, and search, and can usually be achieved by focusing on a small set of task-relevant code regions rather than reconstructing a coherent view of the program's cross-function structure. This capability matters as many downstream binary-analysis tasks require interprocedural reasoning, including control-flow integrity (CFI), taint analysis and vulnerability discovery. We therefore ask: can models capable of function-level binary understanding also reason about the interprocedural semantics?

To study this question, we use binary indirect-call target recovery as a diagnostic probe of binary interprocedural reasoning. Unlike direct calls, indirect calls resolve their targets only at runtime, making precise static resolution a challenging and still-open problem requiring interprocedural data-and control-flow analysis, while the resulting callsite-to-target relations remain mechanically verifiable through execution. Therefore, binary indirect-call recovery provides a compact and diagnostic probe of binary interprocedural reasoning where each prediction requires recovering a latent relation between a callsite and its possible callees.

Having selected indirect-call recovery as the probe, we design the benchmark around two questions. First, how robustly can current systems do interprocedural reasoning across diverse real-world program settings? Pre-selecting a few relevant functions risks reducing interprocedural analysis to local reasoning and renders it meaningless for large whole-program tasks. We instead evaluate complete real-world programs spanning different sizes, programming languages, and optimization levels, with large function graphs and numerous indirect-call sites. This diversity allows us to assess how robustly models recover cross-function semantics across realistic program settings. Second, how does interprocedural reasoning change as AI systems gain increasingly powerful mechanisms for acquiring information? We evaluate the same task under three analysis regimes: model-only reasoning, static tool-augmented agents, and Internet-enabled open-world agents. These settings progressively allow systems to reason over provided evidence, actively inspect the binary, and incorporate external knowledge. The Internet-enabled open-world setting reflects practical reverse engineering's use of repositories, documentation, and related implementations, while also raising the risk of benchmark contamination. Indirect-call recovery is comparatively robust to such contamination because even access to corresponding source code rarely reveals the binary-level callsite-to-target relations directly. Agents must still account for compilation and optimization and ground retrieved information in the specific binary. This design therefore lets us evaluate not only intrinsic reasoning ability, but also how effectively agents combine binary analysis, active investigation, and external knowledge in realistic binary analysis workflows.

Based on this design, we construct ICALL-BENCH with 100 evaluation instances spanning C/C++ programs, diverse program sizes, and multiple compiler optimization levels. Each program contains, on average, 74,746 lines of code and 941 functions. We apply ICALL-BENCH to five recent LLMs and their corresponding agents across three analysis regimes to recover indirect-call targets from the program instances. Under the default static tool-augmented agent regime, performance varies widely across LLMs, with program-level verifiable success rates ranging from 23% to 81%, while compiler optimization has relatively little impact on performance. Static tool augmentation enables agents to consistently pass more tasks than model-only reasoning, whereas Internet-enabled open-world access has a heterogeneous effect across models, ranging from a 10% decrease to an 11% improvement. These results show that active analysis substantially strengthens interprocedural reasoning, but effectively exploiting additional information remains a key challenge.

In summary, we make the following key contributions:

  • We formulate binary interprocedural reasoning as an explicit capability for LLM-based binary analysis, and introduce indirect-call target recovery as a concrete diagnostic probe.

  • We construct ICALL-BENCH with 100 real-world binaries and evaluate under three regimes spanning model-only, static tool-augmentation, and Internet-enabled open-world.

  • We evaluate five recent LLMs, revealing substantial capability gaps, strong gains from static tool augmentation and uneven effects of open-world access.