pub(crate) fn find_symbol<'a>(varname: &str, debug_data: &'a DebugData) -> Result<(u64, &'a TypeInfo), String> {
    // split the a2l symbol name: e.g. "motortune.param._0_" -> ["motortune", "param", "_0_"]
    let components = split_symbol_components(varname);

    // find the symbol in the symbol table
    find_symbol_from_components(&components, debug_data)
}
// find a symbol in the elf_info data structure that was derived from the DWARF debug info in the elf file
find a symbol in the elf_info data structure that was derived from the DWARF debug info in the elf file
find a symbol in the elf_info data structure that was derived from the DWARF debug info in the elf file
pub(crate) fn find_symbol<'a>(varname: &str, debug_data: &'a DebugData) -> Result<(u64, &'a TypeInfo), String> {
    // split the a2l symbol name: e.g. "motortune.param._0_" -> ["motortune", "param", "_0_"]
    let components = split_symbol_components(varname);
    // find the symbol in the symbol table
    find_symbol_from_components(&components, debug_data)
}
pub ( crate ) fn find_symbol < ' a > ( varname : & str , debug_data : & ' a DebugData ) -> Result < ( u64 , & ' a TypeInfo ) , String > { // split the a2l symbol name: e.g. "motortune.param._0_" -> ["motortune", "param", "_0_"] let components = split_symbol_components ( varname ) ; // find the symbol in the symbol table find_symbol_from_components ( & components , debug_data ) }
find a symbol in the elf_info data structure that was derived from the DWARF debug info in the elf file
find a symbol in the elf_info data structure that was derived from the DWARF debug info in the elf file
varname
&str
debug_data
&'a DebugData