i have extracted the ELF file(stripped) from an bzImage using extract-vmlinux and extracted the __ksymtab and __ksymtab_strings sections afterwards.
How can i calculate the offset of an arbitrary symbol out of these two files?
Is the offset actually stored in the __ksymtab section and how is it linked to the __ksymtab_strings section?
Is it even possible to get the offset statically? My main goal is to get the offset (from kernel base) of an arbitrary kernel symbol out this ELF file(stripped).
How can i get the offset of an arbitrary kernel symbol for a specific kernel version(4.13.0-rc3)?
Thank you in advance.