Struct goblin::mach::load_command::DylibModule64

source ·
#[repr(C)]
pub struct DylibModule64 {
Show 13 fields pub module_name: u32, pub iextdefsym: u32, pub nextdefsym: u32, pub irefsym: u32, pub nrefsym: u32, pub ilocalsym: u32, pub nlocalsym: u32, pub iextrel: u32, pub nextrel: u32, pub iinit_iterm: u32, pub ninit_nterm: u32, pub objc_module_info_size: u32, pub objc_module_info_addr: u64,
}
Expand description

a 64-bit module table entry

Fields§

§module_name: u32

the module name (index into string table)

§iextdefsym: u32

index into externally defined symbols

§nextdefsym: u32

number of externally defined symbols

§irefsym: u32

index into reference symbol table

§nrefsym: u32

number of reference symbol table entries

§ilocalsym: u32

index into symbols for local symbols

§nlocalsym: u32

number of local symbols

§iextrel: u32

index into external relocation entries

§nextrel: u32

number of external relocation entries

§iinit_iterm: u32

low 16 bits are the index into the init section, high 16 bits are the index into the term section

§ninit_nterm: u32

low 16 bits are the number of init section entries, high 16 bits are the number of term section entries

§objc_module_info_size: u32

the (__OBJC,__module_info) section

§objc_module_info_addr: u64

the (__OBJC,__module_info) section

Trait Implementations§

source§

impl Clone for DylibModule64

source§

fn clone(&self) -> DylibModule64

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DylibModule64

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromCtx<Endian> for DylibModule64

source§

fn from_ctx(src: &[u8], ctx: Endian) -> Self

source§

impl<'a> IntoCtx<Endian> for &'a DylibModule64

source§

fn into_ctx(self, dst: &mut [u8], ctx: Endian)

source§

impl IntoCtx<Endian> for DylibModule64

source§

fn into_ctx(self, dst: &mut [u8], ctx: Endian)

source§

impl SizeWith<Endian> for DylibModule64

source§

impl<'a> TryFromCtx<'a, Endian> for DylibModule64
where DylibModule64: 'a,

§

type Error = Error

source§

fn try_from_ctx( src: &'a [u8], ctx: Endian ) -> Result<(Self, usize), Self::Error>

source§

impl<'a> TryIntoCtx<Endian> for &'a DylibModule64

§

type Error = Error

source§

fn try_into_ctx(self, dst: &mut [u8], ctx: Endian) -> Result<usize, Self::Error>

source§

impl TryIntoCtx<Endian> for DylibModule64

§

type Error = Error

source§

fn try_into_ctx(self, dst: &mut [u8], ctx: Endian) -> Result<usize, Self::Error>

source§

impl Copy for DylibModule64

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.