Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Macros | |
#define | CHECK4INSTR(b, instr, size) |
#define | CHECK3INSTR(b, instr, size) |
Functions | |
static bool | rjmp (RzBuffer *b, ut64 addr) |
static bool | jmp (RzBuffer *b, ut64 addr) |
static bool | rjmp_dest (RzBuffer *b, ut64 addr, ut64 *result) |
static bool | jmp_dest (RzBuffer *b, ut64 addr, ut64 *result) |
static bool | check_buffer_rjmp (RzBuffer *b) |
static bool | check_buffer_jmp (RzBuffer *b) |
static bool | check_buffer (RzBuffer *buf) |
static bool | load_buffer (RzBinFile *bf, RzBinObject *obj, RzBuffer *buf, Sdb *sdb) |
static void | destroy (RzBinFile *bf) |
static RzBinInfo * | info (RzBinFile *bf) |
static RzList * | entries (RzBinFile *bf) |
static void | addsym (RzList *ret, const char *name, ut64 addr) |
static void | addptr (RzList *ret, const char *name, ut64 addr, RzBuffer *b) |
static RzList * | symbols (RzBinFile *bf) |
static RzList * | strings (RzBinFile *bf) |
Variables | |
static ut64 | tmp_entry = UT64_MAX |
RzBinPlugin | rz_bin_plugin_avr |
RZ_API RzLibStruct | rizin_plugin |
Definition at line 160 of file bin_avr.c.
References addr, rz_bin_symbol_t::name, rz_bin_symbol_t::ordinal, rz_bin_symbol_t::paddr, rz_list_append(), RZ_NEW0, rz_bin_symbol_t::size, strdup(), and rz_bin_symbol_t::vaddr.
Referenced by addptr().
Definition at line 109 of file bin_avr.c.
References check_buffer_jmp(), check_buffer_rjmp(), rjmp(), and rz_buf_size().
Referenced by load_buffer().
Definition at line 95 of file bin_avr.c.
References b, CHECK4INSTR, dst, jmp(), jmp_dest(), rz_buf_size(), tmp_entry, and ut64().
Referenced by check_buffer().
Definition at line 81 of file bin_avr.c.
References b, CHECK3INSTR, dst, rjmp(), rjmp_dest(), rz_buf_size(), tmp_entry, and ut64().
Referenced by check_buffer().
|
static |
Definition at line 123 of file bin_avr.c.
References rz_bin_object_t::bin_obj, rz_bin_file_t::o, and rz_buf_free().
Definition at line 142 of file bin_avr.c.
References addr, rz_list_t::free, free(), NULL, rz_bin_addr_t::paddr, rz_list_append(), rz_list_new(), RZ_NEW0, tmp_entry, ut64(), UT64_MAX, and rz_bin_addr_t::vaddr.
Definition at line 127 of file bin_avr.c.
References rz_bin_info_t::arch, rz_bin_info_t::bits, rz_bin_info_t::file, rz_bin_file_t::file, rz_bin_info_t::has_va, rz_bin_info_t::machine, NULL, rz_bin_info_t::os, RZ_NEW0, rz_return_val_if_fail, strdup(), and rz_bin_info_t::type.
Definition at line 33 of file bin_avr.c.
References addr, b, rz_buf_read8_at(), and autogen_x86imm::tmp.
Referenced by check_buffer_jmp().
Definition at line 63 of file bin_avr.c.
References addr, b, rz_buf_read8_at(), autogen_x86imm::tmp, and ut64().
Referenced by check_buffer_jmp().
|
static |
Definition at line 24 of file bin_avr.c.
References addr, b, rz_buf_read8_at(), and autogen_x86imm::tmp.
Referenced by addptr(), check_buffer(), and check_buffer_rjmp().
Definition at line 46 of file bin_avr.c.
References addr, b, dst, rz_buf_read8_at(), autogen_x86imm::tmp, and ut64().
Referenced by addptr(), and check_buffer_rjmp().
Definition at line 181 of file bin_avr.c.
References addptr(), rz_bin_object_t::bin_obj, NULL, rz_bin_file_t::o, rz_bin_symbol_free(), and rz_list_newf().
RZ_API RzLibStruct rizin_plugin |
RzBinPlugin rz_bin_plugin_avr |
Definition at line 22 of file bin_avr.c.
Referenced by check_buffer_jmp(), check_buffer_rjmp(), and entries().