Method: Rex::PeParsey::PeBase#find_section_by_rva

Defined in:
lib/rex/peparsey/pebase.rb

#find_section_by_rva(rva) ⇒ Object



1244
1245
1246
1247
1248
1249
1250
1251
1252
# File 'lib/rex/peparsey/pebase.rb', line 1244

def find_section_by_rva(rva)
  section = _find_section_by_rva(rva)

  if !section
    raise PeParseyError, "Cannot find rva! #{rva}", caller
  end

  return section
end