1 /* Capstone Disassembly Engine */ 2 /* M68K Backend by Daniel Collin <daniel@collin.com> 2015 */ 3 4 #ifndef CS_M68KINSTPRINTER_H 5 #define CS_M68KINSTPRINTER_H 6 7 #include "capstone/capstone.h" 8 #include "../../MCRegisterInfo.h" 9 #include "../../MCInst.h" 10 11 struct SStream; 12 13 void M68K_init(MCRegisterInfo *MRI); 14 void M68K_printInst(MCInst* MI, struct SStream* O, void* Info); 15 const char* M68K_reg_name(csh handle, unsigned int reg); 16 void M68K_get_insn_id(cs_struct* h, cs_insn* insn, unsigned int id); 17 const char *M68K_insn_name(csh handle, unsigned int id); 18 const char* M68K_group_name(csh handle, unsigned int id); 19 void M68K_post_printer(csh handle, cs_insn* flat_insn, char* insn_asm, MCInst* mci); 20 21 #endif 22