Function object_contains_all_symbols

Source
pub fn object_contains_all_symbols<P, S>(
    path: P,
    candidate_symbols: &[S],
) -> ContainsAllSymbolsOutcome<'_>
where P: AsRef<Path>, S: AsRef<str>,
Expand description

Check an object file contains all symbols provided in candidate_symbols.

Returns true if all of the symbols in candidate_symbols are found within the object file at path by exact match. Take care to account for (1) platform differences and (2) calling convention and symbol decorations differences.

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.

ยงPlatform-specific behavior

See object_contains_any_symbol_substring.