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§
source§impl Clone for EntryPointCommand
impl Clone for EntryPointCommand
source§fn clone(&self) -> EntryPointCommand
fn clone(&self) -> EntryPointCommand
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EntryPointCommand
impl Debug for EntryPointCommand
source§impl FromCtx<Endian> for EntryPointCommand
impl FromCtx<Endian> for EntryPointCommand
source§impl<'a> IntoCtx<Endian> for &'a EntryPointCommand
impl<'a> IntoCtx<Endian> for &'a EntryPointCommand
source§impl IntoCtx<Endian> for EntryPointCommand
impl IntoCtx<Endian> for EntryPointCommand
source§impl<'a> TryFromCtx<'a, Endian> for EntryPointCommandwhere
EntryPointCommand: 'a,
impl<'a> TryFromCtx<'a, Endian> for EntryPointCommandwhere EntryPointCommand: 'a,
source§impl<'a> TryIntoCtx<Endian> for &'a EntryPointCommand
impl<'a> TryIntoCtx<Endian> for &'a EntryPointCommand
source§impl TryIntoCtx<Endian> for EntryPointCommand
impl TryIntoCtx<Endian> 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more