arrow
Return

Enhancing Inter-procedural Static Analysis with Selective LLM-Driven Data-flow Summarization

delete2026-08-24
delete0
PRE
AI
F
Fute Sun
L
Lei Zhang
P
Peng Deng
Z
Zhihao Zou
Y
Yuan Zhang
M
Min Yang
DOI:10.1109/tse.2026.3726981delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Static taint analysis is a crucial technique for detecting software vulnerabilities by tracing the flow of untrusted inputs to dangerous operations. However, it faces significant challenges in balancing precision and performance, particularly for large and complex codebases. To address this challenge, we investigate the integration of Large Language Models (LLMs) into summary-based static analysis, systematically identifying optimal opportunities to leverage LLMs’ advanced code summarization capabilities.

In this work, we propose LLSUM, a novel approach that selectively integrates LLMs to summarize complex methods that static analysis cannot handle effectively, seamlessly incorporating the results back into the analysis. We introduce a conditional summary representation that bridges LLM-generated summaries with precise symbolic representations, an analysis algorithm to gather sufficient context for generating reusable summaries, and a scheduling strategy to identify when and where LLMs are most beneficial for improving efficiency and precision.

We evaluate LLSUM on several popular open-source Java projects, achieving a 6%-43% accuracy improvement and up to a 16× speed enhancement over baseline methods. Additionally, LLSUM uncovered 28 unique zero-day vulnerabilities in real-world applications, 7 of which have received CVE identifiers. These results demonstrate the effectiveness of LLSUM in improving the precision and efficiency of static taint analysis, paving the way for more robust and scalable vulnerability detection.

Keywords:
LLM
Data-flow Summarization
Static Analysis
Java Vulnerability

Journal

IEEE Transactions on Software Engineering cover
IEEE Transactions on Software Engineering
IF:
5.6
Papers:
2.9K
Citations:
1.1W

Organization

F
fudan university
Scholars:
2.6K
Papers: 692
Citations: 0
Cited Papers

Cited Papers

No cited papers available