[Soot-list] Error in the static inliner phase?
Mario Mendez
mario at cs.unm.edu
Thu May 3 15:19:10 EDT 2007
Don't worry, it's not urgent at all, just something I found yesterday.
Thank you for your real-time help, guys!!!!!
Eric Bodden wrote:
> So far I can confirm that this is a bug. However, we are quite busy at
> the moment. So if it's not urgent for you, I will enter it in bugzilla
> and we will take care of it later.
>
> Eric
>
> On 03/05/07, Mario Mendez <mario at cs.unm.edu> wrote:
>> Hi again,
>>
>> When invoking soot in a simple Hello World class
>>
>> package examples;
>>
>> public class Hello {
>>
>> public static void main(String[] args) {
>> System.out.println("Hello world");
>> }
>>
>> }
>>
>>
>> with the Whole program mode activated (copy of the ant parameters):
>>
>> <arg value = "-f"/>
>> <arg value = "n"/>
>> <arg value = "-W"/>
>> <arg value = "-include-all"/>
>> <arg value = "--app"/>
>> <arg value = "-output-dir"/>
>> <arg value = "${ciao_lib}"/>
>> <arg value = examples.Hello"/>
>>
>>
>>
>> I obtain the following error:
>>
>> [java] Soot started on Thu May 03 12:24:00 MDT 2007
>> [java] [Call Graph] For information on where the call graph may be
>> incomplete, use the verbose option to the cg phase.
>> [java] Exception in thread "main" java.lang.NullPointerException
>> [java] at soot.util.HashChain.insertBefore(HashChain.java:169)
>> [java] at
>> soot.PatchingChain.insertBefore(PatchingChain.java:135)
>> [java] at
>> soot.jimple.toolkits.invoke.SiteInliner.inlineSite(SiteInliner.java:154)
>> [java] at
>> soot.jimple.toolkits.invoke.StaticInliner.internalTransform(StaticInliner.java:144)
>>
>> [java] at
>> soot.SceneTransformer.transform(SceneTransformer.java:39)
>> [java] at soot.Transform.apply(Transform.java:89)
>> [java] at soot.ScenePack.internalApply(ScenePack.java:44)
>> [java] at soot.Pack.apply(Pack.java:110)
>> [java] at
>> soot.PackManager.runWholeProgramPacks(PackManager.java:407)
>> [java] at soot.PackManager.runPacks(PackManager.java:326)
>> [java] at soot.Main.run(Main.java:203)
>> [java] at soot.Main.main(Main.java:146)
>> [java] at soot.CiaoMain.main(Unknown Source)
>> [java] Java Result: 1
>>
>>
>> , which is not raised when the static inlining phase is deactivated (add
>> this above):
>> <arg value = "-p"/>
>> <arg value = "wjop.si"/>
>> <arg value = "off"
>>
>> _______________________________________________
>> 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