Class: MachO::EntryPointCommand

Inherits:
LoadCommand show all
Defined in:
lib/macho/load_commands.rb

Instance Attribute Summary collapse

Attributes inherited from LoadCommand

#cmd, #cmdsize, #offset

Instance Method Summary collapse

Methods inherited from LoadCommand

new_from_bin, #to_s

Methods inherited from MachOStructure

bytesize, new_from_bin

Constructor Details

#initialize(offset, cmd, cmdsize, entryoff, stacksize) ⇒ EntryPointCommand

Returns a new instance of EntryPointCommand.



581
582
583
584
585
# File 'lib/macho/load_commands.rb', line 581

def initialize(offset, cmd, cmdsize, entryoff, stacksize)
	super(offset, cmd, cmdsize)
	@entryoff = entryoff
	@stacksize = stacksize
end

Instance Attribute Details

#entryoffObject (readonly)

Returns the value of attribute entryoff.



576
577
578
# File 'lib/macho/load_commands.rb', line 576

def entryoff
  @entryoff
end

#stacksizeObject (readonly)

Returns the value of attribute stacksize.



576
577
578
# File 'lib/macho/load_commands.rb', line 576

def stacksize
  @stacksize
end