期刊文献+

基于证据自动机的软件回归验证

Software regression verification based on witness automata
下载PDF
导出
摘要 为了在多版本程序验证中利用邻近版本之间的共享信息,提取并重用之前版本证据自动机中的循环不变式,提出基于证据自动机的软件回归验证。首先通过证据预处理生成适用于新版程序的证据文件,然后在辅助不变式增强的k-归纳方法的基础上实现了检验新证据文件及验证新版程序的回归验证过程,最后通过对比实验比较了不使用不变式信息的直接验证与结合或不结合数据流分析的三种回归验证的验证性能。与直接验证相比,不结合与结合数据流分析的回归验证的验证耗时分别减少了49%与75%,而内存消耗分别减少了18%与50%。实验结果表明,当程序满足其验证属性时,基于证据自动机的回归验证能极大地提高验证效率,而将证据自动机与数据流分析相结合的验证方式能得到更好的验证效果。 In order to utilize the shared information between adjacent versions in multi-version program verification,and extract and reuse loop invariants in the witness automaton belonging to the previous version,a software regression verification based on witness automata was proposed.Firstly,the witness file applicable to the new version of programs was generated by witness preprocessing.Then,based on the auxiliary-invariant-enhanced k-induction,the regression verification process was implemented to validate the new witness file and verify the new version of programs.Finally,performance of three kinds of regression verification was compared by contrast experiments,including the so-called“direct”verification that did not use invariant information and verification methods combined with or without data flow analysis.Compared with the direct verification,the time consumption of the regression verification combined with or without data flow analysis was reduced by 49%and 75%respectively,and the memory consumption was reduced by 18%and 50%respectively.The results show that when the program satisfies its verification specification,the regression verification based on witness automata can greatly improve verification efficiency,and the regression method combined with data flow analysis can make it even better.
作者 贾尚坤 贺飞 JIA Shangkun;HE Fei(School of Software,Tsinghua University,Beijing 100084,China)
出处 《计算机应用》 CSCD 北大核心 2018年第10期2990-2995,3012,共7页 journal of Computer Applications
基金 国家自然科学基金资助项目(61672310)~~
关键词 回归验证 证据自动机 不变式重用 可配置程序分析检测工具 k-归纳 regression verification witness automata invariant reuse Configurable Program Analysis checker(CPAchecker) k-induction
  • 相关文献

参考文献3

二级参考文献17

  • 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..
  • 6KERN C,GREENSTREET M R.Formal verification in hardware design:a survey[J].ACM Transactions on Design Automation of Electronic Systems,1999,4 (2):123-128.
  • 7HU ALAN J.Formal hardware verification with BDDs:an introduction[C]//1997 IEEE Pacific Rim Conference on Communications,Computers,and Signal Processing.Victoria,Canada:IEEE Press,1997:677-682.
  • 8HUANG Shi-yu,CHENG Kwang-ting.Formal Equivalence Checking and Design Debugging[ M].Boston:Kluwer Academic Publishers,1998.
  • 9CLARKE E M,GRUMBERG O,PELED D A.Model Checking[M].Cambridge,Massachusetts:the MIT Press,2001.
  • 10CLARKE E M,EMERSON E A,SISTLA A P.Automatic verification of finite-state concurrent systems using temporal logic specification[J].ACM Transactions on Programming Languages and Systems,1986,8(2):244-263.

共引文献34

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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