开发者

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

开发者 https://www.devze.com 2023-01-18 04:50 出处:网络
We occasionally come into this error when running a EXE on windows. How does OS know if a sp开发者_运维知识库ecific memory can be read or not?The CPU walks the page table entries pointed to via the C

We occasionally come into this error when running a EXE on windows.

How does OS know if a sp开发者_运维知识库ecific memory can be read or not?


The CPU walks the page table entries pointed to via the CR3 register - if a matching, valid PTE is not found, this hardware exception will be raised and the NT kernel will turn it into a SEH exception.

0

精彩评论

暂无评论...
验证码 换一张
取 消