Class: MachO::LoadCommands::PrebindCksumCommand
- Inherits:
-
LoadCommand
- Object
- MachOStructure
- LoadCommand
- MachO::LoadCommands::PrebindCksumCommand
- Defined in:
- lib/macho/load_commands.rb
Overview
A load command containing the value of the original checksum for prebound files, or zero. Corresponds to LC_PREBIND_CKSUM.
Instance Method Summary collapse
-
#cksum ⇒ Integer
The checksum or 0.
-
#to_h ⇒ Hash
A hash representation of this PrebindCksumCommand.
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
#cksum ⇒ Integer
Returns the checksum or 0.
1019 |
# File 'lib/macho/load_commands.rb', line 1019 field :cksum, :uint32 |
#to_h ⇒ Hash
Returns a hash representation of this MachO::LoadCommands::PrebindCksumCommand.
1022 1023 1024 1025 1026 |
# File 'lib/macho/load_commands.rb', line 1022 def to_h { "cksum" => cksum, }.merge super end |