mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-29 01:38:24 +00:00
16 lines
287 B
C++
16 lines
287 B
C++
#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;
|
|
}; |