LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Program to convert C source code to flowchart? (https://www.linuxquestions.org/questions/linux-software-2/program-to-convert-c-source-code-to-flowchart-819344/)

tommyttt 07-12-2010 02:27 AM

Program to convert C source code to flowchart?
 
I've read the threads here and on other forums and searched the web but haven't found a program to fit my desires.

I want to take some existing C source code that is both undocumented and uncommented (definitely not mine)and convert it into a flowchart or other format that is more easily understood.

I've run across many programs of this type for winblows but I don't want that OS on my system regardless of price!

Any links or suggestions would be appreciated.

Thanks, Tom

Elv13 07-12-2010 06:36 AM

Umbrello support C++ import to generate UML. C is hard to convert in UML Class diagram (flowchart) because it is not using classes, so the code is less structured and much harder to represent graphically. You can try to import it in umbrello and then export it again with the documentation (doxygen) autogenerated by Umbrello then run dozywizard + graphviz support. It will generate yet an other set of pictures for you, probably more relevant than the ones designed for C++ and used in C.

cantab 07-12-2010 08:17 AM

Quote:

Originally Posted by tommyttt (Post 4030539)
I've run across many programs of this type for winblows but I don't want that OS on my system regardless of price!

You could try running the Windows programs under Wine. No guarantees it will work, but it might.


All times are GMT -5. The time now is 01:33 PM.