Log in

View Full Version : how to break when a memory address is accessed?


mcnorth
September 13th, 2005, 00:44
I'm working with RtlRunEncodeUnicodeString and have identified how charachters are encrypted and where they are store. (starting with 17bde8) Now I want to break when they are being accessed by the program. I thought about break on access (from memory map) but I think that pertains to the entire block of memory and I want to break when specific bytes are accessed.

Any ideas or suggestions? Be forwarned (as if it isn't obvious) I'm really green at this.

Thanks!!!

Ricardo Narvaja
September 13th, 2005, 05:07
in the dump mark the bytes you need, and right click BREAKPOINT -MEMORY ON ACCESS and stop only when read, write of execute only the bytes tou mark.

Ricardo

blabberer
September 13th, 2005, 08:01
also hardware break on read (byte word dword) should do the trick of breaking on specific memory

mcnorth
September 13th, 2005, 19:27
Awesome! Thanks guys.