C/C++ call-graph utility for Windows platform [closed]

半城伤御伤魂 提交于 2019-11-30 04:42:05

Have you tried SourceInsight's call graph feature?

nagul

Have you tried doxygen and codeviz ?

Doxygen is normally used as a documentation tool, but it can generate call graphs for you with the CALL_GRAPH/CALLER_GRAPH options turned on.

Wikipedia lists a bunch of other options that you can try.

Good old cflow works fine for C. See here for an implementation.

Any decent static analysis tool should have this functionality (as well as all the other stuff that such tools do). Wikipedia has a good list of such tools.

Another group of tools that may be worth checking out are coverage tools. The call graph generated by the coverage tool will contain only the calls that actually take place during a run of the program. Initially this may be more helpful to you than a full call graph. I'm unable to make any suggestions on this for Windows, but for linux projects I highly recommend gcov and lcov.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!