6 #include <capstone/capstone.h>
10 #ifdef CAPSTONE_TMS320C64X_H
11 #define CAPSTONE_HAS_TMS320C64X 1
13 #define CAPSTONE_HAS_TMS320C64X 0
14 #warning Cannot find capstone-tms320c64x support
17 #if CAPSTONE_HAS_TMS320C64X
50 op->size = insn->size;
63 .desc =
"Capstone TMS320c64x disassembler",
76 .desc =
"Capstone TMS320c64x disassembler (unsupported)",
86 #ifndef RZ_PLUGIN_INCORE
RZ_API void rz_asm_op_set_asm(RzAsmOp *op, const char *str)
static int disassemble(RzAsm *a, RzAsmOp *op, const ut8 *buf, int len)
RZ_API RzLibStruct rizin_plugin
RzAsmPlugin rz_asm_plugin_tms320c64x
@ CS_ARCH_TMS320C64X
TMS320C64x architecture.
@ CS_OPT_DETAIL
Break down instruction structure into details.
@ CS_OPT_OFF
Turn OFF an option - default for CS_OPT_DETAIL, CS_OPT_SKIPDATA, CS_OPT_UNSIGNED.
CAPSTONE_EXPORT size_t CAPSTONE_API cs_disasm(csh ud, const uint8_t *buffer, size_t size, uint64_t offset, size_t count, cs_insn **insn)
CAPSTONE_EXPORT cs_err CAPSTONE_API cs_open(cs_arch arch, cs_mode mode, csh *handle)
CAPSTONE_EXPORT void CAPSTONE_API cs_free(cs_insn *insn, size_t count)
CAPSTONE_EXPORT cs_err CAPSTONE_API cs_close(csh *handle)
CAPSTONE_EXPORT cs_err CAPSTONE_API cs_option(csh ud, cs_opt_type type, size_t value)
RZ_API char * sdb_fmt(const char *fmt,...)
return memset(p, 0, total)
RZ_API void rz_str_case(char *str, bool up)
RZ_API int rz_str_replace_char(char *s, int a, int b)
RZ_API char * rz_strbuf_get(RzStrBuf *sb)
#define RZ_SYS_ENDIAN_BIG
#define RZ_SYS_ENDIAN_LITTLE
static const char * mnemonics[]