JFIX: Semantics-based repair of Java programs via symbolic PathFinder
Publication Type
Conference Proceeding Article
Publication Date
7-2017
Abstract
Recently there has been a proliferation of automated program repair (APR) techniques, targeting various programming languages. Such techniques can be generally classified into two families: syntactic- and semantics-based. Semantics-based APR, on which we focus, typically uses symbolic execution to infer semantic constraints and then program synthesis to construct repairs conforming to them. While syntactic-based APR techniques have been shown success- ful on bugs in real-world programs written in both C and Java, semantics-based APR techniques mostly target C programs. This leaves empirical comparisons of the APR families not fully explored, and developers without a Java-based semantics APR technique. We present JFix, a semantics-based APR framework that targets Java, and an associated Eclipse plugin. JFix is implemented atop Symbolic PathFinder, a well-known symbolic execution engine for Java programs. It extends one particular APR technique (Angelix), and is designed to be sufficiently generic to support a variety of such techniques. We demonstrate that semantics-based APR can indeed efficiently and effectively repair a variety of classes of bugs in large real-world Java programs. This supports our claim that the framework can both support developers seeking semantics-based repair of bugs in Java programs, as well as enable larger scale empirical studies comparing syntactic- and semantics-based APR targeting Java. The demonstration of our tool is available via the project website at: https://xuanbachle.github.io/semanticsrepair/
Discipline
Software Engineering
Research Areas
Software and Cyber-Physical Systems
Publication
Proceedings of the 26th ACM SIGSOFT International Symposium on Software Testing and Analysis
First Page
376
Last Page
379
ISBN
978-1-4503-5076-1
Identifier
10.1145/3092703.3098225
Publisher
ACM
City or Country
Santa Barbara, USA
Citation
LE, Xuan-Bach D.; CHU, Duc-Hiep; LO, David; GOUES, Claire Le; and VISSER, Willem.
JFIX: Semantics-based repair of Java programs via symbolic PathFinder. (2017). Proceedings of the 26th ACM SIGSOFT International Symposium on Software Testing and Analysis. 376-379.
Available at: https://ink.library.smu.edu.sg/sis_research/3918
Additional URL
http://doi.org/10.1145/3092703.3098225