How to connect to a running process, such as a debugger in Linux?

What system calls are used? I want to use it to read memory locations scattered inside another process address space. Is this a reasonable precedent for this mechanism?

+3
source share
1 answer

ptrace () is the system call you are looking for.

+5
source

Source: https://habr.com/ru/post/1728484/


All Articles