class MachO::LoadCommands::EncryptionInfoCommand64

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

Constants

FORMAT

@see MachOStructure::FORMAT @api private

SIZEOF

@see MachOStructure::SIZEOF @api private

Attributes

cryptid[R]

@return [Fixnum] the encryption system, or 0 if not encrypted yet

cryptoff[R]

@return [Fixnum] the offset to the encrypted segment

cryptsize[R]

@return [Fixnum] the size of the encrypted segment

pad[R]

@return [Fixnum] 64-bit padding value

Public Class Methods

new(view, cmd, cmdsize, cryptoff, cryptsize, cryptid, pad) click to toggle source

@api private

Calls superclass method MachO::LoadCommands::LoadCommand::new
# File lib/macho/load_commands.rb, line 1065
def initialize(view, cmd, cmdsize, cryptoff, cryptsize, cryptid, pad)
  super(view, cmd, cmdsize)
  @cryptoff = cryptoff
  @cryptsize = cryptsize
  @cryptid = cryptid
  @pad = pad
end