Peter Krejci
Peter Krejci

Reputation: 3192

Access to linux virtual memory

In new kernel versions /dev/kmem is disabled, is there any other way I can access linux virtual memory? My goal is to search through memory, find function calls and insert kprobes on their addresses.

Upvotes: 3

Views: 673

Answers (1)

Matteo
Matteo

Reputation: 14930

The idea of having kmem disabled is exactly preventing you to do what you want. You could recompile the kernel with CONFIG_DEVKMEM=Y to re-enable /dev/kmem

Upvotes: 3

Related Questions