[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Soot and class loaders



If you look at the way soot handles --soot-classpath option
(call Scene.setSootClassPath(path)), it should be doable to pass in a
JAR file.

Cheers,
Feng
---------------------------------------------------------------------
Feng Qian                                       fqian@sable.mcgill.ca
Sable Research Group                       http://www.sable.mcgill.ca
School of Computer Science, McGill University        Montreal, Canada

On Thu, 19 Dec 2002, Archie Cobbs wrote:

> Feng QIAN wrote:
> > > that analyses applets; you may want to read the class files straight
> > > out of the JAR file instead of unpacking them all into the filesystem
> > > first, etc.
> >
> > If you specify a JAR file in --soot-classpath command line option, the
> > class can be extracted by soot. No need to unpack the JAR file.
>
> Hmm, guess I didn't ask my question well enough.
>
> I'm envisioning a scenario where Soot is used as part of a larger
> application, not being run directly from the command line.
>
> Thanks,
> -Archie
>
> __________________________________________________________________________
> Archie Cobbs     *     Packet Design     *     http://www.packetdesign.com
>