Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Macros | |
#define | MENUET_VERSION(x) x[7] |
#define | B(x, y) rz_buf_append_bytes(buf, (const ut8 *)(x), y) |
#define | D(x) rz_buf_append_ut32(buf, x) |
Functions | |
static bool | check_buffer (RzBuffer *b) |
static bool | load_buffer (RzBinFile *bf, RzBinObject *obj, RzBuffer *b, Sdb *sdb) |
static ut64 | baddr (RzBinFile *bf) |
static ut64 | menuetEntry (const ut8 *buf, int buf_size) |
static RzList * | entries (RzBinFile *bf) |
static RzList * | sections (RzBinFile *bf) |
static RzBinInfo * | info (RzBinFile *bf) |
static ut64 | size (RzBinFile *bf) |
static RzBuffer * | create (RzBin *bin, const ut8 *code, int codelen, const ut8 *data, int datalen, RzBinArchOptions *opt) |
Variables | |
RzBinPlugin | rz_bin_plugin_menuet |
RZ_API RzLibStruct | rizin_plugin |
#define D | ( | x | ) | rz_buf_append_ut32(buf, x) |
Definition at line 9 of file bin_menuet.c.
Definition at line 74 of file bin_menuet.c.
Referenced by entries(), and sections().
Definition at line 53 of file bin_menuet.c.
References b, rz_buf_read_at(), rz_buf_size(), and RZ_LOG_ERROR.
Referenced by load_buffer().
|
static |
Definition at line 190 of file bin_menuet.c.
References B, D, NULL, and rz_buf_new_with_bytes().
Definition at line 87 of file bin_menuet.c.
References baddr(), rz_bin_file_t::buf, buf_size, rz_list_t::free, free(), menuetEntry(), NULL, rz_bin_addr_t::paddr, rz_buf_read_at(), rz_buf_size(), rz_list_append(), rz_list_new(), RZ_MIN, RZ_NEW0, rz_read_ble32(), ut64(), UT64_MAX, and rz_bin_addr_t::vaddr.
Definition at line 155 of file bin_menuet.c.
References rz_bin_info_t::arch, rz_bin_info_t::bclass, rz_bin_info_t::big_endian, rz_bin_info_t::bits, rz_bin_info_t::dbg_info, rz_bin_info_t::file, rz_bin_file_t::file, rz_bin_info_t::has_va, rz_bin_info_t::machine, rz_bin_info_t::os, rz_bin_info_t::rclass, RZ_NEW0, strdup(), rz_bin_info_t::subsystem, and rz_bin_info_t::type.
Referenced by size().
|
static |
Definition at line 70 of file bin_menuet.c.
References b, and check_buffer().
Definition at line 78 of file bin_menuet.c.
References MENUET_VERSION, rz_read_ble32(), and UT64_MAX.
Referenced by entries().
Definition at line 110 of file bin_menuet.c.
References baddr(), rz_bin_file_t::buf, buf_size, free(), rz_bin_object_t::info, MENUET_VERSION, rz_bin_section_t::name, NULL, rz_bin_file_t::o, rz_bin_section_t::paddr, rz_bin_section_t::perm, rz_buf_read_at(), rz_buf_size(), rz_list_append(), rz_list_newf(), RZ_MIN, RZ_NEW0, RZ_PERM_R, RZ_PERM_RX, rz_read_ble32(), rz_bin_section_t::size, strdup(), rz_bin_section_t::vaddr, and rz_bin_section_t::vsize.
Definition at line 175 of file bin_menuet.c.
References rz_bin_file_t::buf, info(), rz_bin_object_t::info, rz_bin_file_t::o, rz_buf_read_at(), rz_read_ble32(), and ut64().
RZ_API RzLibStruct rizin_plugin |
Definition at line 221 of file bin_menuet.c.
RzBinPlugin rz_bin_plugin_menuet |
Definition at line 205 of file bin_menuet.c.