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


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


See this discussion .



+1


source


I don't know of a separate tool that will do this. However, this is a supported feature of some IDEs like Source Insight

0


source


Source Navigator is a free tool that includes this feature:

http://sourcenav.sourceforge.net/

0


source


cxref should do what you ask.

0


source







All Articles