Class: Rubycc::ObjFile::ELFReader::Relocation

Inherits:
Struct
  • Object
show all
Defined in:
lib/rubycc/objfile/elf_reader.rb

Overview

A single RELA entry. symbol is the resolved Symbol (from the RELA section's linked symbol table); type is the numeric relocation type and type_name its RELOC_TYPES symbol (nil when unknown). addend is signed.

Instance Attribute Summary collapse

Instance Attribute Details

#addendObject

Returns the value of attribute addend

Returns:

  • (Object)

    the current value of addend



197
198
199
# File 'lib/rubycc/objfile/elf_reader.rb', line 197

def addend
  @addend
end

#offsetObject

Returns the value of attribute offset

Returns:

  • (Object)

    the current value of offset



197
198
199
# File 'lib/rubycc/objfile/elf_reader.rb', line 197

def offset
  @offset
end

#symbolObject

Returns the value of attribute symbol

Returns:

  • (Object)

    the current value of symbol



197
198
199
# File 'lib/rubycc/objfile/elf_reader.rb', line 197

def symbol
  @symbol
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



197
198
199
# File 'lib/rubycc/objfile/elf_reader.rb', line 197

def type
  @type
end

#type_nameObject

Returns the value of attribute type_name

Returns:

  • (Object)

    the current value of type_name



197
198
199
# File 'lib/rubycc/objfile/elf_reader.rb', line 197

def type_name
  @type_name
end