run_make_support::symbols

Function any_symbol_contains

source
pub fn any_symbol_contains(path: impl AsRef<Path>, substrings: &[&str]) -> bool
Expand description

Check an object file’s symbols for substrings.

Returns true if any of the symbols found in the object file at path contain a substring listed in substrings.

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