Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | avr_decoder_t |
Typedefs | |
typedef ut32(* | Decode) (cchar *name, AVROpMnem id, ut16 data[2], ut64 pc, AVROp *aop, RzStrBuf *sb) |
typedef struct avr_decoder_t | AvrInstruction |
Variables | |
static const AvrInstruction | instructions [] |
Disassembles AVR instructions Each instruction is decoded comparing the applied bitmask result with constants bits Legend for function decoders names:
Definition in file disassembler.c.
typedef struct avr_decoder_t AvrInstruction |
Definition at line 23 of file disassembler.c.
|
static |
Definition at line 164 of file disassembler.c.
References A, b, id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 222 of file disassembler.c.
References A, id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 405 of file disassembler.c.
References A, id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 210 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 450 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 118 of file disassembler.c.
References b, id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 108 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 354 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 612 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 235 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 259 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 246 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 272 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 296 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 283 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 186 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 325 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 197 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 376 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 391 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
ut32 avr_disassembler | ( | const ut8 * | buffer, |
const ut32 | size, | ||
ut64 | pc, | ||
bool | be, | ||
AVROp * | aop, | ||
RzStrBuf * | sb | ||
) |
Definition at line 773 of file disassembler.c.
References AVR_INVALID_SIZE, avr_decoder_t::decode, i, avr_decoder_t::id, instructions, avr_opcode_t::mask, avr_decoder_t::mbits, memset(), avr_decoder_t::name, pc, RZ_ARRAY_SIZE, rz_read_at_be16(), rz_read_at_le16(), rz_read_ble16(), rz_return_val_if_fail, sb, and avr_opcode_t::size.
Referenced by analysis_mask_avr(), avr_op(), disassemble(), and handle_skip_next_instruction().
|
static |
Definition at line 75 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 364 of file disassembler.c.
References id, k, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 623 of file disassembler.c.
References id, k, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 176 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 89 of file disassembler.c.
References AVR_OP_SER, id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 149 of file disassembler.c.
References id, k, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), sb, and st32.
|
static |
Definition at line 130 of file disassembler.c.
References id, k, avr_opcode_t::mnemonic, avr_opcode_t::param, pc, PFMT64x, rz_strbuf_setf(), sb, and st16.
|
static |
Definition at line 418 of file disassembler.c.
References id, k, avr_opcode_t::mnemonic, avr_opcode_t::param, pc, PFMT64x, rz_strbuf_setf(), sb, and st16.
|
static |
Definition at line 309 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 338 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 543 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 596 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 41 of file disassembler.c.
References AVR_OP_CLR, AVR_OP_LSL, AVR_OP_ROL, AVR_OP_TST, id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 438 of file disassembler.c.
References b, id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 469 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 493 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 480 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 506 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 530 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 517 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 559 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 583 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 570 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 460 of file disassembler.c.
References id, avr_opcode_t::mnemonic, avr_opcode_t::param, rz_strbuf_setf(), and sb.
|
static |
Definition at line 35 of file disassembler.c.
References id, avr_opcode_t::mnemonic, rz_strbuf_set(), and sb.
|
static |
Definition at line 636 of file disassembler.c.
Referenced by avr_disassembler().