[Soot-list] A question about using a subset of optimizaitons directly on bytecode

Eric Bodden eric.bodden at mail.mcgill.ca
Sun Aug 3 10:19:23 EDT 2008


> I was expecting to construct an instance with all the classpath
> classes present and then repeatedly call it for each class/method I
> wanted to process.

Yep that should work.

> I don't mind giving it the whole class bytecode but if I can tell it
> some subset of methods to optimize that would be ideal. Do you know if
> this is possible?

Sure. You just have to call the optimizations in question manually, on
the body of each method that you want to apply the respective
optimization to. That should be pretty easy actually.

Eric



-- 
Eric Bodden
Sable Research Group
McGill University, Montréal, Canada


More information about the Soot-list mailing list