Files
dolphin/Source/Core/Common/HostDisassembler.h
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
484 B
C++
Raw Normal View History

// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
2024-04-15 21:52:40 -07:00
#include <cstddef>
#include <iosfwd>
#include <memory>
2024-04-15 21:52:40 -07:00
#include "Common/CommonTypes.h"
class HostDisassembler
{
public:
2024-04-15 21:52:40 -07:00
enum class Platform
{
2024-04-15 21:52:40 -07:00
x86_64,
aarch64,
};
2024-04-15 21:52:40 -07:00
virtual ~HostDisassembler() = default;
2024-04-15 21:52:40 -07:00
static std::unique_ptr<HostDisassembler> Factory(Platform arch);
virtual std::size_t Disassemble(const u8* begin, const u8* end, std::ostream& stream);
};