Skip to main content

find_operands

Function find_operands 

Source
fn find_operands<'a>(
    calldata: &[u8],
    patterns: impl IntoIterator<Item = &'a [u8]>,
) -> HashSet<&'a [u8]>
Expand description

Returns the patterns that contains_operand finds in calldata.

All patterns must have the same width. The calldata is scanned once for all of them.