[Soot-list] whole-program optimization error
Sébastien Adam
sebastien.adam at gmail.com
Tue Feb 7 20:36:15 EST 2006
Hi,
I used the following class files to process SableCC-3.2:
sootclasses-2289.jar, jasminclasses-2289.jar, and polyglotclasses-1.3.1.jar.
I sent the following command-line to Soot:
java soot.Main --cp
--W--app --process-dir C:\SableCCBenchmark\bin
Note that I erased the classpath details. Then I got the following error:
Soot started on Tue Feb 07 12:26:14 EST 2006
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
ca.mcgill.sable.soot.launching.SootThread.run(SootThread.java:83)
Caused by: java.lang.RuntimeException: There is no main class set!
at soot.Scene.getMainClass(Scene.java:141)
at soot.EntryPoints.application(EntryPoints.java:66)
at soot.EntryPoints.all(EntryPoints.java:95)
at soot.Scene.getEntryPoints(Scene.java:572)
at soot.Scene.getReachableMethods(Scene.java:619)
at
soot.jimple.toolkits.callgraph.CallGraphBuilder.<init>(CallGraphBuilder.java
:60)
at
soot.jimple.toolkits.callgraph.CHATransformer.internalTransform(CHATransform
er.java:42)
at soot.SceneTransformer.transform(SceneTransformer.java:39)
at soot.Transform.apply(Transform.java:89)
at soot.RadioScenePack.internalApply(RadioScenePack.java:60)
at
soot.jimple.toolkits.callgraph.CallGraphPack.internalApply(CallGraphPack.jav
a:40)
at soot.Pack.apply(Pack.java:110)
at soot.PackManager.runWholeProgramPacks(PackManager.java:357)
at soot.PackManager.runPacks(PackManager.java:304)
at soot.Main.run(Main.java:179)
at soot.Main.main(Main.java:153)
... 5 more
I did the same thing with SableCC-2.18.2 and I got the same results. The
same class files was optimized correctly using the O option.
Can somebody help me?
Send me an email to obtain my class files (SableCC 3.2).
Regards,
Sébastien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20060207/a9b767ec/attachment-0001.htm
More information about the Soot-list
mailing list