[Soot-list] reverse control flow graph
Eric Bodden
eric.bodden at ec-spride.de
Mon Apr 2 12:04:28 EDT 2012
Hi Phil.
On 2 April 2012 17:46, Phil Pratt-Szeliga <pcpratts at syr.edu> wrote:
> Hi Eric,
>
> There is no way to get from a DirectedGraph<Unit> to a
> DirectedGraph<Block>.
Well, then why not just use InverseGraph<Block> instead? BlockGraph
implements DirectedGraph<Block>, so that should work.
> The new constructor in BlockGraph would be like this:
> public BlockGraph(DirectedGraph<Unit> graph, Body body){
> so that retrieving the original body would still work in BlockGraph.getBody
I think that would be the better solution, although I am not sure this
is still necessary given my above comments.
Eric
More information about the Soot-list
mailing list