9 #include "../../asm/arch/snes/snes_op_table.h"
10 #include "../../asm/p/asm_snes.h"
301 op->jump = data[1] | data[2] << 8 | data[3] << 16;
350 op->jump = data[1] | data[2] << 8 | data[3] << 16;
363 if (((
st8)data[1]) & 0x10) {
366 if (((
st8)data[1]) & 0x20) {
371 if (((
st8)data[1]) & 0x10) {
374 if (((
st8)data[1]) & 0x20) {
384 return *user !=
NULL;
395 .desc =
"SNES analysis plugin",
404 #ifndef RZ_PLUGIN_INCORE
static bool snes_analysis_fini(void *user)
RZ_API RzLibStruct rizin_plugin
RzAnalysisPlugin rz_analysis_plugin_snes
static bool snes_analysis_init(void **user)
static int snes_anop(RzAnalysis *analysis, RzAnalysisOp *op, ut64 addr, const ut8 *data, int len, RzAnalysisOpMask mask)
RZ_API void Ht_() free(HtName_(Ht) *ht)
@ RZ_ANALYSIS_OP_TYPE_CMP
@ RZ_ANALYSIS_OP_TYPE_SUB
@ RZ_ANALYSIS_OP_TYPE_LOAD
@ RZ_ANALYSIS_OP_TYPE_UNK
@ RZ_ANALYSIS_OP_TYPE_ROL
@ RZ_ANALYSIS_OP_TYPE_JMP
@ RZ_ANALYSIS_OP_TYPE_AND
@ RZ_ANALYSIS_OP_TYPE_SAL
@ RZ_ANALYSIS_OP_TYPE_UJMP
@ RZ_ANALYSIS_OP_TYPE_ROR
@ RZ_ANALYSIS_OP_TYPE_SWI
@ RZ_ANALYSIS_OP_TYPE_XCHG
@ RZ_ANALYSIS_OP_TYPE_CALL
@ RZ_ANALYSIS_OP_TYPE_ADD
@ RZ_ANALYSIS_OP_TYPE_STORE
@ RZ_ANALYSIS_OP_TYPE_PUSH
@ RZ_ANALYSIS_OP_TYPE_SHR
@ RZ_ANALYSIS_OP_TYPE_POP
@ RZ_ANALYSIS_OP_TYPE_CJMP
@ RZ_ANALYSIS_OP_TYPE_MOV
@ RZ_ANALYSIS_OP_TYPE_UCALL
@ RZ_ANALYSIS_OP_TYPE_RET
@ RZ_ANALYSIS_OP_TYPE_NOP
@ RZ_ANALYSIS_OP_TYPE_ACMP
@ RZ_ANALYSIS_OP_TYPE_XOR
#define rz_return_val_if_fail(expr, val)
static ut16 rz_read_le16(const void *src)
@ RZ_TYPE_COND_NE
Not equal.
static snes_op_t snes_op[]
static int snes_op_get_size(int M_flag, int X_flag, snes_op_t *op)
ut64(WINAPI *w32_GetEnabledXStateFeatures)()