Re: value of return instruction
Simplice Djoko <[email protected]>
| Newsgroups | gmane.comp.jakarta.bcel.user |
|---|---|
| Message-ID | <[email protected]> |
David Hovemeyer wrote: >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 > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] > > > thanks for your answer dave, but what can i do about the type of the parameter of the static instrumentation function because the return value of a function can take different type -- Simplice Djoko. Equipe cadp. VERIMAG. Grenoble. France.