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


691
692
693
694
# File 'lib/rex/peparsey/pebase.rb', line 691

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

Instance Attribute Details

#reltypeObject

Returns the value of attribute reltype


689
690
691
# File 'lib/rex/peparsey/pebase.rb', line 689

def reltype
  @reltype
end

#rvaObject

Returns the value of attribute rva


689
690
691
# File 'lib/rex/peparsey/pebase.rb', line 689

def rva
  @rva
end