Practical program repair via bytecode mutation

A Ghanbari, S Benton, L Zhang - Proceedings of the 28th ACM SIGSOFT …, 2019 - dl.acm.org
Proceedings of the 28th ACM SIGSOFT International Symposium on Software …, 2019dl.acm.org
Automated Program Repair (APR) is one of the most recent advances in automated
debugging, and can directly fix buggy programs with minimal human intervention. Although
various advanced APR techniques (including search-based or semantic-based ones) have
been proposed, they mainly work at the source-code level and it is not clear how bytecode-
level APR performs in practice. Also, empirical studies of the existing techniques on bugs
beyond what has been reported in the original papers are rather limited. In this paper, we …
Automated Program Repair (APR) is one of the most recent advances in automated debugging, and can directly fix buggy programs with minimal human intervention. Although various advanced APR techniques (including search-based or semantic-based ones) have been proposed, they mainly work at the source-code level and it is not clear how bytecode-level APR performs in practice. Also, empirical studies of the existing techniques on bugs beyond what has been reported in the original papers are rather limited. In this paper, we implement the first practical bytecode-level APR technique, PraPR, and present the first extensive study on fixing real-world bugs (e.g., Defects4J bugs) using JVM bytecode mutation. The experimental results show that surprisingly even PraPR with only the basic traditional mutators can produce genuine fixes for 17 bugs; with simple additional commonly used APR mutators, PraPR is able to produce genuine fixes for 43 bugs, significantly outperforming state-of-the-art APR, while being over 10X faster. Furthermore, we performed an extensive study of PraPR and other recent APR tools on a large number of additional real-world bugs, and demonstrated the overfitting problem of recent advanced APR tools for the first time. Lastly, PraPR has also successfully fixed bugs for other JVM languages (e.g., for the popular Kotlin language), indicating PraPR can greatly complement existing source-code-level APR.
ACM Digital Library
以上显示的是最相近的搜索结果。 查看全部搜索结果