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.



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

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

Instance Attribute Details

#reltypeObject

Returns the value of attribute reltype.



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

def reltype
  @reltype
end

#rvaObject

Returns the value of attribute rva.



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

def rva
  @rva
end