pub enum Target {
Address(u64),
Pointer {
address: u64,
size: u8,
},
Indirect,
Far {
selector: u16,
offset: u64,
},
}Expand description
Where a jump or call goes, as far as the instruction alone tells.
Variants§
Address(u64)
A known address.
Pointer
The address stored in memory (an x86 jmp [rip+disp], the usual
way to reach an import through its GOT or IAT slot).
Indirect
A register or a computed memory operand.
Far
A segmented address (an x86 far pointer), which needs the segment’s base to become an address.
Implementations§
Trait Implementations§
impl Copy for Target
impl Eq for Target
impl StructuralPartialEq for Target
Auto Trait Implementations§
impl Forget for Target
impl Freeze for Target
impl Move for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnsafeUnpin for Target
impl UnwindSafe for Target
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