Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_bin.h>
Go to the source code of this file.
Classes | |
struct | gen_hdr |
struct | gen_vect |
Typedefs | |
typedef struct gen_hdr | SMD_Header |
typedef struct gen_vect | SMD_Vectors |
Functions | |
static ut64 | baddr (RzBinFile *bf) |
static bool | check_buffer (RzBuffer *b) |
static bool | load_buffer (RzBinFile *bf, RzBinObject *obj, RzBuffer *b, Sdb *sdb) |
static RzBinInfo * | info (RzBinFile *bf) |
static void | addsym (RzList *ret, const char *name, ut64 addr) |
static void | showstr (const char *str, const ut8 *s, int len) |
static RzList * | symbols (RzBinFile *bf) |
static RzList * | sections (RzBinFile *bf) |
static RzList * | entries (RzBinFile *bf) |
static RzList * | strings (RzBinFile *bf) |
Variables | |
RzBinPlugin | rz_bin_plugin_smd |
RZ_API RzLibStruct | rizin_plugin |
typedef struct gen_hdr SMD_Header |
typedef struct gen_vect SMD_Vectors |
Definition at line 131 of file bin_smd.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 symbols().
Definition at line 99 of file bin_smd.c.
References b, rz_buf_read_at(), and rz_buf_size().
Referenced by load_buffer().
Definition at line 296 of file bin_smd.c.
References rz_bin_file_t::buf, eprintf, NULL, rz_bin_addr_t::paddr, gen_vect::Reset, rz_buf_read_at(), rz_list_append(), rz_list_new(), RZ_NEW0, rz_read_be32(), rz_bin_file_t::size, and rz_bin_addr_t::vaddr.
Definition at line 112 of file bin_smd.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_file_t::buf, 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_buf_read_at(), RZ_NEW0, rz_str_ndup(), strdup(), autogen_x86imm::tmp, and rz_bin_info_t::type.
|
static |
Definition at line 255 of file bin_smd.c.
References baddr(), rz_bin_file_t::buf, rz_bin_section_t::name, NULL, rz_bin_section_t::paddr, rz_bin_section_t::perm, gen_hdr::RomStart, rz_buf_read_at(), rz_buf_size(), rz_list_append(), rz_list_new(), RZ_NEW0, RZ_PERM_R, RZ_PERM_RX, rz_read_be32(), rz_bin_section_t::size, strdup(), ut64(), rz_bin_section_t::vaddr, and rz_bin_section_t::vsize.
Definition at line 143 of file bin_smd.c.
References eprintf, free(), len, msg, rz_str_ndup(), s, and cmd_descs_generate::str.
Referenced by symbols().
Definition at line 318 of file bin_smd.c.
References rz_bin_file_strings().
Definition at line 149 of file bin_smd.c.
References addr, addsym(), rz_bin_file_t::buf, gen_hdr::CheckSum, gen_hdr::CopyRights, gen_hdr::CountryCode, gen_hdr::DomesticName, eprintf, i, gen_hdr::ModemCode, NULL, gen_hdr::OverseasName, gen_hdr::Peripherials, gen_hdr::ProductCode, gen_hdr::RamEnd, gen_hdr::RamStart, gen_hdr::RomEnd, gen_hdr::RomStart, rz_bin_symbol_free(), rz_buf_read_at(), rz_list_newf(), rz_read_be32(), showstr(), and gen_hdr::SramCode.
RZ_API RzLibStruct rizin_plugin |
RzBinPlugin rz_bin_plugin_smd |