Cargando…

Must Fault Localization for Program Repair

This work is concerned with fault localization for automated program repair. We define a novel concept of a must location set. Intuitively, such a set includes at least one program location from every repair for a bug. Thus, it is impossible to fix the bug without changing at least one location from...

Descripción completa

Detalles Bibliográficos
Autores principales: Rothenberg, Bat-Chen, Grumberg, Orna
Formato: Online Artículo Texto
Lenguaje:English
Publicado: 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7363178/
http://dx.doi.org/10.1007/978-3-030-53291-8_33
_version_ 1783559617929805824
author Rothenberg, Bat-Chen
Grumberg, Orna
author_facet Rothenberg, Bat-Chen
Grumberg, Orna
author_sort Rothenberg, Bat-Chen
collection PubMed
description This work is concerned with fault localization for automated program repair. We define a novel concept of a must location set. Intuitively, such a set includes at least one program location from every repair for a bug. Thus, it is impossible to fix the bug without changing at least one location from this set. A fault localization technique is considered a must algorithm if it returns a must location set for every buggy program and every bug in the program. We show that some traditional fault localization techniques are not must. We observe that the notion of must fault localization depends on the chosen repair scheme, which identifies the changes that can be applied to program statements as part of a repair. We develop a new algorithm for fault localization and prove that it is must with respect to commonly used schemes in automated program repair. We incorporate the new fault localization technique into an existing mutation-based program repair algorithm. We exploit it in order to prune the search space when a buggy mutated program has been generated. Our experiments show that must fault localization is able to significantly speed-up the repair process, without losing any of the potential repairs.
format Online
Article
Text
id pubmed-7363178
institution National Center for Biotechnology Information
language English
publishDate 2020
record_format MEDLINE/PubMed
spelling pubmed-73631782020-07-16 Must Fault Localization for Program Repair Rothenberg, Bat-Chen Grumberg, Orna Computer Aided Verification Article This work is concerned with fault localization for automated program repair. We define a novel concept of a must location set. Intuitively, such a set includes at least one program location from every repair for a bug. Thus, it is impossible to fix the bug without changing at least one location from this set. A fault localization technique is considered a must algorithm if it returns a must location set for every buggy program and every bug in the program. We show that some traditional fault localization techniques are not must. We observe that the notion of must fault localization depends on the chosen repair scheme, which identifies the changes that can be applied to program statements as part of a repair. We develop a new algorithm for fault localization and prove that it is must with respect to commonly used schemes in automated program repair. We incorporate the new fault localization technique into an existing mutation-based program repair algorithm. We exploit it in order to prune the search space when a buggy mutated program has been generated. Our experiments show that must fault localization is able to significantly speed-up the repair process, without losing any of the potential repairs. 2020-06-16 /pmc/articles/PMC7363178/ http://dx.doi.org/10.1007/978-3-030-53291-8_33 Text en © The Author(s) 2020 Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made. The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.
spellingShingle Article
Rothenberg, Bat-Chen
Grumberg, Orna
Must Fault Localization for Program Repair
title Must Fault Localization for Program Repair
title_full Must Fault Localization for Program Repair
title_fullStr Must Fault Localization for Program Repair
title_full_unstemmed Must Fault Localization for Program Repair
title_short Must Fault Localization for Program Repair
title_sort must fault localization for program repair
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7363178/
http://dx.doi.org/10.1007/978-3-030-53291-8_33
work_keys_str_mv AT rothenbergbatchen mustfaultlocalizationforprogramrepair
AT grumbergorna mustfaultlocalizationforprogramrepair