期刊文献+

用daikon发现循环不变式 被引量:2

Discovering Loop Invariants Using Daikon
下载PDF
导出
摘要 随着软件行业的深入发展,软件存在的问题与日俱增,程序正确性受到了广泛的关注,形式化方法是解决程序正确性的基本途径,而发现程序循环不变式是证明程序正确性的关键。本文介绍了循环不变式的基本概念以及计算不变式的基本方法;用JAVA重写了Siemens的replace C程序,并以JAVA和C两种语言的replace程序为例,对不变式动态探测工具daikon进行了深入的实验研究,试验结果揭示了daikon在探测循环语句不变式方面的不足,依此提出了改进daikon探测循环不变式的措施。 With the rapid development of software engineering, the correctness of programs becomes more and more important. The formalization method is a crucial approach to prove the correctness of programs whose key point is to discover the proper loop invariants. In the paper, the basic concepts and computational methods of loop invariants are briefly introduced. The Siemens replacing c program is rewritten in java that is used to test daikon with various cases. The experimental results shows that daikon has some intrinsicin drawbacks on discovering loop invariant. Accordingly, some potential improvements was proposed for daikon on purpose.
作者 许欢 王以松
出处 《贵州大学学报(自然科学版)》 2012年第4期77-81,共5页 Journal of Guizhou University:Natural Sciences
基金 国家自然科学基金(NFS60963009)
关键词 形式化 循环不变式 daikon replace formalization loop invariants daikon
  • 相关文献

参考文献13

  • 1Floyd R W. Assigning Meaning to Programs[ J]. Proceedings of the American Mathematical Soc-iety Symposium on Applied Mathemat- ics, 1967 (19) : 19 - 32.
  • 2Hoare C. A. R. An Axiomatic Basis for Computer Pro gramming [ J]. Communications of the ACM, 1969,12 ( 10 ) :576 - 580.
  • 3Dijkstra E W. A Discipline of Programming [ M ]. En- glewood liffs, NJ : Prentice-Hall, 1976.
  • 4David Giles. The Science of Programming [ M 1. New York Heidel- berg Berlin : Springer-Verlag, 1981.
  • 5Carlo A. Furia and Bertrand Meyer. Inferring Loop Invariants using Postconditions [ J ]. In Fields of logicand computation, 2010 (6300) :277 - 300.
  • 6Flanagan C. Qaddeer S. Predicate Abstraction for software Verifica- tion[ J]. In Proc. 29thACM SIGPLAN- I-GACT Symposium on Prin- ciples of Programming Languages ( POPL), 2002,37 ( 1 ) : 191 - 202.
  • 7Csallner C, Tillmann N, Smaragdakis Y. Dysy: Dynamic symbolic execution for invariant inference[ C ]. ICSE ,2008:281 - 290.
  • 8M. D. Ernst,J. Cockrell, W. G. Griswold, andD. Notkin. Dynamically discovering likely program invariants to support program evolution [ J ]. IEEE Transactions of Software Engineering ,2001,27 (2) :99- 123.
  • 9屈婉霞,李暾,郭阳,杨晓东.谓词抽象技术研究?[J].软件学报,2008,19(1):27-38. 被引量:17
  • 10M. D. Ernst, J. H. Perkins, P. J. Guo, S. McCamant, C. Pacheco, M. S. Tschantz, and C. Xiao. The Daikon system for dynamic detec- tion of likely invariants [ J ]. Science of Computer Programming, 2007,69 ( 1 - 3 ) :35 - 45.

二级参考文献48

  • 1D Gries.The Science of Programming[M],Springer Vedag,1981.
  • 2Dijkstra E W.A Discipline of Programming[M].Prentice Hall,Englewood Cliffs, 19~6.
  • 3D Gries.A note on a standard strategy for developing Loop Invariants and Loops[J].Science of Computer Programming, 1982.
  • 4Xue Jinyun.Two New Strategies for Developing Loop Invariants and Their Applications[J].Joumal of Computer Science and Technology, 1993;8(2).
  • 5薛锦云.论循环不变式及其开发技术[C]..第四次全国软件工程会议论文集[C].北京,1991..
  • 6薛锦云,1991年
  • 7薛锦云,Science of Computer Programming,1988年,11卷,161页
  • 8李昭仁,计算机学报,1985年,8卷,1期,8页
  • 9Baumgartner J, Kuehlmann A, Abraham J. Property checking via structural analysis. In: Barrett CW, ed. Proc. of the 14th Int'l Conf. on Computer Aided Verification. Berlin: Springer-Verlag, 2002. 151-165.
  • 10Ball T, Rajamani SK. Generating abstract explanations of spurious counterexamples in C programs. Technical Report, MSR-TR-2002-09, Redmond: Microsoft Research, Microsoft Corporation, 2002. http://research.microsoft.com/research/pubs/view.aspx-msr_id=MSR-TR-2002-09

共引文献55

同被引文献7

引证文献2

二级引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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