parse C source flow to extract program tree

C

Crooter

Hello colleagues,

Could anybody tell me if there are existing open-source solutions to
extract the program tree using a program source code? I'm aware that
GCC has program flow information and tree respectively for
optimization, but I'm looking for something less complicated.
An ideal case would be a small program based on a parser with YACC
compatible grammar which extracts the program flow tree.

Best regards,
C
 
J

Joachim Schmitz

Crooter said:
Hello colleagues,

Could anybody tell me if there are existing open-source solutions to
extract the program tree using a program source code? I'm aware that
GCC has program flow information and tree respectively for
optimization, but I'm looking for something less complicated.
An ideal case would be a small program based on a parser with YACC
compatible grammar which extracts the program flow tree.
Not really OT here (guess it'd be topical in comp.unix.programmer), but try
looking for cflow.

Bye, Jojo
 
U

user923005

Hello colleagues,

Could anybody tell me if there are existing open-source solutions to
extract the program tree using a program source code? I'm aware that
GCC has program flow information and tree respectively for
optimization, but I'm looking for something less complicated.
An ideal case would be a small program based on a parser with YACC
compatible grammar which extracts the program flow tree.

http://sourceforge.net/search/?type_of_search=soft&type_of_search=soft&words=flowchart
FCOL
 
C

Crooter

Thank you, the tools you mentioned are quite good for human analysis
of source code (graphical representation especially), but I was
looking for something more 'internal' or intermediate. Still the ideas
in the tools can be interesting.

To be honest, I'm surprised with the speed you answered. I wish I
could help anybody so fast. :)
 
C

CBFalconer

Crooter wrote: *** and top-posted. Fixed. ***
.... snip ...

Thank you, the tools you mentioned are quite good for human
analysis of source code (graphical representation especially),
but I was looking for something more 'internal' or intermediate.
Still the ideas in the tools can be interesting.

To be honest, I'm surprised with the speed you answered. I wish
I could help anybody so fast. :)

Please do not top-post. Your answer belongs after (or intermixed
with) the quoted material to which you reply, after snipping all
irrelevant material. I fixed this one. See the following links:

--
<http://www.catb.org/~esr/faqs/smart-questions.html>
<http://www.caliburn.nl/topposting.html>
<http://www.netmeister.org/news/learn2quote.html>
<http://cfaj.freeshell.org/google/> (taming google)
<http://members.fortunecity.com/nnqweb/> (newusers)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top