NtAllocateVirtualMemory 系统调用参数

发布于 2024-08-16 02:17:53 字数 186 浏览 2 评论 0原文

我检查了 AllocateVirtualMemory 系统调用上 AllocationType 参数的所有可能值,发现它接受 0x202000 和 0x203000 等值,因此应该有另一个未记录的可能标志,其值为 0x200000。在WinNt.h 中它被定义为MEM_WRITE_WATCH。

我想知道它有什么作用?

谢谢。

I Checked all of the possible values of AllocationType parameter on AllocateVirtualMemory syscall and found out it accepts values like 0x202000 and 0x203000 and therefore there should be another undocumented possible flag with value 0x200000. In WinNt.h it's defined as MEM_WRITE_WATCH.

I want to know what it does?

Thank you.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

逐鹿 2024-08-23 02:17:53

您可以随时在 MSDN 上查找文档: http:// /msdn.microsoft.com/en-us/library/aa366573(VS.85).aspx

使系统跟踪在分配的区域中写入的页面。如果指定此值,则还必须指定 MEM_RESERVE。

You could always look up the documentation on MSDN: http://msdn.microsoft.com/en-us/library/aa366573(VS.85).aspx

Causes the system to track pages that are written to in the allocated region. If you specify this value, you must also specify MEM_RESERVE.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文