Re: [OT] Control Flow Graph(CFG) into Abstract Syntax Tree(AST)

2012-09-14 Thread Mike Dupont
thanks for sharing, will check this out. mike On Fri, Sep 14, 2012 at 9:05 PM, James Courtier-Dutton wrote: > Hi, > > I know most compilers go from AST to CFG. > I am writing a decompiler, so I was wondering if anyone knew of any > documents describing how best to get from CFG to AST. > The decom

[OT] Control Flow Graph(CFG) into Abstract Syntax Tree(AST)

2012-09-14 Thread James Courtier-Dutton
Hi, I know most compilers go from AST to CFG. I am writing a decompiler, so I was wondering if anyone knew of any documents describing how best to get from CFG to AST. The decompiler project is open source. https://github.com/jcdutton/libbeauty The decompiler already contains a disassembler and a

Re: Control Flow Graph

2006-11-15 Thread Diego Novillo
albino aiello wrote on 11/15/06 10:14: Thanks, but i want to use the .cfg file to construct directly a tree_cfg in C language using the TREE SSA libraries of gcc. There is no such thing as a tree ssa library. If you are adding a pass to GCC, then you already have the CFG at your disposal. I

Re: Control Flow Graph

2006-11-15 Thread albino aiello
fg to manipulate. Can you help me? Thanks to all, lastnote Diego Novillo ha scritto: [EMAIL PROTECTED] wrote on 11/15/06 06:06: Hi all, i must use cfg library to build and manipulate a control flow graph. I have read more but i have not found an answer to my question: It is possible to bu

Re: Control Flow Graph

2006-11-15 Thread Diego Novillo
[EMAIL PROTECTED] wrote on 11/15/06 06:06: Hi all, i must use cfg library to build and manipulate a control flow graph. I have read more but i have not found an answer to my question: It is possible to build a cfg structure directly from a file .cfg ?? How i can building a cfg from a file

Control Flow Graph

2006-11-15 Thread [EMAIL PROTECTED]
Hi all, i must use cfg library to build and manipulate a control flow graph. I have read more but i have not found an answer to my question: It is possible to build a cfg structure directly from a file .cfg ?? How i can building a cfg from a file?? Thanks to all, lastnote