Log in

View Full Version : BP on value?


Anonymous
November 21st, 2002, 07:03
can you set a breakpoint that activates when a register points to a specified value, like eax="abc" ?

TBD
November 21st, 2002, 07:09
psyCK0: forgot to login ?

nope, it is not possible because OD must check the registers on every instruction -> slow.
you can use conditional breakpoint on a specific API to break when [EAX]=="abc"

Cvx
November 21st, 2002, 11:24
This may sound stupid, but what exactly would be the difference between register and memory breakpoints, speedwise?

Anonymous
November 21st, 2002, 11:35
Memory breakpoints can be done in hardware (ollydbg does not interfere until breakpoint is reached). Register breakpoints must be done in software at the end of every instruction execution.