diff options
author | 2023-10-10 14:33:42 +0000 | |
---|---|---|
committer | 2023-10-10 14:33:42 +0000 | |
commit | af1a266670d040d2f4083ff309d732d648afba2a (patch) | |
tree | 2fc46203448ddcc6f81546d379abfaeb323575e9 /capstone/arch/M68K/M68KInstPrinter.h | |
parent | e02cda008591317b1625707ff8e115a4841aa889 (diff) |
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'capstone/arch/M68K/M68KInstPrinter.h')
-rw-r--r-- | capstone/arch/M68K/M68KInstPrinter.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/capstone/arch/M68K/M68KInstPrinter.h b/capstone/arch/M68K/M68KInstPrinter.h new file mode 100644 index 000000000..45841ed2d --- /dev/null +++ b/capstone/arch/M68K/M68KInstPrinter.h @@ -0,0 +1,21 @@ +/* Capstone Disassembly Engine */ +/* M68K Backend by Daniel Collin <daniel@collin.com> 2015 */ + +#ifndef CS_M68KINSTPRINTER_H +#define CS_M68KINSTPRINTER_H + +#include "capstone/capstone.h" +#include "../../MCRegisterInfo.h" +#include "../../MCInst.h" + +struct SStream; + +void M68K_init(MCRegisterInfo *MRI); +void M68K_printInst(MCInst* MI, struct SStream* O, void* Info); +const char* M68K_reg_name(csh handle, unsigned int reg); +void M68K_get_insn_id(cs_struct* h, cs_insn* insn, unsigned int id); +const char *M68K_insn_name(csh handle, unsigned int id); +const char* M68K_group_name(csh handle, unsigned int id); +void M68K_post_printer(csh handle, cs_insn* flat_insn, char* insn_asm, MCInst* mci); + +#endif |