PALM: Path-aware LLM-based Test Generation with Comprehension
Abstract
Symbolic execution is a widely used technique for test generation, offering systematic exploration of program paths through constraint solving. However, it is fundamentally constrained by the capability to model the target code including library functions in terms of symbolic constraint and the capability of underlying constraint solvers. As a result, many paths involving complex features remain unanalyzed or insufficiently modeled. Recent advances in large language models (LLMs) have shown promise in generating diverse and valid test inputs. Yet, LLMs lack mechanisms for systematically enumerating program paths and often fail to cover subtle corner cases. We observe that directly prompting an LLM with the full program leads to missed coverage of interesting paths.
Fields of Study & Subjects
Software Testing and Debugging Techniques
Real-time simulation and control systems
Software Reliability and Analysis Research
Publication details
- Pages
- 38–48
- Publication date
- 12 April 2026
- Language
- EN