Use ptrace syscall to dump memory from another process.