[prev in list] [next in list] [prev in thread] [next in thread]
List: soot-list
Subject: Re: [Soot-list] creating Program Dependency Graph
From: Cheng Zhang <cheng.zhang.stap () gmail ! com>
Date: 2012-04-18 6:50:20
Message-ID: CAC9QkdVqYS7yyutHh1tm=pyZh9LWMYDLxWrvyuxcb4pMbi9UMg () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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@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@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@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@sable.mcgill.ca
> >> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
> >
> >
>
[Attachment #5 (text/html)]
Hi Upulee,<div><br></div><div>I am sorry that I did not try to use the API in Soot \
for graph visualization.</div><div>If you cannot find an existing API there, perhaps \
you can try to use third-party libraries, such as:</div> <div><a \
href="http://www.graphviz.org/">http://www.graphviz.org/</a></div><div><br></div><div>There \
may not be so much work to do \
:)</div><div><br></div><div>Best,</div><div>Cheng</div><div><br><div \
class="gmail_quote">On Wed, Apr 18, 2012 at 10:22 AM, Upulee Kanewala <span \
dir="ltr"><<a href="mailto:upuleegk@gmail.com">upuleegk@gmail.com</a>></span> \
wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex">Hi Cheng,<br> <br>
Thank you very much for your help. I was able to create the PDG.<br>
<br>
Is there a method to convert the generated PDGs in to DOT format and<br>
save it. I saw that there are methods to convert a CFG to DOT format<br>
but could not find a method for PDGs.<br>
<br>
Thanks.<br>
<span class="HOEnZb"><font color="#888888">Upulee<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On Tue, Apr 17, 2012 at 12:06 PM, Cheng Zhang<br>
<<a href="mailto:cheng.zhang.stap@gmail.com">cheng.zhang.stap@gmail.com</a>> \
wrote:<br> > Hi Upulee,<br>
><br>
> I guess you want to take a look at the<br>
> interface: soot.toolkits.graph.pdg.ProgramDependenceGraph<br>
> and its implementing class HashMutablePDG.<br>
><br>
> They should be available in version 2.4.0 or later.<br>
><br>
> Best,<br>
> Cheng<br>
><br>
> On Wed, Apr 18, 2012 at 1:25 AM, Upulee Kanewala <<a \
href="mailto:upuleegk@gmail.com">upuleegk@gmail.com</a>> wrote:<br> >><br>
>> Hi,<br>
>><br>
>> I want create a program dependency graph (containing both data and<br>
>> control dependencies of a method). Can I use Soot to do this? If<br>
>> someone can point me to an example that is highly appreciated.<br>
>><br>
>> Thanks.<br>
>> Upulee<br>
>> _______________________________________________<br>
>> Soot-list mailing list<br>
>> <a href="mailto:Soot-list@sable.mcgill.ca">Soot-list@sable.mcgill.ca</a><br>
>> <a href="http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list" \
target="_blank">http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list</a><br> \
><br> ><br>
</div></div></blockquote></div><br></div>
_______________________________________________
Soot-list mailing list
Soot-list@sable.mcgill.ca
http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic