|Generate control flow graph from C++ code? firstname.lastname@example.org (gii) (2004-03-19)|
|Re: Generate control flow graph from C++ code? email@example.com (TOUATI Sid) (2004-03-26)|
|Date:||19 Mar 2004 23:55:15 -0500|
|Posted-Date:||19 Mar 2004 23:55:14 EST|
I'm working on a project that tries to minimize the number of test
cases required for the coverage of a program by using the
pre/post-dominator technique. For this technique to work, I need to be
able to generate the CFGs (Control-Flow Graph) of C++ classes. These
CFGs are then transformed in pre and post dominator trees. We need
only test the leaves of the trees to assure full (or a certain
percentage of) coverage of the code. What kind of parser or compiler
tool can be used to generate a CFG automatically? Thanks a lot.
Return to the
Search the comp.compilers archives again.