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. See [object::Object::symbols].

Panics if path is not a valid object file readable by the current user or if path cannot be parsed as a recognized object file.