[Soot-list] Analyzing rt.jar

Karim Ali karim.ali at cased.de
Mon Feb 8 02:43:14 EST 2016


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> 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
> 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/d57a5b57/attachment-0001.html 


More information about the Soot-list mailing list