[Soot-list] Analyzing rt.jar

Manas Thakur manasthakur17 at gmail.com
Mon Feb 8 03:49:48 EST 2016


Hi Karim,

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.

Regards,
Manas

> On 08-Feb-2016, at 1:13 PM, Karim Ali <karim.ali at cased.de> wrote:
> 
> Hello Manas,
> 
> 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.
> 
> - Karim
> 
>> On Feb 8, 2016, at 06:53, Manas Thakur <manasthakur17 at gmail.com <mailto:manasthakur17 at gmail.com>> wrote:
>> 
>> Hello all,
>> 
>> While analyzing rt.jar (with the -process-dir) option, I am getting the following error:
>> 
>> java.lang.RuntimeException: no superclass for java.lang.CharSequence                                                   │apple/laf/JRSUIConstants$Property.class
>>         at soot.SootClass.getSuperclass(SootClass.java:767)                                                            
>>>> 
>> If I use the released version of soot (soot-2.5.0), I get the following error:
>> 
>> java.lang.RuntimeException: Trying to create interface invoke expression for non-interface type: java.util.Map$Entry Us│apple/laf/JRSUIConstants$SegmentPosition.class
>> e JVirtualInvokeExpr or JSpecialInvokeExpr instead!                                                                    │apple/laf/JRSUIConstants$ScrollBarPart.class
>>         at soot.jimple.internal.JInterfaceInvokeExpr.<init>(JInterfaceInvokeExpr.java:46)                              │apple/laf/JRSUIConstants$PropertyEncoding.class
>>         at soot.jimple.Jimple.newInterfaceInvokeExpr(Jimple.java:433)
>> ...
>> 
>> Can anyone suggest what may be wrong?
>> 
>> Regards,
>> Manas
>> _______________________________________________
>> Soot-list mailing list
>> Soot-list at CS.McGill.CA <mailto:Soot-list at cs.mcgill.ca>
>> https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20160208/30e47a34/attachment.html 


More information about the Soot-list mailing list