gpt4 book ai didi

debugging - Windbg,如何检查内存段权限?

转载 作者:IT王子 更新时间:2023-10-28 23:37:19 25 4
gpt4 key购买 nike

例如输出堆栈为不可执行,某些堆是可执行/不可执行..

最佳答案

!address!vprot (UM) 扩展显示虚拟内存保护信息。

0:000> !address 0038f750
Usage: Stack
Allocation Base: 00290000
Base Address: 0038d000
End Address: 00390000
Region Size: 00003000
Type: 00020000 MEM_PRIVATE
State: 00001000 MEM_COMMIT
Protect: 00000004 PAGE_READWRITE
More info: ~0k

0:000> !vprot 0038f750
BaseAddress: 0038f000
AllocationBase: 00290000
AllocationProtect: 00000004 PAGE_READWRITE
RegionSize: 00001000
State: 00001000 MEM_COMMIT
Protect: 00000004 PAGE_READWRITE
Type: 00020000 MEM_PRIVATE

关于debugging - Windbg,如何检查内存段权限?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14666721/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com