Struct frida_gum::instruction_writer::X86InstructionWriter[][src]

pub struct X86InstructionWriter { /* fields omitted */ }

The x86/x86_64 instruction writer.

Implementations

impl X86InstructionWriter[src]

pub fn put_jmp_near_label(&self, id: u64) -> bool[src]

Insert a jmp near to a label. The label is specified by id.

pub fn put_lea_reg_reg_offset(
    &self,
    dst_reg: X86Register,
    src_reg: X86Register,
    src_offset: i32
) -> bool
[src]

Insert a lea d, [s + o] instruction.

pub fn put_push_reg(&self, reg: X86Register) -> bool[src]

Insert a push R instruction.

pub fn put_pop_reg(&self, reg: X86Register) -> bool[src]

Insert a pop R instruction.

pub fn put_mov_reg_address(&self, reg: X86Register, address: u64) -> bool[src]

Insert a mov R, [address] instruction.

pub fn put_call_address(&self, address: u64) -> bool[src]

Insert a call address instruction.

Trait Implementations

impl InstructionWriter for X86InstructionWriter[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.