chromium/components/zucchini/test_disassembler.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.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "components/zucchini/test_disassembler.h"

#include "components/zucchini/test_reference_reader.h"

namespace zucchini {

// |num_equivalence_iterations_| = 2 to cover common case for testing.
TestDisassembler::TestDisassembler(const ReferenceTypeTraits& traits1,
                                   const std::vector<Reference>& refs1,
                                   const ReferenceTypeTraits& traits2,
                                   const std::vector<Reference>& refs2,
                                   const ReferenceTypeTraits& traits3,
                                   const std::vector<Reference>& refs3)
    :{}

TestDisassembler::~TestDisassembler() = default;

ExecutableType TestDisassembler::GetExeType() const {}

std::string TestDisassembler::GetExeTypeString() const {}

std::vector<ReferenceGroup> TestDisassembler::MakeReferenceGroups() const {}

bool TestDisassembler::Parse(ConstBufferView image) {}

std::unique_ptr<ReferenceReader> TestDisassembler::MakeReadRefs(int type) {}

std::unique_ptr<ReferenceWriter> TestDisassembler::MakeWriteRefs(
    MutableBufferView image) {}

}  // namespace zucchini