Generating Function Call-Graph Doxygen+Graphviz
Asked Answered
B

1

6

How can I generate a function call graph using Doxywizard with Graphviz installed? (I'm aware of how to get doxygen to produce call & caller graphs for c functions, but it didn't help)

Currently, I've tried the following config: http://pastebin.com/PjLjwjxU, but I can't find the graphs anywhere (I've never used the tool for this matter, so it may not be a technical issue, but more of a user problem).

Barque answered 30/12, 2012 at 16:0 Comment(8)
i have used this once, i can't remember every bits but i do remember that you need the dot package to use the graphviz generator so you should specify the platform/OS that you are using because you probably do not have something installed in the right way.Haywire
perhaps you are interested in this: #5374214Seduce
The image of the call graph is in the generated html directory...Sheilasheilah
How does this handle indirect function calls?Posterior
I'm using Windows 8, and I know it should be generated in the html folder.Barque
@Ira Baxter, here's an example: link, I don't if it's this you're asking for.Barque
@GCC404: Your link doesn't answer the question of indirect function calls. If A calls B, it is pretty easy to produce an arc A -> B. If A calls *p, and p happens to contain a pointer to B, one would like an arc A -> B anyway. In a fair size C program, there tend to be a fair number of such indirect calls. I didn't think Doxygen knew enough about function pointers to figure this out; but I'm asking to find out.Posterior
The pastebin link has expired. This is obviously a strategy to ask the question without leaving the full and interesting information in the long term. Also, who would upvote the only answer when it's a problem of configuration specific to the person who asked the question.Errancy
B
0

By rebooting and removing the DOT_PATH specification, it solved the problem.

Barque answered 31/12, 2012 at 12:31 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.