Skip to main content

assert_function_contains

Function assert_function_contains 

Source
pub fn assert_function_contains(
    name_substr: &str,
    expected: &[&str],
) -> Result<(), AsmCheckError>
Expand description

Assert each substring in expected appears at least once in the function name’s disassembly. Returns Err if the disassembler isn’t present so callers can eprintln! skip without failing.