<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Karim,<div class=""><br class=""></div><div class="">I am trying to analyze jdk8 (u45) on OS X. I am using the older “-coffi” frontend from soot-nightly-build. Further, I am keeping rt.jar in a separate directory and giving its address in the “-process-dir” option.</div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Manas</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 08-Feb-2016, at 1:13 PM, Karim Ali &lt;<a href="mailto:karim.ali@cased.de" class="">karim.ali@cased.de</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello Manas,<div class=""><br class=""></div><div class="">Which JDK (version, OS, etc) are you analyzing? It seems it’s an OS X one as well. For some older version of Java on OS X, there are some additional jars you need to add on the soot classpath to be able to properly analyze rt.jar.<br class=""><div class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class="">-&nbsp;Karim</div>

</div>
<br class=""><div class=""><blockquote type="cite" class=""><div class="">On Feb 8, 2016, at 06:53, Manas Thakur &lt;<a href="mailto:manasthakur17@gmail.com" class="">manasthakur17@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello all,<div class=""><br class=""></div><div class="">While analyzing rt.jar (with the -process-dir) option, I am getting the following error:</div><div class=""><br class=""></div><div class=""><div class=""><font face="Courier New" class="">java.lang.RuntimeException: no superclass for java.lang.CharSequence &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; │apple/laf/JRSUIConstants$Property.class</font></div><div class=""><font face="Courier New" class="">&nbsp; &nbsp; &nbsp; &nbsp; at soot.SootClass.getSuperclass(SootClass.java:767) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</font></div></div><div class=""><font face="Courier New" class="">…</font></div><div class=""><br class=""></div><div class="">If I use the released version of soot (soot-2.5.0), I get the following error:</div><div class=""><br class=""></div><div class=""><div class=""><font face="Courier New" class="">java.lang.RuntimeException: Trying to create interface invoke expression for non-interface type: java.util.Map$Entry Us│apple/laf/JRSUIConstants$SegmentPosition.class</font></div><div class=""><font face="Courier New" class="">e JVirtualInvokeExpr or JSpecialInvokeExpr instead! &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;│apple/laf/JRSUIConstants$ScrollBarPart.class</font></div><div class=""><font face="Courier New" class="">&nbsp; &nbsp; &nbsp; &nbsp; at soot.jimple.internal.JInterfaceInvokeExpr.&lt;init&gt;(JInterfaceInvokeExpr.java:46) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;│apple/laf/JRSUIConstants$PropertyEncoding.class</font></div><div class=""><font face="Courier New" class="">&nbsp; &nbsp; &nbsp; &nbsp; at soot.jimple.Jimple.newInterfaceInvokeExpr(Jimple.java:433)</font></div></div><div class=""><font face="Courier New" class="">...</font></div><div class=""><br class=""></div><div class="">Can anyone suggest what may be wrong?</div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Manas</div></div>_______________________________________________<br class="">Soot-list mailing list<br class=""><a href="mailto:Soot-list@cs.mcgill.ca" class="">Soot-list@CS.McGill.CA</a><br class=""><a href="https://mailman.cs.mcgill.ca/mailman/listinfo/soot-list" class="">https://mailman.CS.McGill.CA/mailman/listinfo/soot-list</a><br class=""></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>