forc_util::bytecode

Function parse_bytecode_to_instructions

Source
pub fn parse_bytecode_to_instructions<P>(
    path: P,
) -> Result<InstructionWithBytesIterator>
where P: AsRef<Path> + Clone,
Expand description

Parses a bytecode file into an iterator of instructions and their corresponding bytes.