期刊文献+

基于Assume-Guarantee搜索复用的C程序验证方法

Verification of C Programs Using Assume-Guarantee Reuse of Searching
下载PDF
导出
摘要 提出了一种基于Assume-Guarantee搜索复用的验证方法,对C程序源代码进行验证.其思想是,在程序的每点处都引入一个保守假设条件,并假设从任意点出发,变量取值满足该点假设条件的所有执行路径都不会违背给定性质,然后根据这些假设条件遍历所有可能的执行路径以验证给定的时序安全性质,并在遍历的过程中验证这些假设条件是否满足,如果不满足,则不断对其精化和加强.验证方法总是在保证假设条件可靠的前提下尽量使用较弱的条件,使得大量的执行路径由于满足假设条件而可以搜索复用,从而降低验证代价.应用该方法验证了Linux操作系统中SSL协议的实现程序openssl-0.9.6c满足SSL协议的初始握手规范.实验结果表明,该方法具有良好的实用性和可扩展性. This paper presents a novel method, namely Assume-Guarantee reuse of searching, to verify C programs with respect to temporal safety properties. Its idea is to introduce a conservative assume condition for each program location, and to assume that every path starting from the program location will never violate the property if the evaluation of its variables at that location satisfy the assume condition. All the possible execution paths are traversed based on the assume conditions, and the temporal safety property is checked on the fly. If some assume condition is too weak, it will be continually strengthened based on the spurious counterexamples. The presented verification method can try to adopt the weak assume conditions so as to let more execution paths satisfy the conditions and to reuse the searching efforts. Therefore, a significant reduction of verification cost can be achieved. The verification method has been used to verify the initial handshake process of SSL protocol based on the C source code of openssl-0.9.6c. The experimental results demonstrate that the method is both effective and practical.
出处 《软件学报》 EI CSCD 北大核心 2007年第9期2130-2140,共11页 Journal of Software
基金 Supported by the National Natural Science Foundation of China under Grant No.60233020(国家自然科学基金) the National High-Tech Ressearch and Development Plan of China under Grant No.2006AA01Z429(国家高技术研究发展计划(863)) the Program for New Century Excellent Talents in University under Grant No.NCET-04-0996(新世纪优秀人才支持计划)
关键词 Assunle.Guarantee搜索重用 变量抽象 程序近似语义 部分最强后置条件 Assume-Guarantee reuse of searching variable abstraction approximated program semantics partialstrongest post-condition
  • 相关文献

参考文献29

  • 1Graf S,Saidi H.Construction of abstract state graphs with PVS.In:Grumberg O,ed.Proc.of the Computer-aided Verification (CAV'97).LNCS 1254,Haifa:Springer-Verlag,1997.72-83.
  • 2Ball T,Majumdar R,Millstein T,Rajamani SK.Automatic predicate abstraction of C programs.In:Proc.of the Programming Language Design and Implementation (PLDI 2001).Snowbird:ACM Press,2001.203-213.http://portal.acm.org/citation.cfm?id= 381694.378846
  • 3Ball T,Rajamani SK.Generating abstract explanations of spurious counterexamples in C programs.Technical Report,MSR-TR-2002-09,Microsoft Research,Microsoft Corporation,2002.http://research.microsoft.com/research/pubs/view.aspx? msr_tr_id=MSR-TR-2002-09
  • 4Henzinger TA,Jhala R,Majumdar R,Sutre G.Software verification with BLAST.In:Proc.of the 10th Int'l SPIN Workshop (SPIN 2003),LNCS 2648,Portland:Springer-Verlag,2003.235-239.http://www-cad.eecs.berkeley.edu/tah/Publications/software_ verification_with_blast.pdf
  • 5Chaki S,Clarke E,Groce A.Modular verification of software components in C.In:Clarke LA,Dillon LK,Tichy W,eds.Proc.of the 25th Int'l Conf.on Software Engineering (ICSE 2003).Portland:IEEE Computer Society.2003.385-395.
  • 6Chaki S,Ouaknine J,Yorav K,Clarke E.Automated compositional abstraction refinement for concurrent C programs:A two-level approach.In:Proc.of the 2nd Workshop on Software Model Checking (SoftMC).2003.http://www.cs.cmu.edu/~chaki/ publications/SOFTMC-2003.pdf
  • 7Chaki S,Clarke E,Sinha N,Thati P.Automated assume-guarantee reasoning for simulation conformance.In:Etessami K,Rajamani SK,eds.Proc.of the Computer Aided Verification (CAV).LNCS 3576,Edinburgh:Springer-Verlag,2005.534-547.
  • 8Chaki S,Ivers J,Sharygina N,Wallnau K.The ComFoRT reasoning framework.In:Etessami K,Rajamani SK,eds.Proc.of the Computer Aided Verification (CAV).LNCS 3576,Edinburgh:Springer-Verlag,2005.164-169.
  • 9Dingel J.Computer-Assisted assume/guarantee reasoning with VeriSoft.In:Clarke LA,Dillon LK,Tichy W,eds.Proc.of the 25th Int'l Conf.on Software Engineering (ICSE 2003).Portland:IEEE Computer Society,2003.138-148.
  • 10Henzinger TA,Minea M,Prabhu V.Assume-Guarantee reasoning for hierarchical hybrid systems.In:Benedetto MDD,Sangiovanni-Vincentelli AL,eds.Proc.of the Hybrid Systems:Computation and Control 4th Int'l Workshop HSCC 2001.Springer-Verlag,2001.275-290.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部