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]
&self,
dst_reg: X86Register,
src_reg: X86Register,
src_offset: i32
) -> bool
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
Auto Trait Implementations
impl RefUnwindSafe for X86InstructionWriter
impl !Send for X86InstructionWriter
impl !Sync for X86InstructionWriter
impl Unpin for X86InstructionWriter
impl UnwindSafe for X86InstructionWriter
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,