SLICEMATE: Accurate and Scalable Static Program Slicing via LLM-Powered Agents
Jianming Chang, Jieke Shi, Yunbo Lyu, Xin Zhou, Lulu Wang, Zhou Yang, Bixin Li, David Lo

TL;DR
SliceMate leverages LLM-powered agents to perform accurate, scalable static program slicing without dependency graphs, significantly improving over traditional and learning-based methods on large, complex codebases.
Contribution
This paper introduces SliceMate, a novel LLM-based framework for static program slicing that bypasses dependency graph analysis and achieves higher accuracy and scalability.
Findings
Outperforms traditional slicing tools in accuracy and scalability.
Successfully handles large and complex codebases.
Constructed SliceBench, a new benchmark with 2,200 annotated programs.
Abstract
Static program slicing, which extracts the executable portions of a program that affect the values at a specific location, supports many software analysis tasks such as debugging and security auditing. However, traditional slicing tools rely on computationally expensive reachability analysis over dependency graphs, which struggle to scale to large programs and often fail to handle code with incomplete syntax. Recently emerged learning-based methods, while more robust to such cases, still fall short of achieving comparable performance to traditional methods on well-formed code. In this work, we propose SliceMate, a novel static program slicing solution powered by Large Language Model (LLM) agents. It bypasses the need for explicit dependency graph construction and achieving superior slicing accuracy. Concretely, SliceMate integrates three specialized agents: (1) a synthesis agent that…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Software Engineering Research · Advanced Malware Detection Techniques
