Skip to main content

parse_symbols_at

Function parse_symbols_at 

Source
pub fn parse_symbols_at<'data>(
    macho: &MachoFile<'data>,
    indices: &[usize],
) -> Result<Vec<Symbol<'data>>, ParseError>
Expand description

Parse selected nlist entries without walking or materializing the complete symbol table.

Results preserve the requested index order, including duplicate indices. The symbol- and string-table layouts and every requested entry are fully bounds checked. An out-of-range index rejects the whole request.