[Soot-list] Mac OS Mojave

Ching Ping LEE cplee at computer.org
Fri Jan 18 08:35:35 EST 2019


I have been trying to run Soot on a Java class but I keep getting hit with a roadblock. First off all documents points to rt.jar which I simply can’t find on the Mac, even with JRE 1.8 installed.

I tried copying a version of rt.jar from a windows installation and placed it into the same directory as the sootclasses-trunk-jar-with-dependencies.jar and the class file, but then I get hit with this error:

java.lang.IllegalArgumentException
	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:185)
	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:168)
	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:439)
	at soot.asm.AsmClassSource.resolve(AsmClassSource.java:65)
	at soot.SootResolver.bringToHierarchyUnchecked(SootResolver.java:240)
	at soot.SootResolver.bringToHierarchy(SootResolver.java:214)
	at soot.SootResolver.bringToSignatures(SootResolver.java:279)
	at soot.SootResolver.processResolveWorklist(SootResolver.java:172)
	at soot.SootResolver.resolveClass(SootResolver.java:134)
	at soot.Scene.loadClass(Scene.java:942)
	at soot.Scene.loadClassAndSupport(Scene.java:927)
	at soot.Scene.loadNecessaryClass(Scene.java:1729)
	at soot.Scene.loadNecessaryClasses(Scene.java:1741)
	at soot.Main.run(Main.java:241)
	at soot.Main.main(Main.java:141)


Anyone else have any luck with soot on java on Mac OS Mojave?

regards
CP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20190118/2f81dc7e/attachment.html>


More information about the Soot-list mailing list