Files
kleines Filmröllchen e222d2cb8e LibDisassembly: Split existing generic interfaces from x86-specific code
InstructionStream, SymbolProvider and Disassembler are already generic
interfaces, so we can separate those from the x86-specific code. The
x86-specific code is moved to a new x86 subdirectory, which will be
accompanied by other architecture-specific directories soon.
2025-03-15 23:34:54 +01:00

23 lines
385 B
C++

/*
* Copyright (c) 2023, kleines Filmröllchen <[email protected]>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/ByteString.h>
#include <AK/Types.h>
namespace Disassembly {
class SymbolProvider {
public:
virtual ByteString symbolicate(FlatPtr, u32* offset = nullptr) const = 0;
protected:
virtual ~SymbolProvider() = default;
};
}