tags:

views:

114

answers:

4

Imagine you have a huge peace of C spaghetti-code covering most of existing anti-patterns. You need to realise what calls exactly what quickly. And you cannot build it - only very few people can do it. Is there any software which could make architecture diagram out of existing source code?

+4  A: 

You can use Doxygen to generate call graphs and caller graphs. Make sure to enable the "OPTIMIZE_OUTPUT_FOR_C" option.

It won't give you a full architecture diagram, but at least you will be able to check out the basic structure.

Soo Wei Tan
something wrong with doxygen.org right now, but http://www.doxygen.nl/ is working
mcl
A: 

If you use vs2008, you can get Visual Programming Flow Chart.

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=0ce3cbbd-7fc7-410b-8c2c-e18d1c60a6cd

Henry Gao
A: 

Perhaps SciTools can help you out.

raven
A: 

Visustin can be used to create flowcharts and UML activity diagram style charts from source code, but it's not cheap.

Rob Kam