自动合成数组不变式  被引量:3

Automatic Invariant Synthesis for Array Programs

在线阅读下载全文

作  者:李彬[1] 翟娟[1] 汤震浩[1] 汤恩义[1] 赵建华[1] LI Bin;ZHAI Juan;TANG Zhen-Hao;TANG En-Yi;ZHAO Jian-Hua(State Key Laboratory for Novel Software Technology (Nanjing University), Nanjing 210023, China)

机构地区:[1]计算机软件新技术国家重点实验室(南京大学)

出  处:《软件学报》2018年第6期1544-1565,共22页Journal of Software

基  金:国家自然科学基金(61632015;61561146394);国家重点研发计划(2016YFB1000802)~~

摘  要:提出了基于抽象解释框架自动合成数组程序不变式的方法,它能够分析按照特定顺序访问一维或者多维数组的程序,然后合成不变式.该方法将性质(包括区间全称量词性质和原子性质)集合作为抽象域,通过前向迭代数据流分析合成数组性质.证明了该方法的正确性和收敛性,并通过一些实例展示了该方法的灵活性.开发了一种原型工具,该工具在各种数组程序(包括competition on software verification中的array-examples benchmark)上的实验展示了方法的可行性和有效性.This paper proposes a method of using abstract interpretation for discovering properties about array contents in programs which manipulate one-dimensional or multi-dimensional arrays by sequential traversal. The method directly treats invariant properties(including interval universally quantified formulas and atomic formulas) set as abstract domains. It synthesizes invariants by "iterating forward" analysis. This method is sound and converges in finite time. The paper demonstrates the flexibility of the method by some examples. The method has been implemented in a prototype tool. The experiments applying the tool on a variety of array programs(including array-examples benchmark of competition on software verification) demonstrate the feasibility and effectiveness of the approach.

关 键 词:不变式合成 抽象解释 数组程序 

分 类 号:TP301[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象