Function burst::x86::disassemble_32
[−]
[src]
pub fn disassemble_32(
opcode: &[u8],
addr: usize,
max_length: usize
) -> Result<X86Instruction, ()>
Disassemble a single x86 instruction in 32 bit mode from a stream of opcodes.
use burst::x86::*; let data = [0u8, 0u8]; if let Ok(instr) = disassemble_32(&data, 0, data.len()) { // ... }