I'm looking for a program (or source code written either using java or C language) which be able to take source-code (single or multiple file) and establish AST (abstract syntax tree), PDG (Program Dependency Graph), and CFG (Control Flow Graph).
I've been searching quite sometime but has yet to found any. Most of the tool I found take executable or binary files likes CodeSonar/x86 and IDAPro which does not suite my research.
If any of you know about it, please share the information with me.
Really thankful for all help given :)
2 comments:
You are right that CodeSurfer/x86 does work on executables, but the regular CodeSurfer/C works on source code. It does create ASTs, CFGs and PDGs as you require.
See www.grammatech.com for more.
Best regards,
Paul Anderson, GrammaTech. Inc.
I see. Thanks for the information.
I'll try it out.
Post a Comment