Automated program debugging for multiple bugs based on semantic analysis

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Fault locating is a time-consuming process. In a previous paper, Liu proposed an algorithm named bounded debugging via multiple predicate switching (BMPS)[1], which try to find a successful execution trace by switching outcomes of multiple predicates. Substantively, BMPS focuses on the program faults which are caused by control flow. However, this kind of faults represent only a small fraction. In this paper, we present an algorithm combining BMPS with a semantic based debugging method, which is aimed at locating more than control flow related faults. The semantic based debugging algorithm generates a sequence of equations from the execution trace of a failed test case, and give a minimum faulty program segment according to solutions of the equations. Our algorithm can locate multiple faults in the program one by one through an iterative and interactive process. Moreover, an optimization based on use-define chain is applied to BMPS for improving efficiency of the algorithm, as well as some other methods. To evaluate out approach, we conduct experiment on Siemens suite. The result indicates that our method has significant improvement on both accuracy and efficiency.

Original languageEnglish
Title of host publicationStructured Object-Oriented Formal Language and Method - 5th International Workshop, SOFL+MSVL 2015, Revised Selected Papers
EditorsZhenhua Duan, Shaoying Liu
PublisherSpringer Verlag
Pages86-100
Number of pages15
ISBN (Print)9783319312194
DOIs
StatePublished - 2016
Event5th International Workshop on Structured Object-Oriented Formal Language and Method, SOFL+MSVL 2015 - Paris, France
Duration: 6 Nov 20156 Nov 2015

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume9559
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference5th International Workshop on Structured Object-Oriented Formal Language and Method, SOFL+MSVL 2015
Country/TerritoryFrance
CityParis
Period6/11/156/11/15

Keywords

  • Automated debugging
  • Predicate switch
  • Semantic analysis

Fingerprint

Dive into the research topics of 'Automated program debugging for multiple bugs based on semantic analysis'. Together they form a unique fingerprint.

Cite this