Class: Elf::Relocation
- Inherits:
-
Object
- Object
- Elf::Relocation
- Defined in:
- lib/mithril/elf.rb
Instance Attribute Summary collapse
-
#addend ⇒ Object
Returns the value of attribute addend.
-
#is_dynamic ⇒ Object
false for static, true otherwise.
-
#is_lazy ⇒ Object
Is in PLT.
-
#offset ⇒ Object
Returns the value of attribute offset.
-
#section ⇒ Object
Returns the value of attribute section.
-
#symbol ⇒ Object
Returns the value of attribute symbol.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize ⇒ Relocation
constructor
A new instance of Relocation.
Constructor Details
#initialize ⇒ Relocation
Returns a new instance of Relocation.
194 195 196 197 |
# File 'lib/mithril/elf.rb', line 194 def initialize @is_dynamic = false @is_lazy = false end |
Instance Attribute Details
#addend ⇒ Object
Returns the value of attribute addend.
191 192 193 |
# File 'lib/mithril/elf.rb', line 191 def addend @addend end |
#is_dynamic ⇒ Object
false for static, true otherwise.
192 193 194 |
# File 'lib/mithril/elf.rb', line 192 def is_dynamic @is_dynamic end |
#is_lazy ⇒ Object
Is in PLT
193 194 195 |
# File 'lib/mithril/elf.rb', line 193 def is_lazy @is_lazy end |
#offset ⇒ Object
Returns the value of attribute offset.
191 192 193 |
# File 'lib/mithril/elf.rb', line 191 def offset @offset end |
#section ⇒ Object
Returns the value of attribute section.
191 192 193 |
# File 'lib/mithril/elf.rb', line 191 def section @section end |
#symbol ⇒ Object
Returns the value of attribute symbol.
191 192 193 |
# File 'lib/mithril/elf.rb', line 191 def symbol @symbol end |
#type ⇒ Object
Returns the value of attribute type.
191 192 193 |
# File 'lib/mithril/elf.rb', line 191 def type @type end |