Class: Rex::PeParsey::PeBase::RelocationEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/rex/peparsey/pebase.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_rva, _type) ⇒ RelocationEntry

Returns a new instance of RelocationEntry.



707
708
709
710
# File 'lib/rex/peparsey/pebase.rb', line 707

def initialize(_rva, _type)
	self.rva     = _rva
	self.reltype = _type
end

Instance Attribute Details

#reltypeObject

Returns the value of attribute reltype.



705
706
707
# File 'lib/rex/peparsey/pebase.rb', line 705

def reltype
  @reltype
end

#rvaObject

Returns the value of attribute rva.



705
706
707
# File 'lib/rex/peparsey/pebase.rb', line 705

def rva
  @rva
end