| 注册
首页|期刊导航|计算机工程与科学|一个面向C和Fortran数值程序的静态分析工具

一个面向C和Fortran数值程序的静态分析工具

侯苏宁 陈立前 王昭飞 王戟

计算机工程与科学2011,Vol.33Issue(3):94-102,9.
计算机工程与科学2011,Vol.33Issue(3):94-102,9.DOI:10.3969/j.issn.1007-130X.2011.03.018

一个面向C和Fortran数值程序的静态分析工具

A Static Analyzer for Numerical Programs in C and Fortran

侯苏宁 1陈立前 1王昭飞 1王戟1

作者信息

  • 1. 并行与分布处理国防科技重点实验室,湖南,长沙,410073
  • 折叠

摘要

Abstract

The validation of program correctness is a challenge problem in computer science. The theory of abstract interpretation provides a general framework for static analysis which can deduce programs' dynamic property automatically. A value range analysis based on abstract interpretation can give the invariant relationship of variables at every program point, which is very important to compilation optimization and error examination. We propose an interprocedural framework that analyses the value range information of numerical programs, which can process C and Fortran programs. The C or Fortran source program is first preprocessed to an uniform representation, and then we draw the semantic equation which is equivalent to the source semantics. Finally, the iterative computation is done on this syntax equation to get the program invariant. Besides, we model some complex syntax structures such as array. The experiment indicates that our framework is very extensive and precise, and can process most problems brought by the usage of array.

关键词

静态分析/抽象解释/值范围分析/数值抽象域/数组抽象

Key words

static analysis/ abstract interpretation/ value range analysis/ numeric abstract domain/ array abstraction

分类

信息技术与安全科学

引用本文复制引用

侯苏宁,陈立前,王昭飞,王戟..一个面向C和Fortran数值程序的静态分析工具[J].计算机工程与科学,2011,33(3):94-102,9.

基金项目

国家自然科学基金资助项目(90818024,60803042) (90818024,60803042)

计算机工程与科学

OA北大核心CSCDCSTPCD

1007-130X

访问量0
|
下载量0
段落导航相关论文