Large Language Model Powered Symbolic Execution
Yihe Li, Ruijie Meng, Gregory J. Duck
National University of Singapore
Key points
From the paper's conclusion- We implement our approach in the form of AutoBug , an LLM-based symbolic execution engine that is lightweight and language-agnostic, making it a practical tool for analyzing code that is challenging for traditional approaches.
Abstract
Large Language Models (LLMs) have emerged as a promising alternative to traditional static program analysis methods, such as symbolic execution, offering the ability to reason over code directly without relying on theorem provers or SMT solvers. However, LLMs are also inherently approximate by nature, and therefore face significant challenges in relation to the accuracy and scale of analysis in real-world applications. Such issues often necessitate the use of larger LLMs with higher token limits, but this requires enterprise-grade hardware (GPUs) and thus limits accessibility for many users. In this paper, we propose LLM-based symbolic execution —a novel approach that enhances LLM inference via a path-based decomposition of the program analysis tasks into smaller (more tractable) subtasks. The core idea is to generalize path constraints using a generic code-based representation that the LLM can directly reason over, and without translation into another (less-expressive) formal language. We implement our approach in the form of AutoBug , an LLM-based symbolic execution engine that is lightweight and language-agnostic, making it a practical tool for analyzing code that is challenging for traditional approaches. We show that AutoBug can improve both the accuracy and scale of LLM-based program analysis, especially for smaller LLMs that can run on consumer-grade hardware.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Defusing Logic Bombs in Symbolic Execution with LLM-Generated Ghost CodeProceedings of the ACM on software engineering. · 2026
- PAGENT: Program Analysis Guided LLM Agent for Proof-of-Concept GenerationProceedings of the ACM on Software Engineering · 2026
- AutoCodeSherpa: Symbolic Explanations in AI Coding AgentsProceedings of the ACM on Software Engineering · 2026
- Exploring Code Analysis: Zero-Shot Insights on Syntax and Semantics with LLMsACM Transactions on Software Engineering and Methodology · 2026
- Assessing and Improving Prompting Large Language Models for Software Vulnerability AnalysisACM Transactions on Software Engineering and Methodology · 2026
- Self-Evolving Static Analysis via LLM Pseudo-LabelingarXiv · 2026