[Soot-list] Novice Soot issue

Todd Proebsting proebsting at cs.arizona.edu
Mon Mar 20 09:14:03 EDT 2017


I tried the simple command below on a Mac and got the crash below, which
makes little sense to me since I'm trying to access a builtin class
(java.io.ObjectInputStream).

Am I making a simple mistake?  Any help is appreciated.

Todd Proebsting

$ java -cp soot-2.5.0.jar soot.Main -cp .:/Library/Java/
JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/rt.jar
java.io.ObjectInputStream
Soot started on Thu Mar 16 15:17:24 MST 2017
Unknown tag in constant pool: 16 at entry 764
Exception in thread "main" java.lang.RuntimeException: Could not load
classfile: java.io.ObjectInputStream
at soot.coffi.Util.resolveFromClassFile(Util.java:75)
at soot.CoffiClassSource.resolve(CoffiClassSource.java:39)
at soot.SootResolver.bringToHierarchy(SootResolver.java:215)
at soot.SootResolver.processResolveWorklist(SootResolver.java:155)
at soot.SootResolver.resolveClass(SootResolver.java:124)
at soot.Scene.tryLoadClass(Scene.java:417)
at soot.Scene.loadBasicClasses(Scene.java:990)
at soot.Scene.loadNecessaryClasses(Scene.java:1061)
at soot.Main.run(Main.java:167)
at soot.Main.main(Main.java:141)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20170320/63c08f3e/attachment.html>


More information about the Soot-list mailing list