Plankton: Reconciling Binary Code and Debug Information
Anshunkang Zhou, Chengfeng Ye, Heqing Huang, Yuandao Cai, Charles Zhang
Abstract
Static analysis has been widely used in large-scale software defect detection. Despite recent advances, it is still not practical enough because it requires compilation interference to obtain analyzable code. Directly translating the binary code using a binary lifter mitigates this practicality problem by being non-intrusive to the building system. However, existing binary lifters cannot produce precise enough code for rigorous static analysis even in the presence of the debug information. In this paper, we propose a new binary lifter Plankton together with two new algorithms that can fill the gaps between the low- and high-level code to produce high-quality LLVM intermediate representations (IRs) from binaries with debug information, enabling full-fledged static analysis with minor precision loss. Plankton shows comparable static analysis results with traditional compilation interference solutions, producing only 17.2% differences while being much more practical, outperforming existing lifters by 76.9% on average.
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.
12 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- DecLLM: LLM-Augmented Recompilable Decompilation for Enabling Programmatic Use of Decompiled Code cites RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and Sanitization
- DecLLM: LLM-Augmented Recompilable Decompilation for Enabling Programmatic Use of Decompiled Code cites Preserving Privacy in Software Composition Analysis: A Study of Technical Solutions and Enhancements
- DecLLM: LLM-Augmented Recompilable Decompilation for Enabling Programmatic Use of Decompiled Code cites SoK: All You Ever Wanted to Know About x86/x64 Binary Disassembly But Were Afraid to Ask
- DecLLM: LLM-Augmented Recompilable Decompilation for Enabling Programmatic Use of Decompiled Code cites Egalito: Layout-Agnostic Binary Recompilation
- Enhancing Semantic-Aware Binary Diffing with High-Confidence Dynamic Instruction Alignment cites Preserving Privacy in Software Composition Analysis: A Study of Technical Solutions and Enhancements
- Enhancing Semantic-Aware Binary Diffing with High-Confidence Dynamic Instruction Alignment cites REACT: IR-Level Patch Presence Test for Binary
- Enhancing Semantic-Aware Binary Diffing with High-Confidence Dynamic Instruction Alignment cites SoK: All You Ever Wanted to Know About x86/x64 Binary Disassembly But Were Afraid to Ask
- Enhancing Semantic-Aware Binary Diffing with High-Confidence Dynamic Instruction Alignment cites vSim: Semantics-Aware Value Extraction for Efficient Binary Code Similarity Analysis
- vSim: Semantics-Aware Value Extraction for Efficient Binary Code Similarity Analysis cites Enhancing Semantic-Aware Binary Diffing with High-Confidence Dynamic Instruction Alignment
- SoK: All You Ever Wanted to Know About x86/x64 Binary Disassembly But Were Afraid to Ask cites Compiler-Assisted Code Randomization
- SoK: All You Ever Wanted to Know About x86/x64 Binary Disassembly But Were Afraid to Ask cites RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and Sanitization
- Egalito: Layout-Agnostic Binary Recompilation cites Compiler-Assisted Code Randomization
- vSim: Semantics-Aware Value Extraction for Efficient Binary Code Similarity Analysis cites DecLLM: LLM-Augmented Recompilable Decompilation for Enabling Programmatic Use of Decompiled Code
- vSim: Semantics-Aware Value Extraction for Efficient Binary Code Similarity Analysis cites Preserving Privacy in Software Composition Analysis: A Study of Technical Solutions and Enhancements
- vSim: Semantics-Aware Value Extraction for Efficient Binary Code Similarity Analysis cites SoK: All You Ever Wanted to Know About x86/x64 Binary Disassembly But Were Afraid to Ask
Cited by top-tier papers12
- DecLLM: LLM-Augmented Recompilable Decompilation for Enabling Programmatic Use of Decompiled CodeWai Kin Wong, Daoyuan Wu, Huaijin Wang, Zongjie Li et al.ISSTA 2025 · 8 citations
- vSim: Semantics-Aware Value Extraction for Efficient Binary Code Similarity AnalysisHuaijin Wang, Zhiqiang LinNDSS 2026 · 3 citations
- Preserving Privacy in Software Composition Analysis: A Study of Technical Solutions and EnhancementsHuaijin Wang, Zhibo Liu, Yanbo Dai, Shuai Wang et al.ICSE 2025 · 2 citations
- Enhancing Semantic-Aware Binary Diffing with High-Confidence Dynamic Instruction AlignmentChengfeng Ye, Anshunkang Zhou, Charles ZhangNDSS 2026 · 2 citations
- REACT: IR-Level Patch Presence Test for BinaryQi Zhan, Xing Hu, Xin Xia, Shanping LiASE 2024 · 2 citations
Builds on19
- RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and SanitizationSushant Dinesh, Nathan Burow, Dongyan Xu, Mathias PayerS&P 2020 · 187 citations
- Inception: System-Wide Security Testing of Real-World Embedded Systems SoftwareNassim Corteggiani, Giovanni Camurati, Aurélien FrancillonUSENIX Security 2018 · 117 citations
- 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
- Compiler-Assisted Code RandomizationHyungjoon Koo, Yaohui Chen, Long Lu, Vasileios P. Kemerlis et al.S&P 2018 · 80 citations
- Egalito: Layout-Agnostic Binary RecompilationDavid Williams-King, Hidenori Kobayashi, Kent Williams-King, Graham Patterson et al.ASPLOS 2020 · 68 citations
Related papers
- SoK: Demystifying Binary Lifters Through the Lens of Downstream ApplicationsZhibo Liu, Yuanyuan Yuan, Shuai Wang, Yuyan BaoS&P 2022 · 29 citations
- Diatom: Polylithic Binary Lifting with Data-Flow Summaries and Type-Aware IR LinkingAnshunkang Zhou, Charles ZhangOOPSLA 2026 · 1 citation
- LeanBin: Harnessing Lifting and Recompilation to Debloat BinariesIgor Wodiany, Antoniu Pop, Mikel LujánASE 2024 · 1 citation
- LiftFuzz: Validating Binary Lifters through Context-aware Fuzzing with GPTYutong Zhou, Fan Yang, Zirui Song, Ke Zhang et al.CCS 2024
- SIRO: Empowering Version Compatibility in Intermediate Representations via Program SynthesisBowen Zhang, Wei Chen, Peisen Yao, Chengpeng Wang et al.ASPLOS 2024 · 4 citations
