Log in

View Full Version : Logging all CALLs and RETNs


JH1
January 15th, 2004, 09:31
Hi,

Is there a way I can log (i.e. trace) *only* CALL and RETN instructions - this would be very useful for getting a grip on what a large module is doing. And if I can do this, is there away to determine the parameters (or at least how many DWORDs) have been supplied to the function? I thought of examining the target function's epilog to see how many DWORDs it cleans the stack up by (obviously this assumes the calling convention). Does anyone have any thoughts on this? Am I faced with writing a simple plugin or is trace sufficient for my needs?

Cheers

JH

psyCK0
January 15th, 2004, 12:04
i hope you will be able to do that in the next version of my ollyscript
plugin... Coming next week i hope. No other way afaik.