Re: Help on getting exported kernel symbols

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

 



On Wed, Sep 18, 2002 at 10:54:29AM +0530, 802.11 wrote:
> 
> correct me if iam wrong i think using the command  
> 
> $nm  xyz_module.o 
> 
> generates all the symbols in the module.

Yes, it does. Then you have to find the address module is loaded from
and add it to the addresses from nm if you want to find them at
run-time. And that is right after it's module struct in module_list. Ie.
for newly loaded module it is module_list + module_list->size_of_struct.

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb@ucw.cz>
--
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