Re: Re: accessing kernel symbol information

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

 



Hi..

> so, now, i need to find a way to get the address and type too. by
> 'type' i mean, whether its a function, integer, char, char *, etc. i
> think that could be impossible. so any kind of information is very
> much welcomed !

try to check kallsyms_get_symbol_type() defined on kernel/kallsyms.c to 
find out the type.

For the address, IMHO you already found it. kallsyms_lookup_name returns 
the address of the symbol if it is found. The returned address is in 
unsigned long type.

regards,

Mulyadi


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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