草庐IT

VirtualFreeEx

全部标签

windows - 检查 VirtualFreeEx 是否已经完成/执行

我在远程进程上使用VirtualAllocEx来预留一些空间,如下所示:VirtualAllocEX(RemoteProcessHandle,nil,SizeInBytes,MEM_COMMITorMEM_RESERVE,PAGE_EXECUTE_READWRITE);然后我用WriteProcessMemory“填充”/写入分配的地址空间那我就好好用VirtualFreeEx(RemoteProcessHandle,Address,0,MEM_RELEASE);释放分配的空间。是否可以检查VirtualAllocEx的地址afterVirtualFreeEx被调用以检查Virtual