Question

So I'd like to let read D read this memory location and do some work on it. Any thoughts? Is writing a debugger extension the only way - if so, any recommendations?

I considered executing a memory dump to file (still don't know how, AFAIK I can only view memory in a window) and letting D work on the file, but is there a better way?

Was it helpful?

Solution

It is possible to read memory of another process. You should use ReadProcessMemory function.

OTHER TIPS

if you need the two programs to share part of the memory you can use shared memory

Since you're apparently using Windows, the way for one process to look at another process' memory is with ReadProcessMemory. While it's certainly true that debuggers typically use this, using it is still well short of writing a debugger.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top