Expand description
Kernel symbol table for panic backtrace resolution Kernel symbol table for panic backtrace resolution.
Parses the kernelโs own ELF .symtab/.strtab sections at boot time
to provide function name resolution during panics.
Structsยง
- Kernel
Symbol ๐ - A single symbol entry: address, size, name offset in string table.
Staticsยง
- INITIALIZED ๐
- Global sorted symbol table and string table.
- STRTAB ๐
- STRTAB_
LEN ๐ - SYMBOLS ๐
- SYMBOL_
COUNT ๐
Functionsยง
- find_
section_ ๐data - Find a sectionโs data by name in the ELF.
- get_
symbol_ ๐name - Get a symbol name from the string table.
- init
- Initialize the symbol table from the kernel ELF. Called once during early boot.
- lookup
- Look up an address in the symbol table. Returns (name, offset_from_symbol). Uses binary search for O(log n) lookup.