About the internal logic of "Memory Cannot be read" error in windows -


We occasionally encounter this error when running an EXE on Windows.

How does the OS know that specific memory can be read or not?

The CPU indicates through the CR3 register - if no mailing, valid PTE is not found, This hardware exception will be raised and NT Kernel will convert it to an SEH exception.


Comments