Towards Understanding the Effectiveness of Large Language Models on Directed Test Input Generation
Automatic testing has garnered significant attention and success over the past few decades. Techniques such as unit testing and coverage-guided fuzzing have revealed numerous critical software bugs and vulnerabilities. However, a long-standing, formidable challenge for existing techniques is how to achieve higher testing coverage. Constraint-based techniques, such as symbolic execution and concolic testing, have been well-explored and integrated into the existing approaches. With the popularity of Large Language Models (LLMs), recent research efforts to design tailored prompts to generate inputs that can reach more uncovered target branches. However, the effectiveness of using LLMs for generating such directed inputs and the comparison with the proven constraint-based solutions has not been systematically explored.
Authors
- Ming Wen (ORCID: https://orcid.org/0000-0001-5588-9618)
- Xuanhua Shi (ORCID: https://orcid.org/0000-0001-8451-8656)
- Hai Jin (ORCID: https://orcid.org/0000-0002-3934-7605)
- Jialun Cao (ORCID: https://orcid.org/0000-0003-4892-6294)
- Zongze Jiang (ORCID: https://orcid.org/0009-0008-6867-2141)
Institutions
- Hong Kong University of Science and Technology (HK)
- Huazhong University of Science and Technology (CN)
- University of Hong Kong (HK)
Publication Details
- Published
- 2024-10-18
- DOI
- https://doi.org/10.1145/3691620.3695513
- Citations
- 7
- Primary Topic
- Software Testing and Debugging Techniques
- Type
- article
- Field-Weighted Citation Impact
- 3.40