获取代码图形函数调用图的工具 [英] Tools to get a pictorial function call graph of code

查看:16
本文介绍了获取代码图形函数调用图的工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个很大的工作空间,里面有很多 C 代码的源文件.尽管我可以使用对象浏览器查看从 MS VS2005 中的函数调用的函数,在 MSVC 6.0 中也可以看到,这仅显示从非图形类型的显示中的特定函数调用的函数.此外,它没有显示从 main() 开始调用的函数,然后是从它调用的函数,等等,深入到叶级函数.

I have a large work space which has many source files of C code. Although I can see the functions called from a function in MS VS2005 using the Object browser, and in MSVC 6.0 also, this only shows functions called from a particular function in a non-graphical kind of display. Additionally, it does not show the function called starting from say main(), and then the functions called from it, and so on, deeper inside to the leaf level function.

我需要一个工具,它会给我一个函数调用图,其中函数 calleecaller 通过箭头或类似的东西连接,从 main() 到最后一级函数,或者至少以图形方式显示一个 C 源文件中所有函数的调用图.如果我能打印这张图就好了.

I need a tool which will give me a function call graph pictorially with functions callee and caller connected by arrows or something like that, starting from main() to the last level of function, or at least showing a call graph of all functions in one C source file pictorially. It would be great if I could print this graph.

有什么好的工具可以做到这一点(不必是免费工具)?

Any good tools to do that (need not be free tools)?

推荐答案

  • 埃及(免费软件)

    ncc

    KcacheGrind (GPL)

    Graphviz (CPL)

    CodeViz (GPL)

    这篇关于获取代码图形函数调用图的工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆