Re: Soot integration

Chris Pickett <[email protected]> Wed, 15 Mar 2006 16:13:40 -0500
Newsgroups gmane.comp.java.vm.sablevm.devel
Message-ID <[email protected]>
Philippe Laporte wrote:
> Hi,
>     What kind of a SOOT integration does Sable currently have?

Hi Philippe,

There is no integration of Soot into SableVM (Sable is the name of our 
research group, so SableVM is the correct name).

However, since SableVM correctly parses attributes as defined by the 
Java 1.4 class file specification, it is possible to compute information 
in Soot and then have SableVM read that information by introducing 
custom attribute reading methods.

Additionally, Soot can be used as a stand-alone bytecode compilation, 
analysis, and transformation framework, and its output will naturally be 
understood by SableVM since all valid bytecode is correctly interpreted 
(or should be---please report bugs if not).

And finally, since Soot is written in Java, it can be run by SableVM.

The only actual integration of Soot into a Java runtime system that I 
know of is in JCVM.  In any event, Soot is too large to include on an 
embedded device, so I think you're stuck using it for ahead-of-time 
compilation.

> 
> IIRC that was one of the initial objectives...

I don't remember seeing that.  Where did you read this?  We should 
probably update the documentation.

Have you or one of your programmers had a chance to check out the 
sources for SableVM and/or SableJIT and try building them on x86 yet?

Cheers,
Chris