Re: value of return instruction
David Hovemeyer <[email protected]>
| Newsgroups | gmane.comp.jakarta.bcel.user |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Aug 20, 2004 at 10:11:45AM +0200, Simplice Djoko wrote: > i want to no what can i do to get the return value of a method using bcel. You could try inserting a DUP or DUP2 instruction after method invocations that return a value, and then insert a call to a static instrumentation function that would take the value as a parameter. -Dave