shadPS4/src/Util/Disassembler.h

16 lines
287 B
C
Raw Normal View History

2023-05-30 12:33:52 +02:00
#pragma once
#include "zydis/Zydis.h"
class Disassembler
{
public:
Disassembler();
~Disassembler();
void printInst(ZydisDecodedInstruction& inst, ZydisDecodedOperand* operands);
void printInstruction(void* code);
private:
ZydisDecoder m_decoder;
ZydisFormatter m_formatter;
};