Re: [Sablevm-developer] using a Soot-transformed classpath
Brought to you by:
egagnon
From: Chris P. <chr...@ma...> - 2004-03-06 04:58:26
|
Chris Pickett wrote: > Hi, > > I want to make SableVM use Soot-transformed versions of the non-native > portion of Classpath. I have the output from Soot in the application > directory where I try to run SableVM, but the classes aren't getting > loaded even with '-c .' specified as an option. > > What is the best way to do this? > > For an application that transforms just gnu.* and java.* I tried: > > cd ~/lib/sablevm/classpath > mv gnu gnu-old > mv java java-old > ln -s ~/path-to-sootOutput/java > ln -s ~/path-to-sootOutput/gnu > > but that didn't work (cannot create vm). I also tried cd ~/lib/sablevm/classpath mv gnu gnu-old mv java java-old cp -R ~/path-to-sootOutput/gnu . cp -R ~/path-to-sootOutput/java . and still fails, which indicates that it isn't a problem related to native code calling methods in untransformed classes and not finding them (I thought for a minute the answer to my second question was also the answer to my first question). Is there some reason why inserting an empty method call (which actually gets recognized and transformed by me) before and after every method call would make SableVM fail if the transformation was applied to all of classpath? Anyway, in the meantime, I'll look into the details of why I "cannot create vm" with gdb. Cheers, Chris |