kirancodes.me
To Proof Maintenance & Beyond!
ASE 2024★ Distinguished Paper

Towards Understanding the Effectiveness of Large Language Models on Directed Test Input Generation

Zongze Jiang, Ming Wen, Jialun Cao, Xuanhua Shi, Hai Jin

Abstract

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.

BibTeX
@inproceedings{Jiang-al:ASE24,
  author    = {Zongze Jiang and
               Ming Wen and
               Jialun Cao and
               Xuanhua Shi and
               Hai Jin},
  title     = {Towards Understanding the Effectiveness of Large Language Models on Directed Test Input Generation},
  booktitle = {ASE},
  pages     = {1408--1420},
  publisher = {{ACM}},
  year      = {2024},
}

Related papers