pub struct InstructionInfo {
pub length: usize,
pub is_relative: bool,
pub is_control_flow: bool,
pub relative_target: Option<usize>,
}Expand description
information about a decoded instruction
Fields§
§length: usizelength of the instruction in bytes
is_relative: boolwhether the instruction uses relative addressing
is_control_flow: boolwhether the instruction is a control flow instruction (jmp, call, ret)
relative_target: Option<usize>for relative instructions, the computed target address (if calculable)
Trait Implementations§
Source§impl Clone for InstructionInfo
impl Clone for InstructionInfo
Source§fn clone(&self) -> InstructionInfo
fn clone(&self) -> InstructionInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InstructionInfo
impl RefUnwindSafe for InstructionInfo
impl Send for InstructionInfo
impl Sync for InstructionInfo
impl Unpin for InstructionInfo
impl UnwindSafe for InstructionInfo
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