Re: Getting address of a symbol from kernel's symbol table.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi...

On Sun, Dec 2, 2012 at 5:43 PM, arif <aftnix@xxxxxxxxx> wrote:
> To be able to do that i need the address of the function.
>
> I've seen that from user space i can read /proc/kallsyms to get an
> address of a symbol. Is their any similar mechanism exist where i can
> read the symbol table to extract a symbol's address from kernel space?

check http://lxr.linux.no/#linux+v3.6.8/include/linux/kallsyms.h

I have a good guess, what you need is  kallsyms_on_each_symbol()

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux