• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2011, Vol. 33 ›› Issue (3): 108-112.doi: 10.3969/j.issn.1007130X.2011.

• 论文 • Previous Articles     Next Articles

Detection Techniques of Program Invariants

LIU Shukun 1,YANG Xiaohua2   

  1. (1.Department of Computer Science and Technology,Hunan International Economics University,Changsha 410205;
    2.School of Computer Science and Technology,University of South China,Hengyang 421001,China )
  • Received:2010-03-11 Revised:2010-06-23 Online:2011-03-25 Published:2011-03-25

Abstract:

Design by contract is an important technology which can be used to improve software quality. Contract can express the basic properties which are  invisible to the users and the conditions used to guarantee the correct results of programs. Program invariant is a kind of contract including class invariants, preconditions invariants and postconditions invariants. The program invariants can be applied to the range of program verification and software test. In this paper, the current mainstream research technology of detecting program invariants is described and the main process and key methods of discovering the invariants are shown.

Key words: program invariant;detection technology;program instrument;running trace