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

#[repr(C)]
pub struct EntryPointCommand {
    pub cmd: u32,
    pub cmdsize: u32,
    pub entryoff: u64,
    pub stacksize: u64,
}

The entry_point_command is a replacement for thread_command. It is used for main executables to specify the location (file offset) of main(). If -stack_size was used at link time, the stacksize field will contain the stack size need for the main thread.

Fields

cmd: u32cmdsize: u32entryoff: u64

uint64_t file __TEXT offset of main

stacksize: u64

uint64_t if not zero, initial stack size

Trait Implementations

impl Copy for EntryPointCommand[src]

impl Clone for EntryPointCommand[src]

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

Performs copy-assignment from source. Read more

impl Debug for EntryPointCommand[src]

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

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

type Error = Error

type Size = usize

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

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

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

type Error = Error

type Size = usize

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

type Error = Error

type Size = usize

impl SizeWith<Endian> for EntryPointCommand[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]