Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_analysis.h>
#include <rz_lib.h>
#include <capstone/capstone.h>
#include <capstone/xcore.h>
Go to the source code of this file.
Macros | |
#define | INSOP(n) insn->detail->xcore.operands[n] |
Functions | |
static void | opex (RzStrBuf *buf, csh handle, cs_insn *insn) |
static int | analop (RzAnalysis *a, RzAnalysisOp *op, ut64 addr, const ut8 *buf, int len, RzAnalysisOpMask mask) |
Variables | |
RzAnalysisPlugin | rz_analysis_plugin_xcore_cs |
RZ_API RzLibStruct | rizin_plugin |
#define INSOP | ( | n | ) | insn->detail->xcore.operands[n] |
Definition at line 13 of file analysis_xcore_cs.c.
|
static |
Definition at line 57 of file analysis_xcore_cs.c.
References a, addr, CS_ARCH_XCORE, cs_close(), cs_disasm(), capstone::CS_ERR_OK, cs_free(), CS_MODE_BIG_ENDIAN, CS_MODE_V9, cs_open(), CS_OPT_DETAIL, CS_OPT_ON, cs_option(), handle, INSOP, len, mask, n, opex(), RZ_ANALYSIS_OP_MASK_OPEX, RZ_ANALYSIS_OP_TYPE_ADD, RZ_ANALYSIS_OP_TYPE_CALL, RZ_ANALYSIS_OP_TYPE_ILL, RZ_ANALYSIS_OP_TYPE_RET, RZ_ANALYSIS_OP_TYPE_SUB, XCORE_INS_ADD, XCORE_INS_BF, XCORE_INS_BL, XCORE_INS_BLA, XCORE_INS_BLAT, XCORE_INS_BRU, XCORE_INS_BT, XCORE_INS_BU, XCORE_INS_DCALL, XCORE_INS_DRET, XCORE_INS_ECALLF, XCORE_INS_ECALLT, XCORE_INS_KCALL, XCORE_INS_KRET, XCORE_INS_LADD, XCORE_INS_LSUB, XCORE_INS_RETSP, and XCORE_INS_SUB.
Definition at line 15 of file analysis_xcore_cs.c.
References cs_reg_name(), handle, i, pj_end(), pj_free(), pj_ka(), pj_ki(), pj_ks(), pj_new(), pj_o(), pj_string(), rz_strbuf_append(), rz_strbuf_init(), x, XCORE_OP_IMM, XCORE_OP_MEM, XCORE_OP_REG, and XCORE_REG_INVALID.
Referenced by analop().
RZ_API RzLibStruct rizin_plugin |
Definition at line 141 of file analysis_xcore_cs.c.
RzAnalysisPlugin rz_analysis_plugin_xcore_cs |
Definition at line 129 of file analysis_xcore_cs.c.