期刊文献+

递归子程序的依赖性分析及其应用 被引量:12

Dependence Analysis of Recursive Subprograms and Its Applications
在线阅读 下载PDF
导出
摘要 程序依赖性是一种重要的程序分析、理解与维护方法 ,广泛应用于软件工程及软件逆向工程的各个方面 ,但递归子程序间的依赖分析一直是依赖性分析中的难点 .为此 ,该文提出了一种新的递归子程序间的依赖性分析方法 ,它首先分析子程序内部的各种依赖关系 ;然后 ,结合子程序调用图分析子程序参数间的依赖关系 ;最后 ,通过模拟递归子程序的执行过程来分析它们之间的依赖关系 .利用该文提供的方法可得到比较精确的递归子程序间的依赖关系 . The paper proposes a new approach to analyze dependencies among recursive subprograms. Firstly, we discuss methods to analyze the data dependence and control dependence of a single subprogram in detail. Then, by according to the subprogram call graphs, we compute dependence relationships among formal parameters of subprograms i.e. the parameter dependence sets. Then, using the information obtained in the precious steps and by simulating the executions of the recursive subprograms, we propose methods to analyze dependencies among the recursive calls in two cases: direct recursive and indirect recursive calls. The proof of the correctness of our method is presented at the same time. We also present one of the most important applications of dependence analysis - program slicing, using the method presented.
出处 《计算机学报》 EI CSCD 北大核心 2001年第11期1178-1184,共7页 Chinese Journal of Computers
基金 国家自然科学基金 ( 60 0 730 12 ) 江苏省自然科学基金 江苏省"三三三"人才基金 高等学校重点实验室访问学者基金 南京大学软件新技术国家重点实验室基金资助
关键词 程序分析 递归子程序 程序依赖性 软件工程 软件逆向工程 Computer aided analysis Computer software maintenance Recursive functions Reverse engineering
  • 相关文献

参考文献11

  • 1杨洪,徐宝文.PSS/Ada程序切片系统的设计与实现[J].计算机研究与发展,1997,34(3):217-222. 被引量:8
  • 2徐宝文.一种逆向程序流依赖性分析方法及其应用[J].计算机学报,1993,16(5):385-392. 被引量:9
  • 3徐宝文 陈振强 等.基于信赖性分析的面向对象Ada95程序切片[J].软件学报,2001,12:208-213.
  • 4Chen Zhenqiang,ACM SIGPLAN Notices,2001年,36卷,4期,33页
  • 5Chen Zhenqiang,ACM SIGPLAN Notices,2001年,36卷,4期,41页
  • 6Chen Zhenqiang,Wuhan Univ J Nat Sci,2001年,6卷,1/2期,398页
  • 7Li Shenzhi,Wuhan Univ J Nat Sci,2001年,6卷,1/2期,405页
  • 8徐宝文,软件学报,2001年,12卷,增刊,208页
  • 9Chen Zhenqiang,LNCS.2043,2001年,100页
  • 10Chen Zhenqiang,IEEE APAQS 2000,2000年,39页

二级参考文献3

共引文献14

同被引文献119

引证文献12

二级引证文献32

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部