Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results
The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.
Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/
I have a user mode executable which setup a file mapping by following steps
1. CreateFileMapping (file handle is INVALID_HANDLE_VALUE)
2. MapViewOfFile (got a memory address)
I set a memory write break point on the returned address
ba w 4 addr
the debugger never break on this break point, but the content of the breaking region do changed. So how to break in this situation ? Many thanks!!
|Upcoming OSR Seminars|
|OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!|
|Internals & Software Drivers||19-23 June 2023||Live, Online|
|Writing WDF Drivers||10-14 July 2023||Live, Online|
|Kernel Debugging||16-20 October 2023||Live, Online|
|Developing Minifilters||13-17 November 2023||Live, Online|
Remember, that only breaks on those exact 4 bytes. Are you literally changing the first four bytes? Also remember that this only traps writes to this virtual address within this process. If the region is being written in another process, that will use a different virtual address and won't be trapped.
Tim Roberts, [email protected]
Providenza & Boekelheide, Inc.
got it. This is my case I've never met before. Thank you.