class MachO::LoadCommands::EntryPointCommand

A load command specifying the offset of main(). Corresponds to LC_MAIN.

Constants

FORMAT

@see MachOStructure::FORMAT @api private

SIZEOF

@see MachOStructure::SIZEOF @api private

Attributes

entryoff[R]

@return [Fixnum] the file (__TEXT) offset of main()

stacksize[R]

@return [Fixnum] if not 0, the initial stack size.

Public Class Methods

new(view, cmd, cmdsize, entryoff, stacksize) click to toggle source

@api private

Calls superclass method MachO::LoadCommands::LoadCommand::new
# File lib/macho/load_commands.rb, line 1220
def initialize(view, cmd, cmdsize, entryoff, stacksize)
  super(view, cmd, cmdsize)
  @entryoff = entryoff
  @stacksize = stacksize
end