Struct goblin::mach::load_command::TwolevelHint [−][src]
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
impl Clone for TwolevelHint
[src]
fn clone(&self) -> TwolevelHint
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for TwolevelHint
[src]
impl Debug for TwolevelHint
[src]
impl FromCtx<Endian, [u8]> for TwolevelHint
[src]
impl<'a> IntoCtx<Endian, [u8]> for &'a TwolevelHint
[src]
impl IntoCtx<Endian, [u8]> for TwolevelHint
[src]
impl SizeWith<Endian> for TwolevelHint
[src]
impl<'a> TryFromCtx<'a, Endian, [u8]> for TwolevelHint where
TwolevelHint: 'a,
[src]
TwolevelHint: 'a,
type Error = Error
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, usize), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, usize), Self::Error>
impl<'a> TryIntoCtx<Endian, [u8]> for &'a TwolevelHint
[src]
type Error = Error
fn try_into_ctx(self, dst: &mut [u8], ctx: Endian) -> Result<usize, Self::Error>
[src]
impl TryIntoCtx<Endian, [u8]> for TwolevelHint
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,