Search another process memory

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

There are examples like Peeping Tom , but it is very slow and has problems with Vista and Win7.

+4
source share
1 answer

You will have to debug the process (i.e. the equivalent of attaching the process to a custom debugger) and use ReadProcessMemory for reading and WriteProcessMemory for writing.

Here's what the Delphi Code Coverage Project does to insert breakpoints to track code coverage at runtime.

Look at the DebugProcess class, it has methods for reading and writing to the memory of the debugged process.

+4
source

All Articles