pub struct RelocationResult {
pub bytes: Vec<u8>,
pub original_length: usize,
pub new_length: usize,
pub size_changed: bool,
pub success: bool,
pub error: Option<String>,
}Expand description
result of relocating an instruction
Fields§
§bytes: Vec<u8>the relocated instruction bytes
original_length: usizeoriginal instruction length
new_length: usizenew instruction length (may differ from original)
size_changed: boolwhether instruction size changed during relocation
success: boolwhether relocation was successful
error: Option<String>error message if relocation failed
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RelocationResult
impl RefUnwindSafe for RelocationResult
impl Send for RelocationResult
impl Sync for RelocationResult
impl Unpin for RelocationResult
impl UnwindSafe for RelocationResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more