Rizin
unix-like reverse engineering framework and cli tools
|
#include <string.h>
#include <rz_types.h>
#include <rz_lib.h>
#include <rz_asm.h>
#include <rz_analysis.h>
#include "../../asm/arch/snes/snes_op_table.h"
#include "../../asm/arch/6502/6502_il.inc"
Go to the source code of this file.
Enumerations | |
enum | { _6502_FLAGS_C = (1 << 0) , _6502_FLAGS_B = (1 << 1) , _6502_FLAGS_Z = (1 << 2) , _6502_FLAGS_N = (1 << 3) , _6502_FLAGS_NZ = (_6502_FLAGS_Z | _6502_FLAGS_N) , _6502_FLAGS_CNZ = (_6502_FLAGS_C | _6502_FLAGS_Z | _6502_FLAGS_N) , _6502_FLAGS_BNZ = (_6502_FLAGS_B | _6502_FLAGS_Z | _6502_FLAGS_N) } |
Variables | |
RzAnalysisPlugin | rz_analysis_plugin_6502 |
RZ_API RzLibStruct | rizin_plugin |
anonymous enum |
Enumerator | |
---|---|
_6502_FLAGS_C | |
_6502_FLAGS_B | |
_6502_FLAGS_Z | |
_6502_FLAGS_N | |
_6502_FLAGS_NZ | |
_6502_FLAGS_CNZ | |
_6502_FLAGS_BNZ |
Definition at line 22 of file analysis_6502.c.
|
static |
Definition at line 265 of file analysis_6502.c.
References rz_strbuf_setf().
Referenced by _6502_op().
|
static |
Definition at line 378 of file analysis_6502.c.
References rz_strbuf_setf().
Referenced by _6502_op().
|
static |
Definition at line 50 of file analysis_6502.c.
References imm, len, and snprintf.
Referenced by _6502_op().
|
static |
Definition at line 146 of file analysis_6502.c.
References imm, len, reg, and snprintf.
Referenced by _6502_op().
|
static |
Definition at line 206 of file analysis_6502.c.
References imm, len, reg, and snprintf.
Referenced by _6502_op().
|
static |
Definition at line 301 of file analysis_6502.c.
References _6502_analysis_esil_update_flags(), _6502_FLAGS_NZ, NULL, reg, and rz_strbuf_setf().
Referenced by _6502_op().
|
static |
Definition at line 318 of file analysis_6502.c.
References _6502_analysis_esil_update_flags(), _6502_FLAGS_NZ, dst, rz_strbuf_setf(), and src.
Referenced by _6502_op().
|
static |
Definition at line 366 of file analysis_6502.c.
References _6502_analysis_esil_update_flags(), _6502_FLAGS_NZ, reg, and rz_strbuf_setf().
Referenced by _6502_op().
|
static |
Definition at line 358 of file analysis_6502.c.
References reg, and rz_strbuf_setf().
Referenced by _6502_op().
|
static |
Definition at line 33 of file analysis_6502.c.
References _6502_FLAGS_B, _6502_FLAGS_C, _6502_FLAGS_N, _6502_FLAGS_Z, flags, and rz_strbuf_append().
Referenced by _6502_analysis_esil_inc_reg(), _6502_analysis_esil_mov(), _6502_analysis_esil_pop(), and _6502_op().
|
static |
Definition at line 415 of file analysis_6502.c.
References _6502_analysis_esil_ccall(), _6502_analysis_esil_flags(), _6502_analysis_esil_get_addr_pattern1(), _6502_analysis_esil_get_addr_pattern2(), _6502_analysis_esil_get_addr_pattern3(), _6502_analysis_esil_inc_reg(), _6502_analysis_esil_mov(), _6502_analysis_esil_pop(), _6502_analysis_esil_push(), _6502_analysis_esil_update_flags(), _6502_FLAGS_BNZ, _6502_FLAGS_NZ, addr, imm, is_immediate(), len, mask, NULL, PFMT64x, RZ_ANALYSIS_OP_MASK_IL, RZ_ANALYSIS_OP_TYPE_ADD, RZ_ANALYSIS_OP_TYPE_AND, RZ_ANALYSIS_OP_TYPE_CALL, RZ_ANALYSIS_OP_TYPE_CJMP, RZ_ANALYSIS_OP_TYPE_CMP, RZ_ANALYSIS_OP_TYPE_ILL, RZ_ANALYSIS_OP_TYPE_JMP, RZ_ANALYSIS_OP_TYPE_LOAD, RZ_ANALYSIS_OP_TYPE_MOV, RZ_ANALYSIS_OP_TYPE_NOP, RZ_ANALYSIS_OP_TYPE_OR, RZ_ANALYSIS_OP_TYPE_POP, RZ_ANALYSIS_OP_TYPE_PUSH, RZ_ANALYSIS_OP_TYPE_RET, RZ_ANALYSIS_OP_TYPE_ROL, RZ_ANALYSIS_OP_TYPE_ROR, RZ_ANALYSIS_OP_TYPE_SHL, RZ_ANALYSIS_OP_TYPE_SHR, RZ_ANALYSIS_OP_TYPE_STORE, RZ_ANALYSIS_OP_TYPE_SUB, RZ_ANALYSIS_OP_TYPE_SWI, RZ_ANALYSIS_OP_TYPE_UJMP, RZ_ANALYSIS_OP_TYPE_UNK, RZ_ANALYSIS_OP_TYPE_XOR, RZ_ANALYSIS_STACK_GET, RZ_ANALYSIS_STACK_INC, RZ_ANALYSIS_STACK_SET, rz_il_op_new_nop(), rz_strbuf_append(), rz_strbuf_init(), rz_strbuf_set(), rz_strbuf_setf(), snes_op, and snes_op_get_size().
|
static |
Definition at line 1185 of file analysis_6502.c.
|
static |
Definition at line 1181 of file analysis_6502.c.
|
static |
Definition at line 1169 of file analysis_6502.c.
References rz_analysis_esil_t::analysis, rz_analysis_t::reg, rz_reg_get(), and rz_reg_set_value().
|
static |
Definition at line 1144 of file analysis_6502.c.
|
static |
Definition at line 1189 of file analysis_6502.c.
References rz_analysis_il_config_new().
RZ_API RzLibStruct rizin_plugin |
Definition at line 1209 of file analysis_6502.c.
RzAnalysisPlugin rz_analysis_plugin_6502 |
Definition at line 1193 of file analysis_6502.c.