关于PAGE_NOACCESS

The following table lists the memory-protection options provided by Windows. You must specify one of the following values when allocating or protecting a page in memory.

ValueMeaning
PAGE_EXECUTEEnables execute access to the committed region of pages. An attempt to read or write to the committed region results in an access violation.
PAGE_EXECUTE_READEnables execute and read access to the committed region of pages. An attempt to write to the committed region results in an access violation.
PAGE_EXECUTE_READWRITEEnables execute, read, and write access to the committed region of pages.
PAGE_EXECUTE_WRITECOPYEnables execute, read, and write access to the committed region of pages. The pages are shared read-on-write and copy-on-write.
PAGE_NOACCESSDisables all access to the committed region of pages. An attempt to read from, write to, or execute the committed region results in an access violation exception, called a general protection (GP) fault.(memory中常看到的?形式)
PAGE_READONLYEnables read access to the committed region of pages. An attempt to write to the committed region results in an access violation. If the system differentiates between read-only access and execute access, an attempt to execute code in the committed region results in an access violation.
PAGE_READWRITEEnables both read and write access to the committed region of pages.
PAGE_WRITECOPYGives copy-on-write protection to the committed region of pages.

 

Windows Me/98/95:  This flag is not supported.

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值