[Soot-list] creating Program Dependency Graph
cheng.zhang.stap at gmail.com
Wed Apr 18 02:50:20 EDT 2012
I am sorry that I did not try to use the API in Soot for graph
If you cannot find an existing API there, perhaps you can try to use
third-party libraries, such as:
There may not be so much work to do :)
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.
> 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>
> >> 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://www.sable.mcgill.ca/mailman/listinfo/soot-list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Soot-list