[Soot-list] Fwd: Hi, Richard

Eric Bodden eric.bodden at mail.mcgill.ca
Sat Jul 4 12:10:05 EDT 2009


Jeff, apparently you generate invalid bytecode. You can try the
-validate command line switch to have Jimple bodies checked with
certain rules.

Eric

2009/6/29 Richard L. Halpert <richardlhalpert at gmail.com>:
>
>
> ---------- Forwarded message ----------
> From: <smhuang at cse.ust.hk>
> Date: Mon, Jun 29, 2009 at 5:47 AM
> Subject: Hi, Richard
> To: richardlhalpert at gmail.com
>
>
> Dear Richard,
>
> Sorry to bother you. I am using soot to do some bytecode instrumentation.
> Whenever I insert a static method invocation at some stmt point, jasmin
> throws out the following exception:
>
> Exception in thread "main" java.lang.RuntimeException: Negative Stack
> height has been attained in :<soot.lesson2.TestInvoke: void foo()>
> StackHeight: -1
>
> Could you please give me some help on this?
>
> Thanks,
> Jeff
>
>
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>
>



-- 
Eric Bodden
Sable Research Group, McGill University
Montréal, Québec, Canada


More information about the Soot-list mailing list