开发者

Search the memory of another process

开发者 https://www.devze.com 2023-04-12 01:59 出处:网络
Is there a fast way to search/scan the memory of a process for a specific value, find the location of this value, edit and save it?

Is there a fast way to search/scan the memory of a process for a specific value, find the location of this value, edit and save it?

There are examples like Peeping Tom, but it's very slow and has issues with Vist开发者_Go百科a & Win7.


You will have to debug the process (i.e. the equivalent of attaching the process to your custom debugger) and use ReadProcessMemory to read and WriteProcessMemory to write.

This is what the Delphi Code Coverage project is doing to insert breakpoints to track code coverage at runtime.

Look at the class DebugProcess, it has methods to read and write to the memory of the debugged process.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号