chromium/components/zucchini/address_translator.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/zucchini/address_translator.h"

#include <algorithm>
#include <utility>
#include <vector>

namespace zucchini {

/******** AddressTranslator::OffsetToRvaCache ********/

AddressTranslator::OffsetToRvaCache::OffsetToRvaCache(
    const AddressTranslator& translator)
    :{}

rva_t AddressTranslator::OffsetToRvaCache::Convert(offset_t offset) const {}

/******** AddressTranslator::RvaToOffsetCache ********/

AddressTranslator::RvaToOffsetCache::RvaToOffsetCache(
    const AddressTranslator& translator)
    :{}

bool AddressTranslator::RvaToOffsetCache::IsValid(rva_t rva) const {}

offset_t AddressTranslator::RvaToOffsetCache::Convert(rva_t rva) const {}

/******** AddressTranslator ********/

AddressTranslator::AddressTranslator() = default;

AddressTranslator::AddressTranslator(AddressTranslator&&) = default;

AddressTranslator::~AddressTranslator() = default;

AddressTranslator::Status AddressTranslator::Initialize(
    std::vector<Unit>&& units) {}

rva_t AddressTranslator::OffsetToRva(offset_t offset) const {}

offset_t AddressTranslator::RvaToOffset(rva_t rva) const {}

const AddressTranslator::Unit* AddressTranslator::OffsetToUnit(
    offset_t offset) const {}

const AddressTranslator::Unit* AddressTranslator::RvaToUnit(rva_t rva) const {}

}  // namespace zucchini