Class: Rex::PeParsey::PeBase::RelocationDirectory

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(rva, entries) ⇒ RelocationDirectory

Returns a new instance of RelocationDirectory.



677
678
679
680
681
682
683
684
685
# File 'lib/rex/peparsey/pebase.rb', line 677

def initialize(rva, entries)
  self.rva     = rva
  self.entries = entries
  self.name    = name
  self.characteristics = chars
  self.timedate = timedate
  self.version = version
  self.entries = []
end

Instance Attribute Details

#entriesObject

Returns the value of attribute entries.



675
676
677
# File 'lib/rex/peparsey/pebase.rb', line 675

def entries
  @entries
end

#rvaObject

Returns the value of attribute rva.



675
676
677
# File 'lib/rex/peparsey/pebase.rb', line 675

def rva
  @rva
end