Trait PCodeEmit

Source
pub trait PCodeEmit {
    // Required method
    fn dump(
        &mut self,
        address: &Address,
        opcode: Opcode,
        outvar: Option<&VarnodeData>,
        vars: &[VarnodeData],
    );
}

Required Methods§

Source

fn dump( &mut self, address: &Address, opcode: Opcode, outvar: Option<&VarnodeData>, vars: &[VarnodeData], )

Callback that will be called when disassembling, emitting the pcode

  • address: the address of the machine instruction
  • opcode: the opcode of the particular pcode instruction
  • outvar: a data about the output varnode
  • vars: an array of VarnodeData for each input varnode

Implementors§