mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-19 04:58:27 +00:00
18 lines
328 B
C++
18 lines
328 B
C++
#pragma once
|
|
|
|
#include "Zydis.h"
|
|
#include "../types.h"
|
|
|
|
class Disassembler
|
|
{
|
|
public:
|
|
Disassembler();
|
|
~Disassembler();
|
|
void printInst(ZydisDecodedInstruction& inst, ZydisDecodedOperand* operands,u64 address);
|
|
void printInstruction(void* code,u64 address);
|
|
|
|
private:
|
|
ZydisDecoder m_decoder;
|
|
ZydisFormatter m_formatter;
|
|
};
|