paperbot · PL 论文追踪

RSS

Enhancing Static Analysis for Practical Bug Detection: An LLM-Integrated Approach

OOPSLA 8(OOPSLA1)2024
Haonan Li, Yu Hao, Yizhuo Zhai, Zhiyun Qian

尚未生成 AI 速览(可能缺少 API key 或等待下次运行补跑)。

原文摘要(Abstract)

While static analysis is instrumental in uncovering software bugs, its precision in analyzing large and intricate codebases remains challenging. The emerging prowess of Large Language Models (LLMs) offers a promising avenue to address these complexities. In this paper, we present LLift, a pioneering framework that synergizes static analysis and LLMs, with a spotlight on identifying use-before-initialization (UBI) bugs within the Linux kernel. Drawing from our insights into variable usage conventions in Linux, we enhance path analysis using post-constraint guidance. This approach, combined with our methodically crafted procedures, empowers LLift to adeptly handle the challenges of bug-specific modeling, extensive codebases, and the unpredictable nature of LLMs. Our real-world evaluations identified four previously undiscovered UBI bugs in the mainstream Linux kernel, which the Linux community has acknowledged. This study reaffirms the potential of marrying static analysis with LLMs, setting a compelling direction for future research in this area.

链接与引用

DOI 原文 ·

BibTeX
@article{paperbot2534,
  title = {Enhancing Static Analysis for Practical Bug Detection: An LLM-Integrated Approach},
  author = {Haonan Li and Yu Hao and Yizhuo Zhai and Zhiyun Qian},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {8},
  number = {OOPSLA1},
  year = {2024},
  doi = {10.1145/3649828}
}