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



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

field :pad, :uint32

#to_hHash

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

Returns:



1106
1107
1108
1109
1110
# File 'lib/macho/load_commands.rb', line 1106

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