Class: MachO::EncryptionInfoCommand
- Inherits:
-
LoadCommand
- Object
- MachOStructure
- LoadCommand
- MachO::EncryptionInfoCommand
- Defined in:
- lib/macho/load_commands.rb
Instance Attribute Summary collapse
-
#cryptid ⇒ Object
readonly
Returns the value of attribute cryptid.
-
#cryptoff ⇒ Object
readonly
Returns the value of attribute cryptoff.
-
#cryptsize ⇒ Object
readonly
Returns the value of attribute cryptsize.
Attributes inherited from LoadCommand
Instance Method Summary collapse
-
#initialize(offset, cmd, cmdsize, cryptoff, cryptsize, cryptid) ⇒ EncryptionInfoCommand
constructor
A new instance of EncryptionInfoCommand.
Methods inherited from LoadCommand
Methods inherited from MachOStructure
Constructor Details
#initialize(offset, cmd, cmdsize, cryptoff, cryptsize, cryptid) ⇒ EncryptionInfoCommand
Returns a new instance of EncryptionInfoCommand.
508 509 510 511 512 513 |
# File 'lib/macho/load_commands.rb', line 508 def initialize(offset, cmd, cmdsize, cryptoff, cryptsize, cryptid) super(offset, cmd, cmdsize) @cryptoff = cryptoff @cryptsize = cryptsize @cryptid = cryptid end |
Instance Attribute Details
#cryptid ⇒ Object (readonly)
Returns the value of attribute cryptid.
503 504 505 |
# File 'lib/macho/load_commands.rb', line 503 def cryptid @cryptid end |
#cryptoff ⇒ Object (readonly)
Returns the value of attribute cryptoff.
503 504 505 |
# File 'lib/macho/load_commands.rb', line 503 def cryptoff @cryptoff end |
#cryptsize ⇒ Object (readonly)
Returns the value of attribute cryptsize.
503 504 505 |
# File 'lib/macho/load_commands.rb', line 503 def cryptsize @cryptsize end |