pub struct JumpTableEntry {
pub offset: u16,
pub segment: i16,
pub loaded: bool,
pub address: u32,
}Expand description
One slot in the application’s jump table. The Mac OS Segment Loader
patches each slot’s loaded + address lazily as LoadSeg faults
pull CODE segments into memory.
Fields§
§offset: u16Byte offset within the target segment of the call destination.
segment: i16CODE resource ID containing the call destination.
loaded: boolTrue once the segment has been loaded and the slot patched.
address: u32Resolved guest address of the call destination (valid when
loaded == true).
Trait Implementations§
Source§impl Clone for JumpTableEntry
impl Clone for JumpTableEntry
Source§fn clone(&self) -> JumpTableEntry
fn clone(&self) -> JumpTableEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 JumpTableEntry
impl RefUnwindSafe for JumpTableEntry
impl Send for JumpTableEntry
impl Sync for JumpTableEntry
impl Unpin for JumpTableEntry
impl UnsafeUnpin for JumpTableEntry
impl UnwindSafe for JumpTableEntry
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