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

计算机工程 ›› 2010, Vol. 36 ›› Issue (22): 69-71. doi: 10.3969/j.issn.1000-3428.2010.22.024

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

基于抽象解释的可执行代码值范围分析

窦增杰,王震宇,姚伟平,陈 楠,余 弦   

  1. (解放军信息工程大学信息工程学院,郑州 450002)
  • 出版日期:2010-11-20 发布日期:2010-11-18
  • 作者简介:窦增杰(1983-),男,硕士研究生,主研方向:信息安全,可信计算;王震宇,副教授;姚伟平、陈 楠、余 弦,硕士研 究生
  • 基金资助:

    国家“863计划”基金资助项目(2007AA01Z483);河南省高新领域重点攻关基金资助项目(082102210011)

Value Range Analysis of Executable Code Based on Abstract Interpretation

DOU Zeng-jie, WANG Zhen-yu, YAO Wei-ping, CHEN Nan, YU Xian   

  1. (Institute of Information Engineering, PLA Information Engineering University, Zhengzhou 450002, China)
  • Online:2010-11-20 Published:2010-11-18

摘要:

阐述可执行代码抽象存储空间模型的概念并给出程序运行时刻环境抽象表示技术。通过抽象解释静态逼近程序不动点语义的理论保证二进制代码数据流分析的正确性以及可计算性。基于抽象解释和单调数据流框架提出一种自动分析可执行代码变量取值范围的方法及自动获取程序循环最大迭代次数和不可执行路径,并给出数据流分析实例。

关键词: 抽象解释, 值范围分析, 数据流分析, 运行时刻环境

Abstract:

The abstract memory model and the abstract run-time environment of executable code are described. The data flow analysis is given and the correctness and computability of data flow analysis are ensured based on abstract interpretation theory. Abstract interpretation is used to propagate the variable value range information through the generic monotone dataflow framework. New methods to automatically compute the maximal counts of iterations of the loops and to identify the infeasible paths are presented. The example of analyzing program’s data flow is given.

Key words: abstract interpretation, value range analysis, data flow analysis, run-time environment

中图分类号: