Class: MachO::DyldInfoCommand

Inherits:
LoadCommand show all
Defined in:
lib/macho/load_commands.rb

Instance Attribute Summary collapse

Attributes inherited from LoadCommand

#cmd, #cmdsize, #offset

Instance Method Summary collapse

Methods inherited from LoadCommand

new_from_bin, #to_s

Methods inherited from MachOStructure

bytesize, new_from_bin

Constructor Details

#initialize(offset, cmd, cmdsize, rebase_off, rebase_size, bind_off, bind_size, weak_bind_off, weak_bind_size, lazy_bind_off, lazy_bind_size, export_off, export_size) ⇒ DyldInfoCommand

Returns a new instance of DyldInfoCommand.



552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
# File 'lib/macho/load_commands.rb', line 552

def initialize(offset, cmd, cmdsize, rebase_off, rebase_size, bind_off,
    bind_size, weak_bind_off, weak_bind_size, lazy_bind_off,
    lazy_bind_size, export_off, export_size)
  super(offset, cmd, cmdsize)
  @rebase_off = rebase_off
  @rebase_size = rebase_size
  @bind_off = bind_off
  @bind_size = bind_size
  @weak_bind_off = weak_bind_off
  @weak_bind_size = weak_bind_size
  @lazy_bind_off = lazy_bind_off
  @lazy_bind_size = lazy_bind_size
  @export_off = export_off
  @export_size = export_size
end

Instance Attribute Details

#bind_offObject (readonly)

Returns the value of attribute bind_off.



545
546
547
# File 'lib/macho/load_commands.rb', line 545

def bind_off
  @bind_off
end

#bind_sizeObject (readonly)

Returns the value of attribute bind_size.



545
546
547
# File 'lib/macho/load_commands.rb', line 545

def bind_size
  @bind_size
end

#export_offObject (readonly)

Returns the value of attribute export_off.



547
548
549
# File 'lib/macho/load_commands.rb', line 547

def export_off
  @export_off
end

#export_sizeObject (readonly)

Returns the value of attribute export_size.



547
548
549
# File 'lib/macho/load_commands.rb', line 547

def export_size
  @export_size
end

#lazy_bind_offObject (readonly)

Returns the value of attribute lazy_bind_off.



546
547
548
# File 'lib/macho/load_commands.rb', line 546

def lazy_bind_off
  @lazy_bind_off
end

#lazy_bind_sizeObject (readonly)

Returns the value of attribute lazy_bind_size.



547
548
549
# File 'lib/macho/load_commands.rb', line 547

def lazy_bind_size
  @lazy_bind_size
end

#rebase_offObject (readonly)

Returns the value of attribute rebase_off.



545
546
547
# File 'lib/macho/load_commands.rb', line 545

def rebase_off
  @rebase_off
end

#rebase_sizeObject (readonly)

Returns the value of attribute rebase_size.



545
546
547
# File 'lib/macho/load_commands.rb', line 545

def rebase_size
  @rebase_size
end

#weak_bind_offObject (readonly)

Returns the value of attribute weak_bind_off.



546
547
548
# File 'lib/macho/load_commands.rb', line 546

def weak_bind_off
  @weak_bind_off
end

#weak_bind_sizeObject (readonly)

Returns the value of attribute weak_bind_size.



546
547
548
# File 'lib/macho/load_commands.rb', line 546

def weak_bind_size
  @weak_bind_size
end