Class: MachO::LoadCommands::EncryptionInfoCommand64

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

Overview

A load command representing the offset to and size of an encrypted segment. Corresponds to LC_ENCRYPTION_INFO_64.

Instance Method Summary collapse

Methods inherited from EncryptionInfoCommand

#cryptid, #cryptoff, #cryptsize

Methods inherited from LoadCommand

#cmd, #cmdsize, create, new_from_bin, #offset, #serializable?, #serialize, #to_s, #type, #view

Methods inherited from MachOStructure

bytesize, format, #initialize, new_from_bin

Constructor Details

This class inherits a constructor from MachO::MachOStructure

Instance Method Details

#padInteger

Returns 64-bit padding value.

Returns:

  • (Integer)

    64-bit padding value



1004
# File 'lib/macho/load_commands.rb', line 1004

field :pad, :uint32

#to_hHash

Returns a hash representation of this MachO::LoadCommands::EncryptionInfoCommand64.

Returns:



1007
1008
1009
1010
1011
# File 'lib/macho/load_commands.rb', line 1007

def to_h
  {
    "pad" => pad,
  }.merge super
end