[Soot-list] how to get call graph in dot file

Richard L. Halpert richhal22 at gmail.com
Tue May 10 13:51:46 EDT 2011


If you don't mind diving into the code, Soot does contain some utilities for
writing dot files:  soot.util.dot.DotGraph.  You would have to grab the call
graph (probably from within a SceneTransformer) and write it into a DotGraph
yourself.

-Richard

On Tue, May 10, 2011 at 10:32 AM, Eric Bodden <
bodden at st.informatik.tu-darmstadt.de> wrote:

> Hello.
>
> If I am not mistaken then Soot has no built-in support for dumping the
> call graph in dot format.
>
> Eric
>
> On 10 May 2011 15:27, tang <mei.tang at inf.ethz.ch> wrote:
> > Hi
> >
> > Just a very basic and quick question.
> > I'm using soot eclipse plug-in, and I want to see the call graph
> > generated by soot (or spark). I have tried a lot of different
> > configurations, but still no dot file generated. Can you show me how to
> > configure soot to get it?
> >
> > For example, currently, I use whole-program mode for general options,
> > call-graph constructor enabled, spark enabled, but this don't work. And
> > I cannot find any help from the documents.
> >
> > Many thanks!
> >
> > Mei tang
> >
> >
> > _______________________________________________
> > Soot-list mailing list
> > Soot-list at sable.mcgill.ca
> > http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
> >
>
>
>
> --
> Dr. Eric Bodden, http://bodden.de/
> Principal Investigator in Secure Services at CASED
> Coordinator of the CASED Advisory Board of Study Affairs
> PostDoc at Software Technology Group, Technische Universität Darmstadt
> Tel: +49 6151 16-5478    Fax: +49 6151 16-5410
> Mailing Address: S2|02 A209, Hochschulstraße 10, 64289 Darmstadt
> _______________________________________________
> 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/20110510/4973b13f/attachment.html 


More information about the Soot-list mailing list