in reply to Re: Reading memory of a different process
in thread Reading memory of a different process

Most modern (Unix) OSses do have some API to access the memory (...) /proc/PID/mem

Hi AM,

I've read the proc manpage on Linux and it looks like I should be able to read the memory with something as simple as cating the file, but I always get nothing back (Perl's sysread returns undef). cat /proc/PID/maps however works.

Is this normal?

  • Comment on Re^2: Reading memory of a different process