Fork me on GitHub
摘要: 一、Graphviz + CodeViz简单介绍CodeViz是《Understanding The Linux Virtual Memory Manager》的作者Mel Gorman写的一款分析C/C++源代码中函数调用关系的open source工具(类似的open source软件有egypt、ncc)。其基本原理是给 GCC 打个补丁(如果你的gcc版本不符合它的要求还得先下载正确的gcc版本),让它在编译每个源文件时 dump 出其中函数的 call graph,然后用 Perl 脚本收集并整理调用关系,转交给Graphviz绘制图形(Graphviz属于后端,CodeViz属于前 阅读全文
posted @ 2013-11-29 19:40 Alexia(minmin) 阅读(57188) 评论(17) 推荐(15) 编辑
无觅关联推荐,快速提升流量