Skip to contentSkip to conversation

How to access /proc/*/mem ?

DISCUSSION Frank Peters 1 participant 2 messages Oct 29, 2001

lore
Share & tools
lore
#0 lore raw

Kernel 2.4.10

I do a PTRACE_ATTACH to the process and I can open /proc/*/mem, but I can't read on the fd.

I need to search for a specific value in the process memory and i wan't do a lot of
PTRACE_PEEKTEXT!

Can someone point me to the right way?

THX
Frank Peters