Plankton: Reconciling Binary Code and Debug Information
Anshunkang Zhou, Chengfeng Ye, Heqing Huang, Yuandao Cai, Charles Zhang
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- DecLLM: LLM-Augmented Recompilable Decompilation for Enabling Programmatic Use of Decompiled Code 引用了 RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and Sanitization
- DecLLM: LLM-Augmented Recompilable Decompilation for Enabling Programmatic Use of Decompiled Code 引用了 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 引用了 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 引用了 Egalito: Layout-Agnostic Binary Recompilation
- Enhancing Semantic-Aware Binary Diffing with High-Confidence Dynamic Instruction Alignment 引用了 Preserving Privacy in Software Composition Analysis: A Study of Technical Solutions and Enhancements
- Enhancing Semantic-Aware Binary Diffing with High-Confidence Dynamic Instruction Alignment 引用了 REACT: IR-Level Patch Presence Test for Binary
- 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
- Enhancing Semantic-Aware Binary Diffing with High-Confidence Dynamic Instruction Alignment 引用了 vSim: Semantics-Aware Value Extraction for Efficient Binary Code Similarity Analysis
- vSim: Semantics-Aware Value Extraction for Efficient Binary Code Similarity Analysis 引用了 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 引用了 Compiler-Assisted Code Randomization
- SoK: All You Ever Wanted to Know About x86/x64 Binary Disassembly But Were Afraid to Ask 引用了 RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and Sanitization
- Egalito: Layout-Agnostic Binary Recompilation 引用了 Compiler-Assisted Code Randomization
- vSim: Semantics-Aware Value Extraction for Efficient Binary Code Similarity Analysis 引用了 DecLLM: LLM-Augmented Recompilable Decompilation for Enabling Programmatic Use of Decompiled Code
- vSim: Semantics-Aware Value Extraction for Efficient Binary Code Similarity Analysis 引用了 Preserving Privacy in Software Composition Analysis: A Study of Technical Solutions and Enhancements
- vSim: Semantics-Aware Value Extraction for Efficient Binary Code Similarity Analysis 引用了 SoK: All You Ever Wanted to Know About x86/x64 Binary Disassembly But Were Afraid to Ask
引用它的顶会 Paper12
- DecLLM: LLM-Augmented Recompilable Decompilation for Enabling Programmatic Use of Decompiled CodeWai Kin Wong, Daoyuan Wu, Huaijin Wang, Zongjie Li 等ISSTA 2025 · 8 次引用
- vSim: Semantics-Aware Value Extraction for Efficient Binary Code Similarity AnalysisHuaijin Wang, Zhiqiang LinNDSS 2026 · 3 次引用
- Preserving Privacy in Software Composition Analysis: A Study of Technical Solutions and EnhancementsHuaijin Wang, Zhibo Liu, Yanbo Dai, Shuai Wang 等ICSE 2025 · 2 次引用
- Enhancing Semantic-Aware Binary Diffing with High-Confidence Dynamic Instruction AlignmentChengfeng Ye, Anshunkang Zhou, Charles ZhangNDSS 2026 · 2 次引用
- REACT: IR-Level Patch Presence Test for BinaryQi Zhan, Xing Hu, Xin Xia, Shanping LiASE 2024 · 2 次引用
它引用的 Paper19
- RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and SanitizationSushant Dinesh, Nathan Burow, Dongyan Xu, Mathias PayerS&P 2020 · 187 次引用
- Inception: System-Wide Security Testing of Real-World Embedded Systems SoftwareNassim Corteggiani, Giovanni Camurati, Aurélien FrancillonUSENIX Security 2018 · 117 次引用
- SoK: All You Ever Wanted to Know About x86/x64 Binary Disassembly But Were Afraid to AskChengbin Pang, Ruotong Yu, Yaohui Chen, Eric Koskinen 等S&P 2021 · 102 次引用
- Compiler-Assisted Code RandomizationHyungjoon Koo, Yaohui Chen, Long Lu, Vasileios P. Kemerlis 等S&P 2018 · 80 次引用
- Egalito: Layout-Agnostic Binary RecompilationDavid Williams-King, Hidenori Kobayashi, Kent Williams-King, Graham Patterson 等ASPLOS 2020 · 68 次引用
相关 Paper
- SoK: Demystifying Binary Lifters Through the Lens of Downstream ApplicationsZhibo Liu, Yuanyuan Yuan, Shuai Wang, Yuyan BaoS&P 2022 · 29 次引用
- Diatom: Polylithic Binary Lifting with Data-Flow Summaries and Type-Aware IR LinkingAnshunkang Zhou, Charles ZhangOOPSLA 2026 · 1 次引用
- LeanBin: Harnessing Lifting and Recompilation to Debloat BinariesIgor Wodiany, Antoniu Pop, Mikel LujánASE 2024 · 1 次引用
- LiftFuzz: Validating Binary Lifters through Context-aware Fuzzing with GPTYutong Zhou, Fan Yang, Zirui Song, Ke Zhang 等CCS 2024
- SIRO: Empowering Version Compatibility in Intermediate Representations via Program SynthesisBowen Zhang, Wei Chen, Peisen Yao, Chengpeng Wang 等ASPLOS 2024 · 4 次引用
