检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《小型微型计算机系统》2014年第3期543-548,共6页Journal of Chinese Computer Systems
基 金:湖北省自然科学基金面向项目(2010CDB04001)资助;武汉大学计算机软件工程国家重点实验室开放基金项目(SKLSE20080705)资助;华中师范大学基本科研业务基金项目(CCNU11A02007)资助
摘 要:软件质量对使用软件的各行各业有很深的影响,因此验证软件是否满足某些关键性质成为一个重要的问题.提出一种基于C语言的源程序级验证方法,其主要思想是将C源程序转换为与控制流图等价的Kripke结构,将这一Kripke结构作为程序的抽象模型,用CTL描述期望程序具备的性质,然后利用NuSMV模型验证工具检验该模型是否满足所期望的性质公式,从而达到检验程序是否满足该性质的目的.基于这种思想,设计并实现了一个自动将C源程序和其待检验的性质转换为NuSMV的输入文件并对其进行验证的环境原型.Software quality have deep influence on all walks of life that use software, so verifying if a software meets the required properties has become a key issue. A verification method at source program level based on C program is proposed in this paper. The main idea of the method is to translate C source program into Kripke structure that is equivalent to control flow graph, use the Kripke structure as an abstract model of the program, describe desired program properties in CTL formula, and use model checker NuSMV to verify the model so as to verify whether the program satisfies the properties. Based on this idea, an environment prototype is designed and implemented that automatically translates C source program and properties into the NuSMV input file to verify it.
关 键 词:模型验证 KRIPKE结构 控制流图 NUSMV
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.123