class Rex::PeParsey::PeBase::SectionHeader

Public Class Methods

new(rawdata) click to toggle source
# File lib/rex/peparsey/pebase.rb, line 621
def initialize(rawdata)
  section_header = IMAGE_SECTION_HEADER.make_struct

  if !section_header.from_s(rawdata)
    raise SectionHeaderError, "Could not parse header", caller
  end

  self.struct = section_header
end

Public Instance Methods

PointerToRawData() click to toggle source
# File lib/rex/peparsey/pebase.rb, line 637
def PointerToRawData
  v['PointerToRawData']
end
SizeOfRawData() click to toggle source
# File lib/rex/peparsey/pebase.rb, line 634
def SizeOfRawData
  v['SizeOfRawData']
end
VirtualAddress() click to toggle source
# File lib/rex/peparsey/pebase.rb, line 631
def VirtualAddress
  v['VirtualAddress']
end