Critical slice and its application to program debugging

被引:0
|
作者
Shimomura, Takao [1 ]
机构
[1] NTT Software Lab
来源
NTT R and D | 1993年 / 42卷 / 08期
关键词
Algorithms - Computer software - Error correction - Error detection - Fault tolerant computer systems - Program diagnostics;
D O I
暂无
中图分类号
学科分类号
摘要
Existing algorithmic debugging methods which can locate faults under the guidance of a system have a number of problems. For example, they cannot be applied to imperative languages with side effects, or they can locate a faulty function but not a faulty statement, or they cannot detect faults related to missing statements. This paper presents an algorithmic critical slice-based fault-locating method for imperative languages. The paper first classifies program faults into two categories : wrong-value faults and missing-assignment faults. The critical slice with respect to a variable-value error is a set of statements such that (1) a wrong-value fault contained in any instruction in the critical slice may have caused that variable-value error, and (2) a wrong-value fault contained in any instruction outside the critical slice could definitely not have caused that variable-value error. The paper then shows that it is possible to algorithmically locate any fault, including missing statements, by dividing the critical slice at a certain point and then examining the values of the flow-data, which are the variables whose values are flowing across that division point.
引用
下载
收藏
页码:1017 / 1026
相关论文
共 50 条
  • [21] A formal semantics for program debugging
    Li Wei
    Li Ning
    SCIENCE CHINA-INFORMATION SCIENCES, 2012, 55 (01) : 133 - 148
  • [22] Special issue on program debugging
    Ghosh, Sudipto
    Li, J. Jenny
    SOFTWARE QUALITY JOURNAL, 2017, 25 (01) : 3 - 5
  • [23] Special issue on program debugging
    Sudipto Ghosh
    J. Jenny Li
    Software Quality Journal, 2017, 25 : 3 - 5
  • [24] Focus section on program debugging
    Tse, T. H.
    SOFTWARE-PRACTICE & EXPERIENCE, 2013, 43 (08): : 969 - 970
  • [25] A knowledge base for program debugging
    Tubaishat, A
    ACS/IEEE INTERNATIONAL CONFERENCE ON COMPUTER SYSTEMS AND APPLICATIONS, PROCEEDINGS, 2001, : 321 - 327
  • [26] A FORMAL MODEL OF PROGRAM DEPENDENCES AND ITS IMPLICATIONS FOR SOFTWARE TESTING, DEBUGGING, AND MAINTENANCE
    PODGURSKI, A
    CLARKE, LA
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1990, 16 (09) : 965 - 979
  • [27] Interpretation technique of seismic geomorphological slice and its application
    Yang Z.
    Shiyou Diqiu Wuli Kantan/Oil Geophysical Prospecting, 2020, 55 (03): : 669 - 677
  • [28] Debugging techniques for declarative languages: Profiling, program slicing and algorithmic debugging
    Silva, Josep
    AI COMMUNICATIONS, 2008, 21 (01) : 91 - 92
  • [29] SOFTWARE-RELIABILITY MEASUREMENT IN IMPERFECT DEBUGGING ENVIRONMENT AND ITS APPLICATION
    YAMADA, S
    TOKUNO, K
    OSAKI, S
    RELIABILITY ENGINEERING & SYSTEM SAFETY, 1993, 40 (02) : 139 - 147
  • [30] Program slice browser
    Deng, YB
    Kothari, S
    Namara, Y
    9TH INTERNATIONAL WORKSHOP ON PROGRAM COMPREHENSION, PROCEEDINGS, 2001, : 50 - 59