Title :
Model-based diagnosis versus error explanation
Author :
Riener, Heinz ; Fey, Görschwin
Author_Institution :
Inst. of Comput. Sci., Univ. of Bremen, Bremen, Germany
Abstract :
Debugging techniques assist a developer in localizing and correcting faults in a system´s description when the behavior of the system does not conform to its specification. Two fault localization techniques are model-based diagnosis and error explanation. Model-based diagnosis computes a subset of the system´s components which when replaced correct the system. Error explanation determines potential causes of the system´s misbehavior by comparing faulty and correct execution traces. In this paper we focus on fault localization for imperative, non-concurrent programs. We compare the two fault localization techniques in a unified setting presenting SAT-based algorithms for both. The algorithms serve as a vantage point for a fair comparison and allow for efficient implementations leveraging state-of-the-art decision procedures. Firstly, in our comparison we use constructed programs to study strengths and weaknesses of the two fault localization techniques. We show that in general none of the fault localization techniques is superior but that the computed fault candidates depend on the program structure. Secondly, we implement the SAT-based algorithms in a prototype tool utilizing a Satisfiability Modulo Theories (SMT) solver and evaluate them on mutants of the ANSI-C program TCAS from the Software-Artifact Infrastructure Repository (SIR).
Keywords :
C language; computability; fault diagnosis; formal specification; program debugging; ANSI-C program TCAS; SAT-based algorithms; SIR; SMT solver; debugging techniques; error explanation; fault correction; fault localization techniques; imperative nonconcurrent programs; model-based diagnosis; program structure; satisfiability modulo theories; software-artifact infrastructure repository; specification; system description; Circuit faults; Computational modeling; Debugging; Encoding; Indexes; Semantics; Software; Debugging; SAT; fault localization;
Conference_Titel :
Formal Methods and Models for Codesign (MEMOCODE), 2012 10th IEEE/ACM International Conference on
Conference_Location :
Arlington, VA
Print_ISBN :
978-1-4673-1314-8
DOI :
10.1109/MEMCOD.2012.6292299