Class: MachO::LoadCommands::EncryptionInfoCommand64
- Inherits:
-
EncryptionInfoCommand
- Object
- MachOStructure
- LoadCommand
- EncryptionInfoCommand
- MachO::LoadCommands::EncryptionInfoCommand64
- 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
-
#pad ⇒ Integer
64-bit padding value.
-
#to_h ⇒ Hash
A hash representation of this EncryptionInfoCommand64.
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
#pad ⇒ Integer
Returns 64-bit padding value.
1103 |
# File 'lib/macho/load_commands.rb', line 1103 field :pad, :uint32 |
#to_h ⇒ Hash
Returns a hash representation of this MachO::LoadCommands::EncryptionInfoCommand64.
1106 1107 1108 1109 1110 |
# File 'lib/macho/load_commands.rb', line 1106 def to_h { "pad" => pad, }.merge super end |