[Soot-list] Soot and reflection

Eric Bodden eric.bodden at mail.mcgill.ca
Sat Mar 4 15:26:11 EST 2006


Hello.

I am trying to optimize an application which uses reflection (i.e.
dynamic class loading) in whole-jimple mode (i.e. with the -W flag). My
question is if this is potentially unsound.

All the classes the program could potentially load are in my
"process-dir", so they should be loaded by Soot. However, I assume that
there will be no call edges to classes which are only dynamically
loaded.

So how does Soot behave in such situations? Will the optimization still
be sound in such a setting? 

Thanks,
Eric


--
Eric Bodden
Sable Research Group, McGill University
Montreal, Canada 



More information about the Soot-list mailing list