当前位置:主页 > 科技论文 > 软件论文 >

常用循环摘要的自动生成方法及其应用

发布时间:2018-11-07 18:27
【摘要】:采用形式化方法证明软件的正确性,是保障软件可靠性的有效方法.而对循环语句的分析与验证,是形式化证明中的关键,对循环语句的处理一直是程序分析与验证中的一个难点问题.提出使用循环语句修改的内存和这些内存中存放的新值来描述循环语句的执行效果,并将该执行效果定义为循环摘要.同时,提出一种自动生成循环摘要的方法,可以为操作常用数据结构的循环自动生成循环摘要,包含嵌套循环.此外,基于循环摘要,可以自动生成循环语句的规约,包括循环不变式、循环的前置条件以及循环的后置条件.已经实现了自动生成循环摘要以及循环规约的方法,并将它们集成到验证工具Accumulator中.实验结果表明,该方法可以有效地生成循环摘要,并生成多种类型的规约,从而辅助软件程序的形式化证明,提高验证的自动化程度和效率,减轻验证人员的负担.
[Abstract]:Using formal method to prove the correctness of software is an effective method to guarantee the reliability of software. The analysis and verification of circular statements is the key to formal proof, and the processing of circular statements is always a difficult problem in program analysis and verification. The memory modified by the loop statement and the new values stored in the memory are proposed to describe the execution effect of the loop statement, and the execution effect is defined as a loop summary. At the same time, a method of generating loop summary automatically is proposed, which can generate loop summary automatically for the loop of common data structure, including nested loop. In addition, based on the loop summary, the specification of the loop statement can be generated automatically, including the loop invariant, the precondition of the loop and the post-condition of the loop. The method of automatically generating loop summary and loop specification has been implemented and integrated into the verification tool Accumulator. The experimental results show that this method can effectively generate circular abstracts and generate various kinds of protocols, which can help the formal proof of software programs, improve the automation and efficiency of verification, and reduce the burden on verifiers.
【作者单位】: 计算机软件新技术国家重点实验室(南京大学);南京大学软件学院;南京大学计算机科学与技术系;
【基金】:国家自然科学基金(61632015,61561146394) 国家重点研发计划(2016YFB1000802)~~
【分类号】:TP311

【参考文献】

相关期刊论文 前6条

1 聂楚江;刘海峰;苏璞睿;冯登国;;一种面向程序动态分析的循环摘要生成方法[J];电子学报;2014年06期

2 刘自恒;曾庆凯;;一种自适应的循环不变式生成方法[J];计算机工程;2013年06期

3 刘刚;陈意云;张志天;;循环不变形状图的自动推断[J];电子技术;2011年08期

4 邢建英;李梦君;李舟军;;CILinear:一个线性不变式自动构造工具[J];计算机科学;2010年12期

5 马竹根;王灿明;;利用基因表达式编程自动生成循环不变式[J];计算机与数字工程;2009年07期

6 毕忠勤;曾振柄;郭远华;;非线性循环不变式的自动生成[J];计算机应用;2008年07期

【相似文献】

相关期刊论文 前10条

1 杨淑群,吴文兵,丁树良;从集合论的角度分析循环不变式[J];吉林化工学院学报;2005年03期

2 毕忠勤;曾振柄;郭远华;;非线性循环不变式的自动生成[J];计算机应用;2008年07期

3 刘自恒;曾庆凯;;一种自适应的循环不变式生成方法[J];计算机工程;2013年06期

4 游晓明,刘升;试论循环不变式和囿界函数在循环研制中的地位和作用[J];湖北师范学院学报(自然科学版);1998年06期

5 王晓东,吴英杰,傅仰耿,傅志祥;算法归纳设计策略与循环不变式[J];福州大学学报(自然科学版);2004年04期

6 石海鹤;肖正兴;薛锦云;;循环不变式开发新策略及其应用[J];计算机工程与应用;2006年04期

7 马竹根;刘槐德;;基于遗传规划寻找循环不变式的方法[J];计算机时代;2009年02期

8 万松松;薛锦云;谢武平;;循环不变式开发技术研究[J];计算机工程与科学;2010年09期

9 李云清,,薛锦云;利用循环不变式理解和开发程序[J];计算机与现代化;1996年02期

10 余伟;;循环不变式在程序设计教学中的应用[J];科技风;2014年14期

相关博士学位论文 前2条

1 翟娟;程序验证中的规约生成与验证技术研究[D];南京大学;2016年

2 陈石坤;面向程序验证的循环不变式自动构造技术研究[D];国防科学技术大学;2010年

相关硕士学位论文 前4条

1 万松松;循环不变式开发技术研究[D];江西师范大学;2008年

2 杨庆红;递归问题循环不变式开发新策略的研究与应用[D];江西师范大学;2003年

3 刘自恒;循环不变式生成方法研究与改进[D];南京大学;2012年

4 杨黄磊;单元赋值语句型循环不变式的开发方法研究[D];江西师范大学;2014年



本文编号:2317217

资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/ruanjiangongchenglunwen/2317217.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户a4819***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com