Lune

FSE2023Top-tier venue

FunProbe: Probing Functions from Binary Code through Probabilistic Analysis

Soomin Kim, Hyungseok Kim, Sang Kil Cha

Abstract

Current function identification techniques have been mostly focused on a specific set of binaries compiled for a specific CPU architecture. While recent deep-learning-based approaches theoretically can handle binaries from different architectures, they require significant computation resources for training and inference, making their use less practical. Furthermore, due to the lack of interpretability of such models, it is fundamentally difficult to gain insight from them. Hence, in this paper, we propose FunProbe, an efficient system for identifying functions from binaries using probabilistic inference. In particular, we identify 16 architecture-neutral hints for function identification, and devise an effective method to combine them in a probabilistic framework. We evaluate our tool on a large dataset consisting of 19,872 real-world binaries compiled for six major CPU architectures. The results are promising. FunProbe shows the best accuracy compared to five state-of-the-art tools we tested, while it takes only 6 seconds on average to analyze a single binary. Notably, FunProbe is 6× faster on average in identifying functions than XDA, a state-of-the-art deep-learning tool that leverages GPU in its inference phase.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Superset Disassembly: Statically Rewriting x86 Binaries Without Heuristics cites Ramblr: Making Reassembly Great Again
  • OSPREY: Recovery of Variable and Data Structure via Probabilistic Analysis for Stripped Binary cites Superset Disassembly: Statically Rewriting x86 Binaries Without Heuristics
  • OSPREY: Recovery of Variable and Data Structure via Probabilistic Analysis for Stripped Binary cites An In-Depth Analysis of Disassembly on Full-Scale x86/x64 Binaries
  • Towards Sound Reassembly of Modern x86-64 Binaries cites Superset Disassembly: Statically Rewriting x86 Binaries Without Heuristics
  • Towards Sound Reassembly of Modern x86-64 Binaries cites Ramblr: Making Reassembly Great Again
  • Diatom: Polylithic Binary Lifting with Data-Flow Summaries and Type-Aware IR Linking cites OSPREY: Recovery of Variable and Data Structure via Probabilistic Analysis for Stripped Binary
  • Diatom: Polylithic Binary Lifting with Data-Flow Summaries and Type-Aware IR Linking cites SoK: All You Ever Wanted to Know About x86/x64 Binary Disassembly But Were Afraid to Ask
  • Diatom: Polylithic Binary Lifting with Data-Flow Summaries and Type-Aware IR Linking cites ReSym: Harnessing LLMs to Recover Variable and Data Structure Symbols from Stripped Binaries
  • Ramblr: Making Reassembly Great Again cites An In-Depth Analysis of Disassembly on Full-Scale x86/x64 Binaries
  • SoK: All You Ever Wanted to Know About x86/x64 Binary Disassembly But Were Afraid to Ask cites An In-Depth Analysis of Disassembly on Full-Scale x86/x64 Binaries
  • SoK: All You Ever Wanted to Know About x86/x64 Binary Disassembly But Were Afraid to Ask cites Ramblr: Making Reassembly Great Again
  • ReSym: Harnessing LLMs to Recover Variable and Data Structure Symbols from Stripped Binaries cites OSPREY: Recovery of Variable and Data Structure via Probabilistic Analysis for Stripped Binary
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. ReSym: Harnessing LLMs to Recover Variable and Data Structure Symbols from Stripped BinariesDanning Xie, Zhuo Zhang, Nan Jiang, Xiangzhe Xu et al.CCS 2024 · 21 citations
  2. Towards Sound Reassembly of Modern x86-64 BinariesHyungseok Kim, Soomin Kim, Sang Kil ChaASPLOS 2025 · 3 citations
  3. Diatom: Polylithic Binary Lifting with Data-Flow Summaries and Type-Aware IR LinkingAnshunkang Zhou, Charles ZhangOOPSLA 2026 · 1 citation
  4. RTrace: Towards Better Visibility of Shared Library ExecutionHuaifeng Zhang, Ahmed Ali-EldinNDSS 2026

Builds on10

  1. An In-Depth Analysis of Disassembly on Full-Scale x86/x64 BinariesDennis Andriesse, Xi Chen, Victor van der Veen, Asia Slowinska et al.USENIX Security 2016 · 162 citations
  2. Ramblr: Making Reassembly Great AgainRuoyu Wang, Yan Shoshitaishvili, Antonio Bianchi, Aravind Machiry et al.NDSS 2017 · 155 citations
  3. Superset Disassembly: Statically Rewriting x86 Binaries Without HeuristicsErick Bauman, Zhiqiang Lin, Kevin W. HamlenNDSS 2018 · 112 citations
  4. SoK: All You Ever Wanted to Know About x86/x64 Binary Disassembly But Were Afraid to AskChengbin Pang, Ruotong Yu, Yaohui Chen, Eric Koskinen et al.S&P 2021 · 102 citations
  5. OSPREY: Recovery of Variable and Data Structure via Probabilistic Analysis for Stripped BinaryZhuo Zhang, Yapeng Ye, Wei You, Guanhong Tao et al.S&P 2021 · 78 citations

Related papers

  1. DeepDi: Learning a Relational Graph Convolutional Network Model on Instructions for Fast and Accurate DisassemblySheng Yu, Yu Qu, Xunchao Hu, Heng YinUSENIX Security 2022
  2. SymLM: Predicting Function Names in Stripped Binaries via Context-Sensitive Execution-Aware Code EmbeddingsXin Jin, Kexin Pei, Jun Yeon Won, Zhiqiang LinCCS 2022 · 56 citations
  3. Neural Nets Can Learn Function Type Signatures From BinariesZheng Leong Chua, Shiqi Shen, Prateek Saxena, Zhenkai LiangUSENIX Security 2017 · 175 citations
  4. Recover Function Signature from Combined ConstraintsHaohui Huang, Yue Liu, Yuxi Cheng, Haiyang Wei et al.CCS 2025
  5. Debin: Predicting Debug Information in Stripped BinariesJingxuan He, Pesho Ivanov, Petar Tsankov, Veselin Raychev et al.CCS 2018 · 148 citations
Dusk over the sea between two cliffs drawn in fine vertical lines