[Soot-list] Reusing a call-graph

Steven Arzt Steven.Arzt at cased.de
Fri Apr 8 10:36:46 EDT 2016


Hi Manas,

 

If you just need to run a transformer with your analysis multiple times, there is no need to store anything. Assume you have three transformers A, B, and C. First, A is run. Then, B happens. Afterwards, you want A to run again before C is called. You can then just have transformer C call the transform() method of A before it begins with its normal work. Is that what you need?

 

Best regards,

  Steven

 

Von: soot-list-bounces at CS.McGill.CA [mailto:soot-list-bounces at CS.McGill.CA] Im Auftrag von Denis Bogdanas
Gesendet: Freitag, 8. April 2016 01:31
An: Manas Thakur
Cc: soot-list at CS.McGill.CA
Betreff: Re: [Soot-list] Reusing a call-graph

 

I guess you could simply store the call graph object in one of your variables, instead of calling Scene.v().getCallGraph(). As long as you don't remove the already loaded classes from Scene, should work.

 

On 4 April 2016 at 04:42, Manas Thakur <manasthakur17 at gmail.com> wrote:

Hello all,

Is there a mechanism by which I can perform a whole-program analysis again and again without re-computing the call-graph? That is, could I store the call-graph in some way and tell Soot to reuse the same?

Regards,
Manas
_______________________________________________
Soot-list mailing list
Soot-list at CS.McGill.CA
https://mailman.CS.McGill.CA/mailman/listinfo/soot-list




-- 

Denis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20160408/3eaeaea0/attachment-0001.html 


More information about the Soot-list mailing list