[Soot-list] Analyzing rt.jar

Karim Ali karim.ali at cased.de
Mon Feb 8 03:56:08 EST 2016


The Coffi frontend is not able to process the recent JDKs. You should use the default ASM one.

- Karim

> On Feb 8, 2016, at 09:49, Manas Thakur <manasthakur17 at gmail.com> wrote:
> 
> 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 <mailto: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 <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/9fbbe7ff/attachment.html 


More information about the Soot-list mailing list