Posted: Wed May 18, 2011 10:57 pm Post subject: MmIsAddressValid instead of __try?
I've been doing some research on how the driver works, and I stumbled across the memory routines of the driver where I found the API MmIsAddressValid. MmIsAddressValid checks if a page fault would occur if we read / write from the virtual address specified.
Quote:
The MmIsAddressValid routine checks whether a page fault will occur for a read or write operation at a given virtual address.
So my question is, would using MmIsAddressValid be a faster and more convenient way to check if addresses are read/writable then trying to read the address and handling a possible exception?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum