Struct goblin::mach::load_command::TwolevelHint
source · [−]Expand description
The entries in the two-level namespace lookup hints table are twolevel_hint structs. These provide hints to the dynamic link editor where to start looking for an undefined symbol in a two-level namespace image. The isub_image field is an index into the sub-images (sub-frameworks and sub-umbrellas list) that made up the two-level image that the undefined symbol was found in when it was built by the static link editor. If isub-image is 0 the the symbol is expected to be defined in library and not in the sub-images. If isub-image is non-zero it is an index into the array of sub-images for the umbrella with the first index in the sub-images being
- The array of sub-images is the ordered list of sub-images of the umbrella that would be searched for a symbol that has the umbrella recorded as its primary library. The table of contents index is an index into the library’s table of contents. This is used as the starting point of the binary search or a directed linear search.
Fields
isub_image: u64
index into the sub images
itoc: [u8; 24]
24 bit field index into the table of contents
Trait Implementations
sourceimpl Clone for TwolevelHint
impl Clone for TwolevelHint
sourcefn clone(&self) -> TwolevelHint
fn clone(&self) -> TwolevelHint
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TwolevelHint
impl Debug for TwolevelHint
sourceimpl<'a> TryFromCtx<'a, Endian, [u8]> for TwolevelHint where
TwolevelHint: 'a,
impl<'a> TryFromCtx<'a, Endian, [u8]> for TwolevelHint where
TwolevelHint: 'a,
sourceimpl<'a> TryIntoCtx<Endian, [u8]> for &'a TwolevelHint
impl<'a> TryIntoCtx<Endian, [u8]> for &'a TwolevelHint
sourceimpl TryIntoCtx<Endian, [u8]> for TwolevelHint
impl TryIntoCtx<Endian, [u8]> for TwolevelHint
impl Copy for TwolevelHint
Auto Trait Implementations
impl RefUnwindSafe for TwolevelHint
impl Send for TwolevelHint
impl Sync for TwolevelHint
impl Unpin for TwolevelHint
impl UnwindSafe for TwolevelHint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more