We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Computer Science & Information Technology/Automatically finding patches using genetic programming
PeriodicalsComputer Science & Information Technology

Automatically finding patches using genetic programming

Checking your access to this record.

Abstract & Overview

Automatic program repair has been a longstanding goal in software engineering, yet debugging remains a largely manual process. We introduce a fully automated method for locating and repairing bugs in software. The approach works on off-the-shelf legacy applications and does not require formal specifications, program annotations or special coding practices. Once a program fault is discovered, an extended form of genetic programming is used to evolve program variants until one is found that both retains required functionality and also avoids the defect in question. Standard test cases are used to exercise the fault and to encode program requirements. After a successful repair has been discovered, it is minimized using structural differencing algorithms and delta debugging. We describe the proposed method and report experimental results demonstrating that it can successfully repair ten different C programs totaling 63,000 lines in under 200 seconds, on average.

Cite this record

Westley R. Weimer, ThanhVu H. Nguyen, Claire Le Goues, Stephanie Forrest (2009). Automatically finding patches using genetic programming. ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion), 364–374. https://doi.org/10.1109/icse.2009.5070536

Copy in another style

Weimer, W. R., Nguyen, T. H., Goues, C. L., & Forrest, S. (2009). Automatically finding patches using genetic programming. ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion), 364–374. https://doi.org/10.1109/icse.2009.5070536
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.