|
Yes, it's true.
Try playing with VirtualProtectEx() using PAGE_GUARD as new access protection.
Any following attempt to read from or write to a guarded page causes the system to raise a STATUS_GUARD_PAGE exception.
Anyway, I don't think that if you raise an exception at every memory access you will be faster than emulating the CPU or single stepping through your code...
Best regards, bilbo
|