def METHOD_NAME(self, offset):
    """
    Convert a file offset into a virtual memory address
    """
    addr = offset - self.offset + self.vaddr
    if not self.contains_addr(addr):
        return None
    return addr