Class: Rubycc::ObjFile::ELFReader::Relocation
- Inherits:
-
Struct
- Object
- Struct
- Rubycc::ObjFile::ELFReader::Relocation
- 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
-
#addend ⇒ Object
Returns the value of attribute addend.
-
#offset ⇒ Object
Returns the value of attribute offset.
-
#symbol ⇒ Object
Returns the value of attribute symbol.
-
#type ⇒ Object
Returns the value of attribute type.
-
#type_name ⇒ Object
Returns the value of attribute type_name.
Instance Attribute Details
#addend ⇒ Object
Returns the value of attribute addend
197 198 199 |
# File 'lib/rubycc/objfile/elf_reader.rb', line 197 def addend @addend end |
#offset ⇒ Object
Returns the value of attribute offset
197 198 199 |
# File 'lib/rubycc/objfile/elf_reader.rb', line 197 def offset @offset end |
#symbol ⇒ Object
Returns the value of attribute symbol
197 198 199 |
# File 'lib/rubycc/objfile/elf_reader.rb', line 197 def symbol @symbol end |
#type ⇒ Object
Returns the value of attribute type
197 198 199 |
# File 'lib/rubycc/objfile/elf_reader.rb', line 197 def type @type end |
#type_name ⇒ Object
Returns the value of attribute type_name
197 198 199 |
# File 'lib/rubycc/objfile/elf_reader.rb', line 197 def type_name @type_name end |