we have some legacy code written in C and would like to modify it and further develop it. Does anybody know of any tools that could draw structure diagrams from source code, which will help us understand more about it?
It really depends on the code. I've found in the past that structure diagrams are useful only on certain code layouts. Structure diagrams for state machines aren't very much help. They aren't really useful on multi-threaded systems either.
Sometimes it is easier to set various breakpoints, send some data through and see where it ends up, then work out what you need from there.
Doxygen is the best (I think documentation system for C++ projects, but it understands C too and can be used with uncommented specially (legacy, for example) codes...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.