soot icon indicating copy to clipboard operation
soot copied to clipboard

How can I execute jb pack without all the optimization process? The optimization cost a lot of time but I just want to generate Jimple code for the subsequent analysis.

Open buriedpot opened this issue 4 years ago • 2 comments

How can I execute jb pack without all the optimization process?

The optimization cost a lot of time but I just want to generate Jimple code for the subsequent analysis.

I do not want soot to do all the optimization in jb. But I find that almost all of the phases in jb pack is optimization process. If I just want soot to generate jimple without optimization, which phases should I turn off?

buriedpot avatar Oct 29 '21 08:10 buriedpot

You don't want to do that. Because Jimple is produced from stack code, unoptimized Jimple will be extremely verbose and hard to read.

patricklam avatar Oct 31 '21 04:10 patricklam

You don't want to do that. Because Jimple is produced from stack code, unoptimized Jimple will be extremely verbose and hard to read.

Thanks a lot. But I want to ask if I can store the jimple's result as buffer file in local, and after that I can use the jimple's code to do analysis instead of class files. During that time, can I turn off the optimization of "jj" pack?

buriedpot avatar Oct 31 '21 05:10 buriedpot