GenProg: A Generic Method for Automatic Software Repair
University of Virginia · University of New Mexico
Abstract
This paper describes GenProg, an automated method for repairing defects in off-the-shelf, legacy programs without formal specifications, program annotations, or special coding practices. GenProg uses an extended form of genetic programming to evolve a program variant that retains required functionality but is not susceptible to a given defect, using existing test suites to encode both the defect and required functionality. Structural differencing algorithms and delta debugging reduce the difference between this variant and the original program to a minimal repair. We describe the algorithm and report experimental results of its success on 16 programs totaling 1.25 M lines of C code and 120K lines of module…
Citation impact
- FWCI
- 35.28
- Percentile
- 100%
- References
- 90
Authors
4Topics & keywords
- Computer science
- Debugging
- Coding (social sciences)
- Programming language
- Source lines of code
- Software bug
- Code (set theory)
- ENCODE