[][src]Struct goblin::mach::load_command::SymsegCommand

#[repr(C)]
pub struct SymsegCommand {
    pub cmd: u32,
    pub cmdsize: u32,
    pub offset: u32,
    pub size: u32,
}

The symseg_command contains the offset and size of the GNU style symbol table information as described in the header file <symseg.h>. The symbol roots of the symbol segments must also be aligned properly in the file. So the requirement of keeping the offsets aligned to a multiple of a 4 bytes translates to the length field of the symbol roots also being a multiple of a long. Also the padding must again be zeroed. (THIS IS OBSOLETE and no longer supported).

Fields

cmd: u32

LC_SYMSEG

cmdsize: u32

sizeof(struct symseg_command)

offset: u32

symbol segment offset

size: u32

symbol segment size in bytes

Trait Implementations

impl Copy for SymsegCommand[src]

impl Clone for SymsegCommand[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for SymsegCommand[src]

impl FromCtx<Endian, [u8]> for SymsegCommand[src]

impl<'a> TryFromCtx<'a, Endian, [u8]> for SymsegCommand where
    SymsegCommand: 'a, 
[src]

type Error = Error

type Size = usize

impl<'a> IntoCtx<Endian, [u8]> for &'a SymsegCommand[src]

impl IntoCtx<Endian, [u8]> for SymsegCommand[src]

impl<'a> TryIntoCtx<Endian, [u8]> for &'a SymsegCommand[src]

type Error = Error

type Size = usize

impl TryIntoCtx<Endian, [u8]> for SymsegCommand[src]

type Error = Error

type Size = usize

impl SizeWith<Endian> for SymsegCommand[src]

type Units = usize

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]