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.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to