计算机科学 ›› 2006, Vol. 33 ›› Issue (9): 253-256.

• 计算机网络与信息安全 • 上一篇    下一篇

一种C程序断言的全自动静态验证方法

易晓东 杨学军   

  1. 国防科技大学计算机学院,长沙410073
  • 出版日期:2018-11-17 发布日期:2018-11-17
  • 基金资助:
    Supported by National 863 Special Software Project unber Grant No. 2002AA1Z2101 (863重大软件专项).

YI Xiao-Dong ,YANG Xue-Jun (College of Computer, National Univ. of Defense Technology, Changsha 410073)   

  • Online:2018-11-17 Published:2018-11-17

摘要: 在软件程序中插入断言是保证软件质量的一个简单但有效的方法,人们常使用测试的方法检验程序中的断言是否满足,但测试很难保证验证的完备性。本文提出了一种可以保证完备性的全自动静态断言验证方法,其基本思想是基于程序切片符号执行程序的所有执行路径,并证明路径上的所有断言都满足。为了尽量减少符号执行的语句的数量,使用了基于反例的抽象精化方法,从一个粗略的切片标准开始迭代地符号执行一爷路径,根据验证的反例自动生成下一次迭代过程中使用的精化的切片标准。包含循环的程序可能具有无穷多条程序执行路径,提出的基于符号执行上下文不

关键词: 断言验证 基于程序切片的符号执行 基于反例的抽象精化 静态分析

Abstract: Inserting assertions into program source codes is a simple but effective way to ensure software quality. One usually checks the assertions through testing, but the testing based verification can't guarantee completeness. We present in this paper a full-au

Key words: Assertion verification,Symbolic execution based on program slicing, CEGAR, Static analysis

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!