Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_analysis.h>
#include <rz_lib.h>
#include <capstone/capstone.h>
#include <capstone/systemz.h>
Go to the source code of this file.
Macros | |
#define | INSOP(n) insn->detail->sysz.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) |
static char * | get_reg_profile (RzAnalysis *analysis) |
static int | archinfo (RzAnalysis *analysis, int q) |
Variables | |
RzAnalysisPlugin | rz_analysis_plugin_sysz |
RZ_API RzLibStruct | rizin_plugin |
#define INSOP | ( | n | ) | insn->detail->sysz.operands[n] |
Definition at line 14 of file analysis_sysz.c.
|
static |
Definition at line 58 of file analysis_sysz.c.
References addr, CS_ARCH_SYSZ, cs_close(), cs_disasm(), capstone::CS_ERR_OK, cs_free(), CS_MODE_BIG_ENDIAN, 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_CALL, RZ_ANALYSIS_OP_TYPE_CJMP, RZ_ANALYSIS_OP_TYPE_ILL, RZ_ANALYSIS_OP_TYPE_JMP, SYSZ_INS_BASR, SYSZ_INS_BER, SYSZ_INS_BHER, SYSZ_INS_BHR, SYSZ_INS_BLER, SYSZ_INS_BLHR, SYSZ_INS_BLR, SYSZ_INS_BNER, SYSZ_INS_BNHER, SYSZ_INS_BNHR, SYSZ_INS_BNLER, SYSZ_INS_BNLHR, SYSZ_INS_BNLR, SYSZ_INS_BNOR, SYSZ_INS_BOR, SYSZ_INS_BR, SYSZ_INS_BRAS, SYSZ_INS_BRASL, SYSZ_INS_BRC, SYSZ_INS_BRCL, SYSZ_INS_BRCT, SYSZ_INS_BRCTG, SYSZ_INS_J, SYSZ_INS_JE, SYSZ_INS_JG, SYSZ_INS_JGE, SYSZ_INS_JGH, SYSZ_INS_JGHE, SYSZ_INS_JGL, SYSZ_INS_JGLE, SYSZ_INS_JGLH, SYSZ_INS_JGNE, SYSZ_INS_JGNH, SYSZ_INS_JGNHE, SYSZ_INS_JGNL, SYSZ_INS_JGNLE, SYSZ_INS_JGNLH, SYSZ_INS_JGNO, SYSZ_INS_JGO, SYSZ_INS_JH, SYSZ_INS_JHE, SYSZ_INS_JL, SYSZ_INS_JLE, SYSZ_INS_JLH, SYSZ_INS_JNE, SYSZ_INS_JNH, SYSZ_INS_JNHE, SYSZ_INS_JNL, SYSZ_INS_JNLE, SYSZ_INS_JNLH, SYSZ_INS_JNO, SYSZ_INS_JO, and UT64_MAX.
|
static |
Definition at line 187 of file analysis_sysz.c.
References RZ_ANALYSIS_ARCHINFO_ALIGN, RZ_ANALYSIS_ARCHINFO_MAX_OP_SIZE, and RZ_ANALYSIS_ARCHINFO_MIN_OP_SIZE.
|
static |
Definition at line 149 of file analysis_sysz.c.
Definition at line 16 of file analysis_sysz.c.
References cs_reg_name(), handle, i, pj_end(), pj_free(), pj_ka(), pj_kN(), pj_ks(), pj_new(), pj_o(), pj_string(), rz_strbuf_append(), rz_strbuf_init(), SYSZ_OP_IMM, SYSZ_OP_MEM, SYSZ_OP_REG, SYSZ_REG_INVALID, and x.
Referenced by analop().
RZ_API RzLibStruct rizin_plugin |
Definition at line 212 of file analysis_sysz.c.
RzAnalysisPlugin rz_analysis_plugin_sysz |
Definition at line 199 of file analysis_sysz.c.