#include <stdio.h>
#include <rz_types.h>
#include <rz_lib.h>
#include <rz_asm.h>
#include <capstone/capstone.h>
#include "../arch/tms320/tms320_dasm.h"
Go to the source code of this file.
◆ CAPSTONE_HAS_TMS320C64X
#define CAPSTONE_HAS_TMS320C64X 0 |
◆ TmsContext
◆ tms320_disassemble()
Definition at line 75 of file asm_tms320.c.
84 #if CAPSTONE_HAS_TMS320C64X
86 return tms320c64x_disassemble(
a,
op,
buf,
len);
RZ_API void rz_asm_op_set_asm(RzAsmOp *op, const char *str)
RZ_API int rz_str_casecmp(const char *dst, const char *orig)
int tms320_dasm(tms320_dasm_t *dasm, const ut8 *stream, int len)
#define tms320_f_set_cpu(d, v)
#define TMS320_F_CPU_C55X_PLUS
#define TMS320_F_CPU_C54X
#define TMS320_F_CPU_C55X
if(dbg->bits==RZ_SYS_BITS_64)
References a, if(), len, rz_asm_op_set_asm(), rz_str_casecmp(), tms320_dasm(), TMS320_F_CPU_C54X, TMS320_F_CPU_C55X, TMS320_F_CPU_C55X_PLUS, and tms320_f_set_cpu.
◆ tms320_fini()
static bool tms320_fini |
( |
void * |
user | ) |
|
|
static |
◆ tms320_init()
static bool tms320_init |
( |
void ** |
user | ) |
|
|
static |
◆ rizin_plugin
Initial value:= {
}
RzAsmPlugin rz_asm_plugin_tms320
Definition at line 137 of file asm_tms320.c.
◆ rz_asm_plugin_tms320
Initial value:= {
.name = "tms320",
.arch = "tms320",
.cpus = "c54x,c55x,c55x+",
.desc = "TMS320 DSP family (c54x,c55x,c55x+)",
.license = "LGPLv3",
.bits = 32,
}
static bool tms320_fini(void *user)
static bool tms320_init(void **user)
static int tms320_disassemble(RzAsm *a, RzAsmOp *op, const ut8 *buf, int len)
#define RZ_SYS_ENDIAN_BIG
#define RZ_SYS_ENDIAN_LITTLE
Definition at line 118 of file asm_tms320.c.