Jump to content
Tuts 4 You

How to get memory breakpoint details?


GautamGreat

Recommended Posts

GautamGreat

Hello,

I am working on a plugin for Ollydbg, which will be enable and disable breakpoint by a button. So, main problem is getting memory breakpoint details like memory breakpoint size, type and address. Please suggest some methods to get it.

Link to comment

Officially, there is no way, PDK only contains one function "Setmembreakpoint".

But you can look at the disassembly of "_Setmembreakpoint" function and see how information about memory breakpoint is stored in OllyDbg's global variables. So, your plugin could read the values directly from memory - but that will make your plugin compatible with only one version of OllyDbg. It may or may not be a problem for you.

 

  • Like 3
Link to comment
GautamGreat

Hello,

Thanks for your replay, My plan is same as you said. I just thought maybe there is some other way. 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...