Log in

View Full Version : execute functions in ollydbg


hernan
January 20th, 2005, 05:30
is there a way to call a function in ollydbg?

like you do on gdb for example (you can call strlen() just from the debuggers cmdline), is there a way to do that?

or do I have to do it on my own? (copying code on the stack, changeing eip, ec et etc etc, what a mess... )

thanks, bye!

focht
January 25th, 2005, 00:29
Hi,

you might look at "commandbar" plugin.
If you need gdb/windbg command(line) stuff, extend the plugin whatever...

If you think of calling debuggee functions with params at runtime i suggest either inline patching (jump gate + code cave) or better use a custom injector (dll).

Regards

hernan
January 25th, 2005, 04:04
I only wanted to know if there was sthg already in place to call functions in ollydbg, I already know how to do it myself.

thank you anyways.