[][src]Trait dynasm::arch::x64::AssembleX64

pub trait AssembleX64 {
    fn compile_instruction(
        &mut self,
        arch: &Archx64,
        _: InstructionX64
    ) -> Result<(), Error>;
fn build_instruction(
        &mut self,
        arch: &Archx64,
        _: InstructionX64
    ) -> Result<(), Error>
    where
        Self: BasicExprBuilder
; }

Required methods

fn compile_instruction(
    &mut self,
    arch: &Archx64,
    _: InstructionX64
) -> Result<(), Error>

Turn an expression into binary format. May error when dynamic data is present at bad locations such as memory address scaling.

fn build_instruction(
    &mut self,
    arch: &Archx64,
    _: InstructionX64
) -> Result<(), Error> where
    Self: BasicExprBuilder

Create an instruction composed from dynamic data. Only available when the type is also capable of building new composite expressions.

Loading content...

Implementors

impl<'_> AssembleX64 for State<'_>[src]

Loading content...