A genetic programming approach to automated software repair
The DOI matches its Crossref record; 21 of the 21 references it cites were found in a registry or an index.
Abstract
Genetic programming is combined with program analysis methods to repair bugs in off-the-shelf legacy C programs. Fitness is defined 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 experiments 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.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Compilers: Principles, Techniques, and Tools
Aho, A. V., Sethi, R., & Ullman, J. D. (1986) · Cited by 8,480
Eraser: a dynamic data race detector for multithreaded programs
Savage, S., Burrows, M., Nelson, G., Sobalvarro, P., & Anderson, T. (1997) · ACM Transactions on Computer Systems · doi:10.1145/265924.265927 · Cited by 1,572
Testing Object-Oriented Systems: Models, Patterns, and Tools
Binder, R. V. (1999) · Cited by 1,549
A Sense of Self for Unix Processes
Forrest, S., Hofmeyr, S. A., Somayaji, A. B., & Longstaff, T. A. (1996) · Cited by 1,150
Self-citationSimplifying and isolating failure-inducing input
Zeller, A., & Hildebrandt, R. (2002) · IEEE Transactions on Software Engineering · doi:10.1109/32.988498 · Cited by 1,079 · cited 1×
“Finding the minimal valid set by brute force potentially involves O (2 n ) evaluations; delta debugging is O ( n 2 ) in the worst case [25, Proposition 12].”
BackgroundCIL: Intermediate Language and Tools for Analysis and Transformation of C Programs
Necula, G. C., McPeak, S., Rahul, S. P., & Weimer, W. (2002) · Lecture Notes in Computer Science · doi:10.1007/3-540-45937-5_16 · Cited by 977
Self-citationAutomatically finding patches using genetic programming
Weimer, W., Nguyen, T., Le Goues, C., & Forrest, S. (2009) · 2009 IEEE 31st International Conference on Software Engineering · doi:10.1109/icse.2009.5070536 · Cited by 761 · cited 1×
“These results are summarized in Table 1; portions of this figure are reproduced from [23].”
BackgroundSelf-citationHovemeyer, D., & Pugh, W. (2004) · Companion to the 19th annual ACM SIGPLAN conference on Object-oriented programming systems, languages, and applications · doi:10.1145/1028664.1028717 · Cited by 760
Automatically Validating Temporal Safety Properties of Interfaces
Ball, T., & Rajamani, S. K. (2001) · Cited by 599
Bug isolation via remote program sampling
Liblit, B., Aiken, A., Zheng, A. X., & Jordan, M. I. (2003) · ACM SIGPLAN Notices · doi:10.1145/780822.781148 · Cited by 504
Practical Software Maintenance: Best Practices for Managing Your Software Investment
Pigoski, T. M. (1996) · Medical Entomology and Zoology · Cited by 374
Yesterday, my program worked. Today, it does not. Why?
Zeller, A. (1999) · ACM SIGSOFT Software Engineering Notes · doi:10.1145/318774.318946 · Cited by 360 · cited 2×
“Note that the first insertion includes not just the if but its entire subtree.”
BackgroundTimeAware test suite prioritization
Walcott, K. R., Soffa, M. L., Kapfhammer, G. M., & Roos, R. S. (2006) · Proceedings of the 2006 international symposium on Software testing and analysis · doi:10.1145/1146238.1146240 · Cited by 340 · cited 1×
“Typically, programs have too many test cases rather than too few, and test case selection and time-aware test suite prioritization are active research areas (e.g., [ 20 ]).”
BackgroundFrom symptom to cause: localizing errors in counterexample traces
Ball, T., Naik, M., & Rajamani, S. K. (2003) · Proceedings of the 30th ACM SIGPLAN-SIGACT symposium on Principles of programming languages · doi:10.1145/604131.604140 · Cited by 294 · cited 1×
“, [6]) to help control the size of the weighted execution path.”
BackgroundA novel co-evolutionary approach to automatic software bug fixing
Arcuri, A., & Yao, X. (2008) · 2008 IEEE Congress on Evolutionary Computation (IEEE World Congress on Computational Intelligence) · doi:10.1109/cec.2008.4630793 · Cited by 250 · cited 1×
“Arcuri [3, 4, 5] proposed the idea of using GP to automate the repair of software bugs, demonstrating the idea on a hand-coded example of the bubble sort algorithm.”
MethodBug isolation via remote program sampling
Liblit, B., Aiken, A., Zheng, A. X., & Jordan, M. I. (2003) · Proceedings of the ACM SIGPLAN 2003 conference on Programming language design and implementation · doi:10.1145/781131.781148 · Cited by 241 · cited 1×
“Many techniques are available for identifying bugs in programs, both statically (e.g., [7, 16]) and dynamically (e.g., [14, 17, 20]).”
BackgroundWeimer, W. R. (2006) · International Conference on Generative Programming and Component Engineering (GPCE) · doi:10.1145/1173706.1173734 · Cited by 123 · cited 1×
“Previous work on automatic patch generation used the finite state machine structure of formal safety specifications to generate re-pairs [22].”
MethodSelf-citationInference and enforcement of data structure consistency specifications
Demsky, B., Ernst, M. D., Guo, P. J., McCamant, S., Perkins, J. H., & Rinard, M. (2006) · Proceedings of the 2006 international symposium on Software testing and analysis · doi:10.1145/1146238.1146266 · Cited by 122 · cited 1×
“[12] describe a technique for data structure repair.”
MethodOn the automation of fixing software bugs
Arcuri, A. (2008) · Companion of the 13th international conference on Software engineering - ICSE Companion '08 · doi:10.1145/1370175.1370223 · Cited by 121 · cited 1×
“Arcuri [3, 4, 5] proposed the idea of using GP to automate the repair of software bugs, demonstrating the idea on a hand-coded example of the bubble sort algorithm.”
MethodMulti-objective Improvement of Software Using Co-evolution and Smart Seeding
Arcuri, A., White, D. R., Clark, J. A., & Yao, X. (2008) · Lecture notes in computer science · doi:10.1007/978-3-540-89694-4_7 · Cited by 74 · cited 1×
“Arcuri [3, 4, 5] proposed the idea of using GP to automate the repair of software bugs, demonstrating the idea on a hand-coded example of the bubble sort algorithm.”
MethodFoundations of Software Engineering
Ahmed, A., & Prasad, B. (2016) · Auerbach Publications eBooks · doi:10.1201/9781315369495 · Cited by 50
Cited by
GenProg: A Generic Method for Automatic Software Repair
Le Goues, C., Nguyen, T., Forrest, S., & Weimer, W. (2012) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2011.104 · Cited by 1,085
Self-citationEvaluation of a Tree-based Pipeline Optimization Tool for Automating Data Science
Olson, R. S., Bartley, N., Urbanowicz, R. J., & Moore, J. H. (2016) · Proceedings of the Genetic and Evolutionary Computation Conference 2016 · doi:10.1145/2908812.2908918 · Cited by 595
An analysis of patch plausibility and correctness for generate-and-validate patch generation systems
Qi, Z., Long, F., Achour, S., & Rinard, M. (2015) · Proceedings of the 2015 International Symposium on Software Testing and Analysis · doi:10.1145/2771783.2771791 · Cited by 420
“For a more comprehensive treatment, including an analysis of the patches produced by the original GenProg system [58, 21] and a more comprehensive discussion of the ClearView patches and other related work, see the full version of the paper [49].”
MethodResultAutomatically patching errors in deployed software
Perkins, J. H., Kim, S., Larsen, S., Amarasinghe, S., Bachrach, J., Carbin, M., Pacheco, C., Sherwood, F., Sidiroglou, S., Sullivan, G., et al. (2009) · Proceedings of the ACM SIGOPS 22nd symposium on Operating systems principles · doi:10.1145/1629575.1629585 · Cited by 409
Automated feedback generation for introductory programming assignments
Singh, R., Gulwani, S., & Solar-Lezama, A. (2013) · Proceedings of the 34th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/2491956.2462195 · Cited by 383
Metadata
- Authors
- Forrest, S., Nguyen, T., Weimer, W., & Le Goues, C.
- Venue
- Proceedings of the 11th Annual conference on Genetic and evolutionary computation
- Publisher
- ACM
- Published
- 2009-07-08
- Pages
- 947-954
- OpenAlex
- W2126071695
- Cited by
- 236
- References
- 21
- FWCI
- 8.23
- Type
- conference paper
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.