Struct goblin::mach::load_command::EntryPointCommand
source · [−]#[repr(C)]pub struct EntryPointCommand {
pub cmd: u32,
pub cmdsize: u32,
pub entryoff: u64,
pub stacksize: u64,
}
Expand description
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: u32
cmdsize: u32
entryoff: u64
uint64_t file __TEXT offset of main
stacksize: u64
uint64_t if not zero, initial stack size
Trait Implementations
sourceimpl Clone for EntryPointCommand
impl Clone for EntryPointCommand
sourcefn clone(&self) -> EntryPointCommand
fn clone(&self) -> EntryPointCommand
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 EntryPointCommand
impl Debug for EntryPointCommand
sourceimpl FromCtx<Endian, [u8]> for EntryPointCommand
impl FromCtx<Endian, [u8]> for EntryPointCommand
sourceimpl<'a> IntoCtx<Endian, [u8]> for &'a EntryPointCommand
impl<'a> IntoCtx<Endian, [u8]> for &'a EntryPointCommand
sourceimpl IntoCtx<Endian, [u8]> for EntryPointCommand
impl IntoCtx<Endian, [u8]> for EntryPointCommand
sourceimpl<'a> TryFromCtx<'a, Endian, [u8]> for EntryPointCommand where
EntryPointCommand: 'a,
impl<'a> TryFromCtx<'a, Endian, [u8]> for EntryPointCommand where
EntryPointCommand: 'a,
sourceimpl<'a> TryIntoCtx<Endian, [u8]> for &'a EntryPointCommand
impl<'a> TryIntoCtx<Endian, [u8]> for &'a EntryPointCommand
sourceimpl TryIntoCtx<Endian, [u8]> for EntryPointCommand
impl TryIntoCtx<Endian, [u8]> for EntryPointCommand
impl Copy for EntryPointCommand
Auto Trait Implementations
impl RefUnwindSafe for EntryPointCommand
impl Send for EntryPointCommand
impl Sync for EntryPointCommand
impl Unpin for EntryPointCommand
impl UnwindSafe for EntryPointCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more