一种静态的Java程序函数调用关系图的构建方法①
2012 年 第 21 卷 第 5 期 计 算 机 系 统 应 用
①
一种静态的Java 程序函数调用关系图的构建方法
古 辉,李荣荣
(浙江工业大学 计算机学院,杭州 210023)
摘 要:在程序理解中,函数之间的调用关系是程序理解研究的重要内容。一个函数往往代表了一种具体功能
或问题求解的实现,构建出函数调用图有助于对程序的理解。以 JAVA 语言为研究对象,介绍了几种函数调用图
的构建方法,并比较了它们的优劣性,并在此基础上提出了一种函数调用图的构建方法
关键词:程序理解;函数调用图;构建函数调用图
A Static Function Calls Relationship Chart Building Methods of Java
GU Hui, LI Rong-Rong
(School of Computer, Zhejiang University of Technology, Hangzhou 210023, China)
Abstract: In program understanding the research of function relationship occupies a very important position. A function
often represents a specific performance or problem solving realization. The constructing of function invocation figure is
very helpful to the understanding of program. This paper us