跳到主要导航 跳到搜索 跳到主要内容

Automated program debugging for multiple bugs based on semantic analysis

  • Beihang University

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

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.

源语言英语
主期刊名Structured Object-Oriented Formal Language and Method - 5th International Workshop, SOFL+MSVL 2015, Revised Selected Papers
编辑Zhenhua Duan, Shaoying Liu
出版商Springer Verlag
86-100
页数15
ISBN(印刷版)9783319312194
DOI
出版状态已出版 - 2016
活动5th International Workshop on Structured Object-Oriented Formal Language and Method, SOFL+MSVL 2015 - Paris, 法国
期限: 6 11月 20156 11月 2015

出版系列

姓名Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
9559
ISSN(印刷版)0302-9743
ISSN(电子版)1611-3349

会议

会议5th International Workshop on Structured Object-Oriented Formal Language and Method, SOFL+MSVL 2015
国家/地区法国
Paris
时期6/11/156/11/15

指纹

探究 'Automated program debugging for multiple bugs based on semantic analysis' 的科研主题。它们共同构成独一无二的指纹。

引用此