作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2008, Vol. 34 ›› Issue (16): 75-76. doi: 10.3969/j.issn.1000-3428.2008.16.025

• 软件技术与数据库 • 上一篇    下一篇

基于程序静态分析和故障树的软件故障检测

叶俊民1,2,张 涛2,董 威1,齐治昌1   

  1. (1. 国防科学技术大学计算机学院,长沙 410073;2. 华中师范大学计算机科学系,武汉 430079)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-08-20 发布日期:2008-08-20

Software Fault Detection Based on Program Static Analysis and Fault Tree

YE Jun-min1,2, ZHANG Tao2, DONG Wei1, QI Zhi-chang1   

  1. (1. School of Computer, National University of Defense Technology, Changsha 410073; 2. Department of Computer Science, Central China Normal University, Wuhan 430079)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-08-20 Published:2008-08-20

摘要: 为提高软件安全性和可靠性,探讨一种在软件故障检测过程中将故障定位和原因分析相结合的方法,该方法基于对程序的静态分析,找出故障的位置,利用故障树定位故障原因。非法计算是一种常见的软件故障,该类故障极易导致系统崩溃,该文以一个非法计算故障为例,说明该方法的分析过程,实验表明其可以有效地定位故障并分析其原因。

关键词: 程序静态分析, 故障树, 故障检测

Abstract: To improve the safety and reliability of software, a method to detect and analyze software faults is introduced. This method uses the static analysis of programs to locate faults, and uses fault tree to find the source of those faults. Invalid arithmetic operation is a common kind of error in programs, which often causes the system collapse. An invalid arithmetic fault analyzing process is discussed as an example to illustrate the analyzing process. This method is proved in experiment to be effective in locating and analyzing faults.

Key words: program static analysis, fault tree, fault detection

中图分类号: