arrow
返回

A formal semantics for program debugging

delete2011-12-30
delete6
PRE
AI
W
Wei Li *
李
李宁 (Ning Li)
DOI:10.1007/s11432-011-4530-2delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
This work aims to build a semantic framework for automated debugging. A debugging process consists of tracing, locating, and fixing processes consecutively. The first two processes are accomplished by a tracing procedure and a locating procedure, respectively. The tracing procedure reproduces the execution of the failed test case with well-designed data structures and saves necessary information for locating bugs. The locating procedure will use the information obtained from the tracing procedure to locate ill-designed statements and to generate a system of fix-equations, whose solution will be used to fix the bugs. A structural operational semantics is given to define the functions of the tracing and locating procedures. Both of them are proved to terminate. The main task of fixing process is to solve the fix-equations. It turns out that for a given failed test case, there exist four types of fix-equations and three different solutions: 1) The bug is solvable, i.e., there exists a solution of the system of fix-equations, and the program can be repaired. 2) There exists a structural design error in the program, i.e., the system of fix-equations generated at each round of the locating procedure is solvable, but a new bug will arise when the old bug is being fixed. 3) There exists a logical design error, and the system of fix-equations is not solvable.
Keyword:
debugging
operational semantics
failed test case
fix-equations
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

Combining Operational and Debug Testing for Improving Reliability
err2013-06-01
err31
PREAI
errCotroneo, Domenico; Pietrantuono, Roberto; Russo, Stefano
err分享
err收藏
err分享
err收藏
Debugging Multithreaded Programs as if They Were Sequential
err2018-01-01
err2
errOAAI
errZhang, Xiaodong; Yang, Zijiang; Zheng, Qinghua; Hao, Yu; Liu, Pei; Yu, Lechen; Liu, Ting
err分享
err收藏

期刊

Science China Information Sciences 封面图
Science China Information Sciences
IF:
7.6
论文数:
4.9K
被引数:
1.2W

机构

北京航空航天大学 封面图
北京航空航天大学
学者数:
735
论文数: 224
被引数: 3.2W
引用论文

引用论文

err
IF0
err
err0
PREAI
err
err分享
err收藏
Pain in Children with Significant Neurological Impairment
err1999-08-01
err0
PREAI
errTIM F. OBERLANDER; MAUREEN E. OʼDONNELL; CAROLYNE J. MONTGOMERY
err分享
err收藏