chromium/components/zucchini/test_disassembler.h

// 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.

#ifndef COMPONENTS_ZUCCHINI_TEST_DISASSEMBLER_H_
#define COMPONENTS_ZUCCHINI_TEST_DISASSEMBLER_H_

#include <memory>
#include <string>
#include <vector>

#include "components/zucchini/buffer_view.h"
#include "components/zucchini/disassembler.h"
#include "components/zucchini/image_utils.h"

namespace zucchini {

// A trivial Disassembler that reads injected references of 3 different types.
// This is only meant for testing and is not a full implementation of a
// disassembler. Reading reference ignores bounds, and writing references does
// nothing.
class TestDisassembler : public Disassembler {};

}  // namespace zucchini

#endif  // COMPONENTS_ZUCCHINI_TEST_DISASSEMBLER_H_