On 09/04/2020 4:25 AM, Net wrote:
On Tuesday, 7 April 2020 at 21:20:28 UTC, Quantium wrote:
Could you advise me how to do these steps on D? Which libs should I
import?
1. My programm gets a path to exe file
2. My programm starts that exe file and writes into it 2 commands
3. Programm gets access to exe file memory
4. Programm gets data from process memory and writes it into data.bin
file which is in the same directory.
As I said, which libs do I need and how to get access to other process
memory.
Also, can I make this as a driver, but if yes, how to code driver on D?
As far I know, you can't access other's program memory in any modern
operating system. That's managed and protected by the OS through
virtual addressing.
Yes you can, in all modern operating systems.
It is used for debugging.