Log in

View Full Version : dump memory on function entry


bugking
August 30th, 2005, 08:41
Hi, I am new to olly and were able to set the conditional break point at the funtion entry and log parameters.
When the argment type is set to ASCII, the string was displayed in the log window and I like similar thing to happen when when the argument type is PTR. i.e. I like to see the contents of memory (maybe 10 bytes) pointed by PTR displayed on log screen.
Is this possible?
Also, in condtional break point window, how to send commands to the plugins?

Thanks in advance.

blabberer
August 30th, 2005, 10:41
you can only see some garbage non printable output it wont format the
data to hex
use [ [blah] ] [[blah+4]] notation to get the contents

to send commands to plugin
use . (dot in front)
like
.set eax = 0
.run
.a eip , db 0x90 ,0x90
.run
etc etc
you should also set the radio button to pause always
if it isnt paused these wont be sent to plugin
also . is commandline specific function

if you write a plugin with a special char you can pass that command
for example if you write a plugin to format the memory to hex instead of the ascii junk and have a special charecter ##

if you pass the command ##mycrap
you can get what you origianlly asked for
are you going to write one