[Soot-list] load classes from jimple files

Patrick LAM plam at sable.mcgill.ca
Thu Mar 24 12:48:08 EST 2005


On Thu, 24 Mar 2005, Kin Keung Ma wrote:

> Hi, is there a way to load a class from a jimple file? That is
> something like (ideally)
>
> SootClass c = JimpleToSootClass.v().loadClass("java.lang.String.jimple",SootClass.BODIES);

Yes, this is possible.  I don't remember the precise invocation to do
this, but can find out if it's useful to you.

> If such a way exists, will the class loading take less time than
> loading a class from .class ?

Unfortunately, it is no faster to load a file from .jimple than from
.class.

pat




More information about the Soot-list mailing list