A Genetic Programming Approach to Automated Software Repair. Forrest, S., Weimer, W., Nguyen, T., & Le Goues, C. In Conference on Genetic and Evolutionary Computation (GECCO), pages 947-954, 2009. ACM. Best Paper in the Genetic Programming Track
A Genetic Programming Approach to Automated Software Repair [pdf]Paper  abstract   bibtex   1 download  
Genetic programming is combined with program analysis methods to repair bugs in off-the-shelf legacy C programs. Fitness is de- fined using negative test cases that exercise the bug to be repaired and positive test cases that encode program requirements. Once a successful repair is discovered, structural differencing algorithms and delta debugging methods are used to minimize its size. Several modifications to the GP technique contribute to its success: (1) genetic operations are localized to the nodes along the execution path of the negative test case; (2) high-level statements are represented as single nodes in the program tree; (3) genetic operators use existing code in other parts of the program, so new code does not need to be invented. The paper describes the method, reviews earlier exper- iments that repaired 11 bugs in over 60,000 lines of code, reports results on new bug repairs, and describes experiments that analyze the performance and efficacy of the evolutionary components of the algorithm.

Downloads: 1