作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (15): 55-56. doi: 10.3969/j.issn.1000-3428.2010.15.019

• 软件技术与数据库 • 上一篇    下一篇

快速自动程序流分析方法研究

吴国伟,曹厚华   

  1. (大连理工大学软件学院,大连 116024)
  • 出版日期:2010-08-05 发布日期:2010-08-25
  • 作者简介:吴国伟(1973-),男,副教授、博士,主研方向:嵌入式系统;曹厚华,硕士研究生
  • 基金资助:
    国家自然科学基金资助项目(60703101)

Study on Fast Automatic Program Flow Analysis Method

WU Guo-wei, CAO Hou-hua   

  1. (Software College, Dalian University of Technology, Dalian 116024)
  • Online:2010-08-05 Published:2010-08-25

摘要: 介绍一种自动程序流信息分析方法,使用静态单赋值简化程序切片中的数据依赖关系,利用简单快速程序切片算法删除对循环控制无影响的语句和控制谓词,利用抽象解释自动精确获得程序流信息。实验结果表明,在不失精度的情况下,该方法的分析速度较普通方法快了近25%,且未假定任何程序格式,适用于任何程序格式的流分析过程。

关键词: 嵌入式软件, 静态单赋值, 程序切片, 抽象解释

Abstract: An automatic program flow analysis method is presented, which uses static single assignment to simplify data dependence relation in program slicing, and uses a simple and fast program slicing algorithm to delete statements and control predicate which has no effect on loop control, and uses abstract interpretation to get precise program flow information automatically. Experimental results show this method is more fast than the normal method up to 25%, while keeping precision. Moreover, there is no any assume on program form, so the flow analysis method is suitable for any program form.

Key words: embedded software, Static Single Assignment(SSA), program slicing, abstract interpretation

中图分类号: