J4 ›› 2011, Vol. 38 ›› Issue (1): 59-65.doi: 10.3969/j.issn.1001-2400.2011.01.010

• 研究论文 • 上一篇    下一篇

软件维护中基于异常处理结构的别名分析技术

王黎明;陈科;许琳;张中宝;刘坚;陈平   

  1. (西安电子科技大学 软件工程研究所,陕西 西安   710071)
  • 收稿日期:2009-12-21 出版日期:2011-02-20 发布日期:2011-04-08
  • 通讯作者: 王黎明
  • 作者简介:王黎明(1982-),男,讲师,博士,E-mail: wanglm@mail.xidian.edu.cn.
  • 基金资助:

    国家自然科学基金资助项目(60903108)

Exception handling based alias analysis technique in software maintenance

WANG Liming;CHEN Ke;XU Lin;ZHANG Zhongbao;LIU Jian;CHEN Ping   

  1. (Research Inst. of Software Engineering, Xidian Univ., Xi'an  710071, China)
  • Received:2009-12-21 Online:2011-02-20 Published:2011-04-08
  • Contact: WANG Liming

摘要:

针对面向对象软件维护中的纠错性维护问题,提出了一种新的别名分析技术.通过扩展传统的控制流图,实现了对程序中的异常处理结构的分析.在扩展控制流图基础上,将别名分析过程划分为流敏感的类内分析和基于需求的类间分析两个阶段,实现了全系统的完整别名分析,从而提高了对包含异常处理结构的程序进行错误诊断的效率.

关键词: 软件维护, 别名分析, 异常处理, 控制流图

Abstract:

For the error diagnosis problem in object-oriented software maintenance, this paper proposes a novel alias analysis technique. By extending the control flow graph of a program, exception handling structures are analyzed. Based on the extended control flow graph, the process of alias analysis is divided into two phases, flow sensitive intra-class analysis and requirements based inter-class analysis, to achieve a complete alias analysis of the whole system, and effectively improves the efficiency of error diagnosis for programs which contain exception handling structures.

Key words: software maintenance, alias analysis, exception handling, control flow graph

Baidu
map