DocumentCode :
635223
Title :
SemFix: Program repair via semantic analysis
Author :
Hoang Duong Thien Nguyen ; Dawei Qi ; Roychoudhury, Abhik ; Chandra, Swarup
Author_Institution :
Sch. of Comput., Nat. Univ. of Singapore, Singapore, Singapore
fYear :
2013
fDate :
18-26 May 2013
Firstpage :
772
Lastpage :
781
Abstract :
Debugging consumes significant time and effort in any major software development project. Moreover, even after the root cause of a bug is identified, fixing the bug is non-trivial. Given this situation, automated program repair methods are of value. In this paper, we present an automated repair method based on symbolic execution, constraint solving and program synthesis. In our approach, the requirement on the repaired code to pass a given set of tests is formulated as a constraint. Such a constraint is then solved by iterating over a layered space of repair expressions, layered by the complexity of the repair code. We compare our method with recently proposed genetic programming based repair on SIR programs with seeded bugs, as well as fragments of GNU Coreutils with real bugs. On these subjects, our approach reports a higher success-rate than genetic programming based repair, and produces a repair faster.
Keywords :
genetic algorithms; program debugging; program testing; software engineering; GNU Coreutils; SIR programs; SemFix; automated program repair methods; constraint solving; debugging; genetic programming based repair; program synthesis; repair code complexity; repair expressions; seeded bugs; semantic analysis; software development project; symbolic execution; Computer bugs; Educational institutions; Genetic programming; Input variables; Maintenance engineering; Semantics; Syntactics;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering (ICSE), 2013 35th International Conference on
Conference_Location :
San Francisco, CA
Print_ISBN :
978-1-4673-3073-2
Type :
conf
DOI :
10.1109/ICSE.2013.6606623
Filename :
6606623
Link To Document :
بازگشت