Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | operands |
Functions | |
static ut64 | n_oper_to_addr (ut32 n, ut32 mask, ut64 addr) |
Convert raw N operand to complete address. More... | |
static int | insn_to_op (RzAnalysis *a, RzAnalysisOp *op, ut64 addr, insn_t *descr, insn_extra_t *extra, ut32 insn) |
static int | or1k_op (RzAnalysis *a, RzAnalysisOp *op, ut64 addr, const ut8 *data, int len, RzAnalysisOpMask mask) |
Variables | |
static ut32 | cpu [32] = { 0 } |
static ut32 | cpu_enable |
RzAnalysisPlugin | rz_analysis_plugin_or1k |
RZ_API RzLibStruct | rizin_plugin |
|
static |
Definition at line 41 of file analysis_or1k.c.
References addr, cpu, cpu_enable, get_operand_mask(), get_operand_value(), has_type_descriptor(), operands::i, INSN_OPCODE_MASK, INSN_OPCODE_SHIFT, INSN_OPER_A, INSN_OPER_B, INSN_OPER_D, INSN_OPER_I, INSN_OPER_K, INSN_OPER_N, insn_extra_t::insn_type, insn_t::insn_type, INSN_X, is_type_descriptor_defined(), operands::k, operands::n, n_oper_to_addr(), NULL, operands::ra, operands::rb, operands::rd, RZ_ANALYSIS_OP_TYPE_JMP, RZ_TYPE_COND_EQ, RZ_TYPE_COND_NE, type, type_of_opcode(), and types.
Referenced by or1k_op().
Convert raw N operand to complete address.
n | immediate, as appearing in instruction |
mask | n operand mask |
addr | address of current instruction |
Definition at line 34 of file analysis_or1k.c.
References addr, mask, n, sign_extend(), st32, st64, and ut64().
Referenced by insn_to_op().
|
static |
Definition at line 151 of file analysis_or1k.c.
References a, addr, insn_t::extra, find_extra_descriptor(), INSN_INVAL, INSN_OPCODE_MASK, INSN_OPCODE_SHIFT, insn_to_op(), insns_count, insn_t::name, NULL, or1k_insns, rz_read_be32(), and insn_t::type.
|
static |
Definition at line 21 of file analysis_or1k.c.
Referenced by __generic_io_dest(), __get_cpu_model_recursive(), amd29k_instr_decode(), avr_custom_spm_page_erase(), avr_custom_spm_page_fill(), avr_custom_spm_page_write(), avr_op_analyze(), const_by_name(), const_by_value(), cpu_reload_needed(), esil_avr_hook_reg_write(), get_cpu_model(), insn_to_op(), INST_HANDLER(), is_big_endian(), is_c5000(), is_cpu(), is_cpu_valid(), rz_analysis_set_cpu(), rz_asm_set_cpu(), rz_avr_esil_opcode(), rz_main_rz_asm(), RZ_PACKED(), rz_platform_profiles_init(), rz_platform_target_index_init(), rz_run_start(), rz_syscall_setup(), rz_test_load_asm_test_file(), rz_type_db_set_cpu(), set_cpu_model(), sysregs_reload_needed(), winkd_set_cpu(), and winkd_wait_packet().
|
static |
Definition at line 22 of file analysis_or1k.c.
Referenced by insn_to_op().
RZ_API RzLibStruct rizin_plugin |
Definition at line 200 of file analysis_or1k.c.
RzAnalysisPlugin rz_analysis_plugin_or1k |
Definition at line 189 of file analysis_or1k.c.