Class: Elf::Relocation

Inherits:
Object
  • Object
show all
Defined in:
lib/mithril/elf.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRelocation

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

#addendObject

Returns the value of attribute addend.



191
192
193
# File 'lib/mithril/elf.rb', line 191

def addend
  @addend
end

#is_dynamicObject

false for static, true otherwise.



192
193
194
# File 'lib/mithril/elf.rb', line 192

def is_dynamic
  @is_dynamic
end

#is_lazyObject

Is in PLT



193
194
195
# File 'lib/mithril/elf.rb', line 193

def is_lazy
  @is_lazy
end

#offsetObject

Returns the value of attribute offset.



191
192
193
# File 'lib/mithril/elf.rb', line 191

def offset
  @offset
end

#sectionObject

Returns the value of attribute section.



191
192
193
# File 'lib/mithril/elf.rb', line 191

def section
  @section
end

#symbolObject

Returns the value of attribute symbol.



191
192
193
# File 'lib/mithril/elf.rb', line 191

def symbol
  @symbol
end

#typeObject

Returns the value of attribute type.



191
192
193
# File 'lib/mithril/elf.rb', line 191

def type
  @type
end