Trait frida_gum::instruction_writer::Relocator
source · pub trait Relocator {
// Required methods
fn new(input_code: u64, output: &mut TargetInstructionWriter) -> Self;
fn read_one(&mut self) -> (u32, Insn);
fn eoi(&mut self) -> bool;
fn write_all(&mut self);
fn write_one(&mut self) -> bool;
fn skip_one(&mut self) -> bool;
}
Required Methods§
sourcefn new(input_code: u64, output: &mut TargetInstructionWriter) -> Self
fn new(input_code: u64, output: &mut TargetInstructionWriter) -> Self
Create a new Relocator
for the input code address, outputting to the specified
InstructionWriter
sourcefn write_all(&mut self)
fn write_all(&mut self)
Relocate and write all instructions to the output InstructionWriter
sourcefn write_one(&mut self) -> bool
fn write_one(&mut self) -> bool
Relocate and write one instruction to the output InstructionWriter
Object Safety§
This trait is not object safe.