Skip to main content

Module function_index

Module function_index 

Source

Structs§

FunctionIndex
Index for O(log n) function lookup by address. Functions are sorted by start_address for binary search. Inlined functions use bucketed lookup for faster searches. Owns the StringTables for name/file lookups.
FunctionInfo
Function info extracted from DWARF of the calling function. Uses indices into StringTables for compact memory layout (32 bytes).

Functions§

get_functions_from_dwarf
Extract all functions from DWARF debug info. Returns functions, inlined functions, and the shared string tables.