Skip to main content

disassemble_file

Function disassemble_file 

Source
pub fn disassemble_file<W: Write, V: Write>(
    input_file_name: &OsStr,
    output: &mut W,
    warning_output: &mut V,
) -> Result<(), DisassemblerFailure>
Expand description

Disassemble input_file_name and print a source listing to stdout.

ยงErrors

Fail if we were unable to open or read the input, to write output, if the input file is too short or otherwise invalid.