Log in

View Full Version : conditional log expression question


kotzeesser
December 4th, 2004, 13:47
hi

i need to print out two or more memoryvalues in one condition log breakpoint

i tried expressions like "[esp+4] + [esp+8]" but it wont work.

how could i do this?

thxalot

focht
December 5th, 2004, 07:18
Hi,

i dont think its possible to evaluate multiple expressions at one log condition using the dialog gui (you get error "extra characters on line".

A quick solution would be to "waste" multiple log breakpoints before the desired instruction (if possible).

Another solution would be to use ollydbg's plugin api (but not the way the gui uses it).
You have to setup conditional bp (like you do normally) but without multiple expressions because the underlying ollydbg doesnt handle it.
When the debugger breaks and the plugin callback is entered you could evaluate any number of expressions one-by-one using api (and log them out) before resuming.

Regards

kotzeesser
December 6th, 2004, 09:09
ok, thx