计算机工程2011,Vol.37Issue(9):47-50,4.DOI:10.3969/j.issn.1000-3428.2011.09.016
带控制流的静态函数调用分析方法
Method for Static Function Call Analysis with Control Flow
摘要
Abstract
This paper puts forward a new method for the static function call analysis with control flow, by which can get the information of control flow and function call through creating a model to carry out static analysis of the source code.Comparing with existing tools like calltree and Source Insight, the function call flow graph generated by using the new method can not only reveal the call order of the functions, but also help to understand the complexity of the logic of the program.With the help of the new function call flow graph, the code reader has a better mastery of control flow of the program and a better understanding of the structure and design of the program.It also provides the basis of convenience to analyse control conditions of the program, design path coverage test cases and optimization for the program.关键词
静态分析/控制流/函数调用/程序优化Key words
static analysis/ control flow/ function call/ program optimization分类
信息技术与安全科学引用本文复制引用
陈忠湘,詹瑾瑜,郝宗波..带控制流的静态函数调用分析方法[J].计算机工程,2011,37(9):47-50,4.基金项目
"核高基"重大专项"数字电视嵌入式软件平台及产业化"子课题"数字电视嵌入式软件开发平台"(2009ZX01039-003-001-002) (2009ZX01039-003-001-002)
中央高校基本科研业务费专项基金资助项目(ZYGX2009J062) (ZYGX2009J062)