when we cat 'proc / kallsyms' or 'system.map' we get characters like this
.... c033718c T nf_hook_slow c04ca284 r __ksymtab_nf_hook_slow c04ca28c r __ksymtab_nf_hooks c04d24a0 r __kcrctab_nf_hook_slow c04d24a4 r __kcrctab_nf_hooks c04e9122 r __kstrtab_nf_hook_slow c04e9179 r __kstrtab_nf_hooks c054d854 D nf_hooks c0571ca0 d nf_hook_mutex ....
- What is the meaning of T, r, D, d stuffs?
- I can find characters in the kernel source as EXPORT_SYMBOL (...) but there are other prefixes with __ksymtab ... or __kstrtab ... what is it?
- Is it possible that System.map has characters, but are excluded in / proc / kallsyms? (assuming the kernel compiled correctly)
- I have a linux kernel netfilter, but I can not find the symbol 'nf_hooks' but there is '__ksymtab_nf_hook'. is there any way to get the nf_hooks address using __ksymtab_nf_hook?
- I see EXPORT_SYMBOL (nf_hook) in my Linux source code, but I cannot find it if I am 'cat / proc / kallsyms'. is there a typical reason for this?
thank you in advance.
source share