[Soot-list] Exception: resolving level SIGNATURES / HIERARCHY
Eric Bodden
eric.bodden at mail.mcgill.ca
Sat May 27 13:05:52 EDT 2006
Hello Arvind and Jim.
Sorry for the late reply but I had email problems.
I guess you both face the same problem. Could you please try to check
your commandline options and if that does not help, use the following
method:
SootResolver.resolveClass(String,int)
For example:
SootResolver.v().resolveClass("java.lang.String", SootClass.SIGNATURES);
Hope that helps.
Eric
> -----Original Message-----
> From: soot-list-bounces at sable.mcgill.ca [mailto:soot-list-
> bounces at sable.mcgill.ca] On Behalf Of Arvind
> Sent: Thursday, May 25, 2006 12:56 PM
> To: soot-list at sable.mcgill.ca
> Subject: [Soot-list] Exception: resolving level SIGNATURES / HIERARCHY
>
>
> Hi,
>
> I ran soot in whole program mode and got the following exception at
> this line
>
> SootClass source = Scene.v().getSootClass("java.lang.String");
>
> ---------------------------------------------------------------------
>
> Exception in thread "main" java.lang.RuntimeException: This operation
> requires resolving level SIGNATURES but java.lang.String is at
> resolving level HIERARCHY
> at soot.SootClass.checkLevel(SootClass.java:126)
> at soot.SootClass.getMethod(SootClass.java:327)
> at
> pack1.CallGraphPruner._getCompulsoryNodes(CallGraphPruner.java:249)
> at
>
pack1.CallGraphPruner._getCallGraphEntryPoints(CallGraphPruner.java:213
> )
> at pack1.CallGraphPruner.<init>(CallGraphPruner.java:108)
> at pack1.Test.main(Test.java:61)
>
> -----------------------------------------------------------------
>
> Any help would be highly useful.
>
> Regards,
> D.Arvind.
>
>
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
More information about the Soot-list
mailing list