top | item 46219307

(no title)

TriangleEdge | 2 months ago

I didn't know you could read random process memory in Linux. Where can I get documentation for things like this? I was learning about cgroups some time ago and got frustrated about the lack of documentation. I had to go read containerd code, which isn't ideal for wanting to just learn.

discuss

order

nazgulsenpai|2 months ago

Scanmem[0] is a library that does this for the purposes of reading/modifying game memory and a useful resource. You can also poke around in /proc for some helpers

ls -la /proc/$PID/map_files cat /proc/$PID/maps cat /proc/$PID/status

[0]https://github.com/scanmem/scanmem