计算机科学 ›› 2010, Vol. 37 ›› Issue (5): 118-122174.

• 软件工程 • 上一篇    下一篇

一种基于模型检验程序分析技术的前端工具研究

叶俊民,谢茜,金聪,李明,张振方   

  1. (华中师范大学计算机科学系 武汉430079)
  • 出版日期:2018-12-01 发布日期:2018-12-01
  • 基金资助:
    本文受武汉大学计算机软件工程国家重点实验室开放基金项目(编号:SK LSE20080705),湖北省自然科学基金(编号:2008CDB349 ),华中师范大学校基金(编号:2009A12),华中师范大学中央高校基木科研业务费项目(编号:CCNU09Y01009和CCNU09Y01013)资助。

Research on a Front-end Tool for Program Analysis Based on Model Checking

YE Jun-min,XIE Qian,JIN Cong,LI Ming,ZHANG Zhen-fang   

  • Online:2018-12-01 Published:2018-12-01

摘要: 提出了一种用模型检验技术对程序进行分析的方法,其主要思想是将C/C++源代码转换为与控制流图等价的Kripke结构,用CTL公式描述待验证的源程序性质,使用NuSMV模型检验工具实施具体的程序分析。基于这一思想,设计并实现了一个自动将C/C+ }源代码转换为NuSMV输入的工具。所做的实验验证表明,该方法能够有效地对程序进行分析。

关键词: 模型检验,程序分析,自动NuSMV输入工具

Abstract: A model checking-based program analysis method was proposed. The main steps include translating C/C++ source code into Kripke structure that is equivalent to control flow graph, describing properties of source code in CTL formula and verifying the program using model checker NuSMV. Based on this idea, a tool which is used to automatically translate C/C++ source code into NuSMV input was designed and implemented. The experiments show that this approach is able to analyze the program effectively.

Key words: Model checking, Program analysis,Automatic NuSMV input tool

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!