from ctypes import *
wdll=windll.kernel32
print wdll
<WinDLL 'kernel32', handle 77520000 at 2146ef0>
就是想读一下0x77520000处的内存值。
python可以做到读取内存吗,如果可以,应该怎么写。谢谢大咖。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
windows下有API. http://msdn.microsoft.com/en-us/library/windows/desktop/ms680553%28v=vs.85%29.aspx
BOOL WINAPI ReadProcessMemory(
In HANDLE hProcess,
In LPCVOID lpBaseAddress,
Out LPVOID lpBuffer,
In SIZE_T nSize,
Out SIZE_T *lpNumberOfBytesRead
);