First of all I need to know addresses in System.map
or /proc/kallsyms
are virtual or physical?
then I want to read from addresses of kernel symbols, for example I want to read pid
field of init_task
symbol. I can find init_task
address from System.map
and also offset of pid
. but I don't know how to read from an address in kernel.
I really appreciate any reference or link to say things in detail because I'm not familiar with kernel programming.
another question: when they say DKOM
(dynamic kernel object manipulation) what does it mean? I searched but just find something about windows system!
and when they say you can access exported symbols
in LKM
? what operations do they mean? are specific functions to read or write from kernel symbols?