run_make_support::symbols

Function with_symbol_iter

Source
pub fn with_symbol_iter<P, F, R>(path: P, func: F) -> R
where P: AsRef<Path>, F: FnOnce(&mut SymbolIterator<'_, '_>) -> R,
Expand description

Iterate through the symbols in an object file.

Uses a callback because SymbolIterator does not own its data.

Panics if path is not a valid object file readable by the current user.