[Soot-list] creating Program Dependency Graph

Cheng Zhang cheng.zhang.stap at gmail.com
Wed Apr 18 02:50:20 EDT 2012


Hi Upulee,

I am sorry that I did not try to use the API in Soot for graph
visualization.
If you cannot find an existing API there, perhaps you can try to use
third-party libraries, such as:
http://www.graphviz.org/

There may not be so much work to do :)

Best,
Cheng

On Wed, Apr 18, 2012 at 10:22 AM, Upulee Kanewala <upuleegk at gmail.com>wrote:

> Hi Cheng,
>
> Thank you very much for your help. I was able to create the PDG.
>
> Is there a method to convert the generated PDGs in to DOT format and
> save it. I saw that there are methods to convert a CFG to DOT format
> but could not find a method for PDGs.
>
> Thanks.
> Upulee
>
>
>
> On Tue, Apr 17, 2012 at 12:06 PM, Cheng Zhang
> <cheng.zhang.stap at gmail.com> wrote:
> > Hi Upulee,
> >
> > I guess you want to take a look at the
> > interface: soot.toolkits.graph.pdg.ProgramDependenceGraph
> > and its implementing class HashMutablePDG.
> >
> > They should be available in version 2.4.0 or later.
> >
> > Best,
> > Cheng
> >
> > On Wed, Apr 18, 2012 at 1:25 AM, Upulee Kanewala <upuleegk at gmail.com>
> wrote:
> >>
> >> Hi,
> >>
> >> I want create a program dependency graph (containing both data and
> >> control dependencies of a method). Can I use Soot to do this? If
> >> someone can point me to an example that is highly appreciated.
> >>
> >> Thanks.
> >> Upulee
> >> _______________________________________________
> >> Soot-list mailing list
> >> Soot-list at sable.mcgill.ca
> >> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20120418/1d5519fa/attachment.html 


More information about the Soot-list mailing list