Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows: Read another process' memory directly

I need to scan another process' memory in Windows. The ReadProcessMemory function does it just fine but it copies each time memory from the target process to one of my buffers.. is there any way to access another process' memory without copying it to my process' memory every time? If there were I could use pointers to access the other process' memory

like image 784
Johnny Pauling Avatar asked Oct 22 '22 20:10

Johnny Pauling


1 Answers

Debuggers use ReadProcessMemory, so if you're implementing something that functions like a debugger, that's the right way to do it.

If you're implementing something else, you're probably heading into the weeds and you should give us a higher-level view of the problem you're trying to solve.

like image 155
Adrian McCarthy Avatar answered Oct 28 '22 23:10

Adrian McCarthy