C: analyzing function dependencies
Is there a tool where I can give filename + functions as input and it gives me all the functions a given function depends on and is the same for all functions found, etc. in my codebase?
Something like this will help in extracting functionality from existing codebases.
+2
George
source
to share
5 answers
You can use doxygen with dot to create a call graph - it should work fine even without the doxygen annotations in the comments.
See some examples of this here .
+2
Mark Rushakoff
source
to share
See this discussion .
+1
lhf
source
to share
I don't know of a separate tool that will do this. However, this is a supported feature of some IDEs like Source Insight
- http://www.sourceinsight.com/
0
JaredPar
source
to share
Source Navigator is a free tool that includes this feature:
http://sourcenav.sourceforge.net/
0
Eric Melski
source
to share
cxref should do what you ask.
0
sigjuice
source
to share