Skip to main navigation Skip to search Skip to main content

Incremental formula-based fix localization

Research output: Contribution to journalArticlepeer-review

Abstract

Automatically fixing bugs in software programs can significantly reduce the cost and improve the productivity of the software. Toward this goal, a critical and challenging problem is automatic fix localization, which identifies program locations where a bug fix can be synthesized. In this paper, we present AgxFaults, a technique that automatically identifies minimal subsets of program statements at which a suitable modification can remove the error. AgxFaults works based on dynamically encoding semantic of program parts that are relevant to an observed error into an unsatisfiable logical formula and then manipulating this formula in an increasingly on-demand manner. We perform various experiments on faulty versions of the traffic collision avoidance system (TCAS) program in the Siemens Suite, programs in Bekkouche’s benchmark, and server real bugs in the Defects4J benchmark. The experimental results show that AgxFaults outperforms single-path-formula approaches in terms of effectiveness in finding fix localization and fault localization. AgxFaults is better than program-formula-based approaches in terms of efficiency and scalability, while providing similar effectiveness. Specifically, the solving time of AgxFaults is 28% faster, and the running time is 45% faster, than the program-formula-based approach, while providing similar fault localization results.

Original languageEnglish
Article number303
Pages (from-to)1-28
Number of pages28
JournalApplied Sciences (Switzerland)
Volume11
Issue number1
DOIs
StatePublished - 1 Jan 2021

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 3 - Good Health and Well-being
    SDG 3 Good Health and Well-being

Keywords

  • Angelic value
  • Automatic fix localization
  • Concolic execution
  • Debugging
  • Maximum satisfiability

Fingerprint

Dive into the research topics of 'Incremental formula-based fix localization'. Together they form a unique fingerprint.

Cite this