Class: MachO::DysymtabCommand

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, ilocalsym, nlocalsym, iextdefsym, nextdefsym, iundefsym, nundefsym, tocoff, ntoc, modtaboff, nmodtab, extrefsymoff, nextrefsyms, indirectsymoff, nindirectsyms, extreloff, nextrel, locreloff, nlocrel) ⇒ DysymtabCommand

ugh



426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
# File 'lib/macho/load_commands.rb', line 426

def initialize(offset, cmd, cmdsize, ilocalsym, nlocalsym, iextdefsym,
		nextdefsym, iundefsym, nundefsym, tocoff, ntoc, modtaboff,
		nmodtab, extrefsymoff, nextrefsyms, indirectsymoff,
		nindirectsyms, extreloff, nextrel, locreloff, nlocrel)
	super(offset, cmd, cmdsize)
	@ilocalsym = ilocalsym
	@nlocalsym = nlocalsym
	@iextdefsym = iextdefsym
	@nextdefsym = nextdefsym
	@iundefsym = iundefsym
	@nundefsym = nundefsym
	@tocoff = tocoff
	@ntoc = ntoc
	@modtaboff = modtaboff
	@nmodtab = nmodtab
	@extrefsymoff = extrefsymoff
	@nextrefsyms = nextrefsyms
	@indirectsymoff = indirectsymoff
	@nindirectsyms = nindirectsyms
	@extreloff = extreloff
	@nextrel = nextrel
	@locreloff = locreloff
	@nlocrel = nlocrel
end

Instance Attribute Details

#extrefsymoffObject (readonly)

Returns the value of attribute extrefsymoff.



419
420
421
# File 'lib/macho/load_commands.rb', line 419

def extrefsymoff
  @extrefsymoff
end

#extreloffObject (readonly)

Returns the value of attribute extreloff.



420
421
422
# File 'lib/macho/load_commands.rb', line 420

def extreloff
  @extreloff
end

#iextdefsymObject (readonly)

Returns the value of attribute iextdefsym.



417
418
419
# File 'lib/macho/load_commands.rb', line 417

def iextdefsym
  @iextdefsym
end

#ilocalsymObject (readonly)

Returns the value of attribute ilocalsym.



417
418
419
# File 'lib/macho/load_commands.rb', line 417

def ilocalsym
  @ilocalsym
end

#indirectsymoffObject (readonly)

Returns the value of attribute indirectsymoff.



419
420
421
# File 'lib/macho/load_commands.rb', line 419

def indirectsymoff
  @indirectsymoff
end

#iundefsymObject (readonly)

Returns the value of attribute iundefsym.



418
419
420
# File 'lib/macho/load_commands.rb', line 418

def iundefsym
  @iundefsym
end

#locreloffObject (readonly)

Returns the value of attribute locreloff.



420
421
422
# File 'lib/macho/load_commands.rb', line 420

def locreloff
  @locreloff
end

#modtaboffObject (readonly)

Returns the value of attribute modtaboff.



418
419
420
# File 'lib/macho/load_commands.rb', line 418

def modtaboff
  @modtaboff
end

#nextdefsymObject (readonly)

Returns the value of attribute nextdefsym.



417
418
419
# File 'lib/macho/load_commands.rb', line 417

def nextdefsym
  @nextdefsym
end

#nextrefsymsObject (readonly)

Returns the value of attribute nextrefsyms.



419
420
421
# File 'lib/macho/load_commands.rb', line 419

def nextrefsyms
  @nextrefsyms
end

#nextrelObject (readonly)

Returns the value of attribute nextrel.



420
421
422
# File 'lib/macho/load_commands.rb', line 420

def nextrel
  @nextrel
end

#nindirectsymsObject (readonly)

Returns the value of attribute nindirectsyms.



420
421
422
# File 'lib/macho/load_commands.rb', line 420

def nindirectsyms
  @nindirectsyms
end

#nlocalsymObject (readonly)

Returns the value of attribute nlocalsym.



417
418
419
# File 'lib/macho/load_commands.rb', line 417

def nlocalsym
  @nlocalsym
end

#nlocrelObject (readonly)

Returns the value of attribute nlocrel.



420
421
422
# File 'lib/macho/load_commands.rb', line 420

def nlocrel
  @nlocrel
end

#nmodtabObject (readonly)

Returns the value of attribute nmodtab.



419
420
421
# File 'lib/macho/load_commands.rb', line 419

def nmodtab
  @nmodtab
end

#ntocObject (readonly)

Returns the value of attribute ntoc.



418
419
420
# File 'lib/macho/load_commands.rb', line 418

def ntoc
  @ntoc
end

#nundefsymObject (readonly)

Returns the value of attribute nundefsym.



418
419
420
# File 'lib/macho/load_commands.rb', line 418

def nundefsym
  @nundefsym
end

#tocoffObject (readonly)

Returns the value of attribute tocoff.



418
419
420
# File 'lib/macho/load_commands.rb', line 418

def tocoff
  @tocoff
end