Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
static ut16 | get_opcode (ut32 instr) |
static ut16 | get_opcode_ext (ut32 instr) |
static ut16 | get_src (ut32 instr) |
static ut16 | get_dst (ut32 instr) |
static int | is_immediate (ut32 instr) |
static int | decode_ext_cmd (struct propeller_cmd *cmd, ut32 instr) |
static ut8 | get_zcri (ut32 instr) |
static ut8 | get_con (ut32 instr) |
static void | decode_prefix (struct propeller_cmd *cmd, ut32 instr) |
static int | decode_jmp (struct propeller_cmd *cmd, ut32 instr) |
int | propeller_decode_command (const ut8 *instr, struct propeller_cmd *cmd) |
Variables | |
static const char * | instrs [] |
static const char * | ext_instrs [] |
static const char * | conditions [] |
|
static |
Definition at line 119 of file propeller_disas.c.
References cmd, ext_instrs, get_dst(), get_opcode_ext(), PROP_CLKSET, PROP_COGID, PROP_COGINIT, PROP_COGSTOP, PROP_INSTR_MAXLEN, PROP_LOCKCLR, PROP_LOCKNEW, PROP_LOCKRET, PROP_LOCKSET, and snprintf.
Referenced by propeller_decode_command().
|
static |
Definition at line 159 of file propeller_disas.c.
References cmd, get_dst(), get_opcode(), get_src(), get_zcri(), PROP_INSTR_MAXLEN, PROP_JMP, and snprintf.
Referenced by propeller_decode_command().
|
static |
Definition at line 152 of file propeller_disas.c.
References cmd, conditions, prefix, and snprintf.
Referenced by propeller_decode_command().
Definition at line 148 of file propeller_disas.c.
Referenced by propeller_decode_command().
Definition at line 111 of file propeller_disas.c.
Referenced by decode_ext_cmd(), decode_jmp(), and propeller_decode_command().
Definition at line 99 of file propeller_disas.c.
Referenced by decode_jmp(), and propeller_decode_command().
Definition at line 103 of file propeller_disas.c.
Referenced by decode_ext_cmd().
Definition at line 107 of file propeller_disas.c.
Referenced by decode_jmp(), and propeller_decode_command().
Definition at line 144 of file propeller_disas.c.
Referenced by decode_jmp(), and propeller_decode_command().
Definition at line 115 of file propeller_disas.c.
Referenced by _6502_op(), msr(), propeller_decode_command(), query_step__new(), and ts_query__parse_pattern().
int propeller_decode_command | ( | const ut8 * | instr, |
struct propeller_cmd * | cmd | ||
) |
Definition at line 205 of file propeller_disas.c.
References cmd, decode_ext_cmd(), decode_jmp(), decode_prefix(), get_con(), get_dst(), get_opcode(), get_src(), get_zcri(), in, instrs, is_immediate(), PROP_ABS, PROP_ABSNEG, PROP_ADD, PROP_ADDABS, PROP_ADDS, PROP_ADDSX, PROP_ADDX, PROP_AND, PROP_ANDN, PROP_CMP, PROP_CMPS, PROP_CMPSUB, PROP_CMPSX, PROP_CMPX, PROP_DJNZ, PROP_HUBOP, PROP_INSTR_MAXLEN, PROP_JMP, PROP_MAX, PROP_MAXS, PROP_MIN, PROP_MINS, PROP_MOV, PROP_MOVD, PROP_MOVI, PROP_MOVS, PROP_MUXC, PROP_MUXNC, PROP_MUXNZ, PROP_MUXZ, PROP_NEG, PROP_NEGC, PROP_NEGNC, PROP_NEGNZ, PROP_NEGZ, PROP_OR, PROP_RCL, PROP_RCR, PROP_RDBYTE, PROP_RDLONG, PROP_RDWORD, PROP_REV, PROP_ROL, PROP_ROR, PROP_SAR, PROP_SHL, PROP_SHR, PROP_SUB, PROP_SUBABS, PROP_SUBS, PROP_SUBSX, PROP_SUBX, PROP_SUMC, PROP_SUMNC, PROP_SUMNZ, PROP_SUMZ, PROP_TJZ, PROP_WAITCNT, PROP_WAITPEQ, PROP_WAITPNE, PROP_WAITVID, PROP_XOR, rz_read_be32(), and snprintf.
Referenced by disassemble(), and propeller_op().
|
static |
Definition at line 80 of file propeller_disas.c.
Referenced by decode_prefix(), gdbr_set_bp(), gdbr_set_hwa(), gdbr_set_hwbp(), gdbr_set_hwr(), gdbr_set_hww(), qnxr_set_bp(), and qnxr_set_hwbp().
|
static |
Definition at line 69 of file propeller_disas.c.
Referenced by decode_ext_cmd().
|
static |
Definition at line 9 of file propeller_disas.c.
Referenced by propeller_decode_command().