docs: def get_rva_from_offset(self, offset):
          """Get the RVA corresponding to this file offset. """
          
          s = self.get_section_by_offset(offset)
          if not s:
              if self.sections:
                  lowest_rva = min( [ adjust_SectionAlignment( s.VirtualAddress, 
                      self.OPTIONAL_HEADER.SectionAlignment, self.OPTIONAL_HEADER.FileAlignment ) for s in self.sections] )
                  if offset < lowest_rva:
                      # We will assume that the offset lies within the headers, or
                      # at least points before where the earliest section starts
                      # and we will simply return the offset as the RVA
                      #
                      # The case illustrating this behavior can be found at:
                      # http://corkami.blogspot.com/2010/01/hey-hey-hey-whats-in-your-head.html
                      # where the import table is not contained by any section
                      # hence the RVA needs to be resolved to a raw offset
                      return offset
              else:
                  return offset
              #raise PEFormatError("specified offset (0x%x) doesn't belong to any section." % offset)
          return s.get_rva_from_offset(offset)