[Soot-list] Running analysis on jimple before optimizations?

Charles Hathaway hathac at rpi.edu
Wed Apr 27 15:47:12 EDT 2016


Hi all,

I'm new to Soot, and am currently trying to find a way to analyze the 
Jimple code before the optimizations occur in 
soot.JimpleBodyPack.applyPhaseOptions. What's the best approach to doing 
this?

I suppose I could try turning off the jb phase in the run options, but 
that would require me to make sure that option is added to every launch. 
I would prefer if there was a way to insert a phase before the 
optimizations occur, without preventing them from happening. I modified 
the code to add in a "pre-jimple body" phase, and that seems to work, 
but I'm not sure if that's something that would belong in the main codebase.

Thanks,
   Charles


More information about the Soot-list mailing list