View Full Version : Hardware breakpoints?
psyCK0
February 27th, 2004, 11:50
Is there any way to get values of DR0-DR3 from OllyDbg? Or any other way to check what hardware breakpoints are set?
Lord_Looser
February 27th, 2004, 13:16
OllyDbg menu – Debug – Hardware Breakpoints
or in C++
CONTEXT Context;
Context.ContextFlags = CONTEXT_DEBUG_REGISTERS;
GetThreadContext( hThread, &Context );
see for more details
http://www7.informatik.uni-erlangen.de/~msdoerfe/embedded/386html/s12_ 02.htm ("http://www7.informatik.uni-erlangen.de/~msdoerfe/embedded/386html/s12_02.htm")
psyCK0
February 27th, 2004, 15:56
Lord_Looser: Thanks, I was looking for an API in the plugin SDK and never thought of just doing it the usual way.. =)
blabberer
February 27th, 2004, 22:58
psycho
right click in register pane (where eax,etc is seen) and click view debug registers shows all the debug registers are you searching for this or is it some thing else
psyCK0
February 28th, 2004, 01:19
oh me anon: I was after a method to get them programmatically in a plugin. Its solved now. =)
Ricardo Narvaja
February 28th, 2004, 12:13
Yes, you produce and exception and go to the exception handler, in the stack, the 3 o 4 value point to the values of the four HARDWARE BPX, try
Ricardo
Powered by vBulletin® Version 4.2.2 Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.