Class: MachO::EncryptionInfoCommand64

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, cryptoff, cryptsize, cryptid) ⇒ EncryptionInfoCommand64

Returns a new instance of EncryptionInfoCommand64.



505
506
507
508
509
510
511
# File 'lib/macho/load_commands.rb', line 505

def initialize(offset, cmd, cmdsize, cryptoff, cryptsize, cryptid)
	super(offset, cmd, cmdsize)
	@cryptoff = cryptoff
	@cryptsize = cryptsize
	@cryptid = cryptid
	@pad = pad
end

Instance Attribute Details

#cryptidObject (readonly)

Returns the value of attribute cryptid.



500
501
502
# File 'lib/macho/load_commands.rb', line 500

def cryptid
  @cryptid
end

#cryptoffObject (readonly)

Returns the value of attribute cryptoff.



500
501
502
# File 'lib/macho/load_commands.rb', line 500

def cryptoff
  @cryptoff
end

#cryptsizeObject (readonly)

Returns the value of attribute cryptsize.



500
501
502
# File 'lib/macho/load_commands.rb', line 500

def cryptsize
  @cryptsize
end

#padObject (readonly)

Returns the value of attribute pad.



500
501
502
# File 'lib/macho/load_commands.rb', line 500

def pad
  @pad
end