Automated debugging based on a constraint model of the program and a test case

被引:27
|
作者
Wotawa, Franz [1 ]
Nica, Mihai [1 ]
Moraru, Iulia [1 ]
机构
[1] Graz Univ Technol, Inst Software Technol, A-8010 Graz, Austria
来源
关键词
Automated debugging; Algorithmic debugging; Model-based debugging; Constraints; Constraint satisfaction problem; SINGLE-ASSIGNMENT FORM; GENERATION; DIAGNOSIS;
D O I
10.1016/j.jlap.2012.03.002
中图分类号
学科分类号
摘要
Debugging, i.e., fault localization, in case of a detected failure is a time consuming and intricate task. The automation or at least partial automation of debugging is therefore highly desired. In this paper, we discuss some of the most recent approaches for debugging namely spectrum-based, slicing-based, and model-based debugging. We focus on the latter, and introduce the underlying theory as well as discuss empirical results obtained from our implementation. The model-based approach we present in this paper relies on a constraint representation of a program that is equivalent to the original program in terms of the input-output behavior under some reasonable assumptions. By using constraints for representing programs and subsequently test cases we are able to state the debugging problem as a constraint satisfaction problem that can be effectively solved using a todays constraint solver. The given empirical results indicate that the approach can be used for debugging smaller programs in less than 1 s. Moreover, we briefly compare the three approaches and suggest a combination of them in order to improve the results and the overall necessary running time. (C) 2012 Elsevier Inc. All rights reserved.
引用
收藏
页码:390 / 407
页数:18
相关论文
共 50 条
  • [31] Combining Static Analysis and Test Generation for C Program Debugging
    Chebaro, Omar
    Kosmatov, Nikolai
    Giorgetti, Alain
    Julliand, Jacques
    TEST AND PROOFS, PROCEEDINGS, 2010, 6143 : 94 - +
  • [32] Constraint-based Analysis for Verifying and Debugging Concurrent Software
    Wang, Chao
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2016, (224): : 9 - 9
  • [33] A framework for assertion-based debugging in constraint logic programming
    Puebla, G
    Bueno, F
    Hermenegildo, M
    PRINCIPLES AND PRACTICE OF CONSTRAINT PROGRAMMING - CP98, 1998, 1520 : 472 - 472
  • [34] Debugging contradictory constraints in constraint-based random simulation
    Institute of Computer Science, University of Bremen, Bremen 28359, Germany
    Lect. Notes Electr. Eng., 2009, (273-290):
  • [35] An explanation-based tools for debugging constraint satisfaction problems
    Ouis, Samir
    Tounsi, Mohamed
    APPLIED SOFT COMPUTING, 2008, 8 (04) : 1400 - 1406
  • [36] Cost-benefit evaluation model for automated testing based on test case prioritization
    Cui, Maiqin
    Wang, Chengyao
    Journal of Software Engineering, 2015, 9 (04): : 808 - 817
  • [37] KNOWLEDGE-BASED PROGRAM DEBUGGING SYSTEMS
    SEVIORA, RE
    IEEE SOFTWARE, 1987, 4 (03) : 20 - 32
  • [38] Localizing bugs in programs - Or how to use a program's constraint representation for software debugging?
    Wotawa, Franz
    ICSOFT 2008: PROCEEDINGS OF THE THIRD INTERNATIONAL CONFERENCE ON SOFTWARE AND DATA TECHNOLOGIES, VOL SE/GSDCA/MUSE, 2008, : 88 - 95
  • [39] The SANTE Tool: Value Analysis, Program Slicing and Test Generation for C Program Debugging
    Chebaro, Omar
    Kosmatov, Nikolai
    Giorgetti, Alain
    Julliand, Jacques
    TESTS AND PROOFS, TAP 2011, 2011, 6706 : 78 - 83
  • [40] Towards a Framework for Constraint-Based Test Case Generation
    Degrave, Francois
    Schrijvers, Tom
    Vanhoof, Wim
    LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION, 2010, 6037 : 128 - +