Rizin
unix-like reverse engineering framework and cli tools
|
#include <stdio.h>
#include <capstone/capstone.h>
Go to the source code of this file.
Classes | |
struct | platform |
Macros | |
#define | TMS320C64X_CODE "\x01\xac\x88\x40\x81\xac\x88\x43\x00\x00\x00\x00\x02\x90\x32\x96\x02\x80\x46\x9e\x05\x3c\x83\xe6\x0b\x0c\x8b\x24" |
Functions | |
static void | print_string_hex (const char *comment, unsigned char *str, size_t len) |
static void | print_insn_detail (cs_insn *ins) |
static void | test () |
int | main () |
Variables | |
static csh | handle |
#define TMS320C64X_CODE "\x01\xac\x88\x40\x81\xac\x88\x43\x00\x00\x00\x00\x02\x90\x32\x96\x02\x80\x46\x9e\x05\x3c\x83\xe6\x0b\x0c\x8b\x24" |
int main | ( | void | ) |
Definition at line 188 of file test_tms320c64x.c.
References test().
|
static |
Definition at line 30 of file test_tms320c64x.c.
References cs_tms320c64x::condition, cs_tms320c64x::crosspath, cs_reg_name(), cs_tms320c64x::funit, handle, i, NULL, cs_tms320c64x::op_count, cs_tms320c64x::operands, cs_tms320c64x::parallel, printf(), cs_tms320c64x::reg, cs_tms320c64x::side, TMS320C64X_FUNIT_D, TMS320C64X_FUNIT_L, TMS320C64X_FUNIT_M, TMS320C64X_FUNIT_NO, TMS320C64X_FUNIT_S, TMS320C64X_MEM_DIR_BW, TMS320C64X_MEM_DIR_FW, TMS320C64X_MEM_DIR_INVALID, TMS320C64X_MEM_DISP_CONSTANT, TMS320C64X_MEM_DISP_INVALID, TMS320C64X_MEM_DISP_REGISTER, TMS320C64X_MEM_MOD_INVALID, TMS320C64X_MEM_MOD_NO, TMS320C64X_MEM_MOD_POST, TMS320C64X_MEM_MOD_PRE, TMS320C64X_OP_IMM, TMS320C64X_OP_MEM, TMS320C64X_OP_REG, TMS320C64X_OP_REGPAIR, TMS320C64X_REG_INVALID, cs_tms320c64x::unit, and cs_tms320c64x::zero.
Referenced by test().
Definition at line 18 of file test_tms320c64x.c.
References c, len, printf(), and cmd_descs_generate::str.
Referenced by test().
|
static |
Definition at line 130 of file test_tms320c64x.c.
References arch, platform::comment, count, CS_ARCH_TMS320C64X, cs_close(), cs_disasm(), cs_free(), CS_MODE_BIG_ENDIAN, cs_open(), CS_OPT_DETAIL, CS_OPT_ON, cs_option(), err, handle, i, platforms, print_insn_detail(), print_string_hex(), printf(), PRIx64, and TMS320C64X_CODE.
Referenced by main().
|
static |
Definition at line 16 of file test_tms320c64x.c.
Referenced by print_insn_detail(), and test().