arch-ops 0.1.1

A library to encode and decode instructions for several architectures
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::traits::InsnRead;

pub trait OpcodePrinter {
    fn print_opcode(
        &self,
        f: &mut core::fmt::Formatter,
        read: &mut dyn InsnRead,
    ) -> std::io::Result<()>;

    fn handle_option(&mut self, _key: &str, _value: &str) -> bool {
        false
    }
}