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
c


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


source to share


See this discussion .



+1


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


source to share


Source Navigator is a free tool that includes this feature:

http://sourcenav.sourceforge.net/

0


source to share


cxref should do what you ask.

0


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics