paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Plankton: Reconciling Binary Code and Debug Information

Plankton:调和二进制代码与调试信息
ASPLOS Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 22024匹配度 3/10 · 论文属于二进制提升与静态分析基础设施,虽与程序分析相关,但未涉及用户核心关注的 LLM/Agentic 程序静态分析、LLM 改进静态分析、浮点程序分析或贝叶斯程序分析。引用 20 inbox
Anshunkang Zhou, Chengfeng Ye, Heqing Huang, Yuandao Cai, Charles Zhang
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出二进制提升器 Plankton 与两个新算法,从带调试信息的二进制生成高质量 LLVM IR,使静态分析无需编译介入。

静态分析广泛用于大规模软件缺陷检测,但通常需要编译介入才能获得可分析代码,实用性受限。二进制提升器可直接转换二进制、不侵入构建系统,然而现有工具即便有调试信息也难以产出足够精确的代码以支撑严格的静态分析。本文提出二进制提升器 Plankton,以及两个新算法,用于弥合底层与高层代码之间的差距,从带调试信息的二进制生成高质量 LLVM IR,从而在仅有轻微精度损失的情况下支持完整的静态分析。评估表明,Plankton 的分析结果与传统编译介入方案相当,差异仅 17.2%,同时更具实用性,平均优于现有二进制提升器 76.9%。

问题
静态分析要获得可分析代码通常依赖编译介入,而现有二进制提升器即使在有调试信息时也无法生成足够精确的代码供严格静态分析使用。
方法
提出二进制提升器 Plankton 及两个新算法,弥合低层二进制与高层代码之间的差距,从带调试信息的二进制生成高质量 LLVM IR。
评估
将 Plankton 与编译介入方案及现有二进制提升器对比,静态分析结果差异仅 17.2%,平均比现有提升器优 76.9%。
原文摘要(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.

链接与引用

DOI 原文 · DBLP

BibTeX
@inproceedings{ZhouYHCZ24,
  title = {Plankton: Reconciling Binary Code and Debug Information},
  author = {Anshunkang Zhou and Chengfeng Ye and Heqing Huang and Yuandao Cai and Charles Zhang},
  booktitle = {ASPLOS},
  year = {2024},
  doi = {10.1145/3620665.3640382}
}