Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
static int | lmf_header_load (lmf_header *lmfh, RzBuffer *buf, Sdb *db) |
static bool | check_buffer (RzBuffer *buf) |
static void | destroy (RzBinFile *bf) |
static bool | load_buffer (RzBinFile *bf, RzBinObject *obj, RzBuffer *buf, Sdb *sdb) |
static RzBinInfo * | info (RzBinFile *bf) |
static RzList * | relocs (RzBinFile *bf) |
static void | header (RzBinFile *bf) |
static RzList * | symbols (RzBinFile *bf) |
static RzList * | maps (RzBinFile *bf) |
static RzList * | sections (RzBinFile *bf) |
static Sdb * | get_sdb (RzBinFile *bf) |
static ut64 | baddr (RzBinFile *bf) |
static RzList * | entries (RzBinFile *bf) |
static char * | signature (RzBinFile *bf, bool json) |
static ut64 | get_vaddr (RzBinFile *bf, ut64 baddr, ut64 paddr, ut64 vaddr) |
Variables | |
RzBinPlugin | rz_bin_plugin_qnx |
RZ_API RzLibStruct | rizin_plugin |
Definition at line 257 of file bin_qnx.c.
References rz_bin_object_t::bin_obj, and rz_bin_file_t::o.
Referenced by entries().
Definition at line 29 of file bin_qnx.c.
References QNX_MAGIC, r, rz_buf_read_at(), and autogen_x86imm::tmp.
|
static |
Definition at line 36 of file bin_qnx.c.
References rz_bin_object_t::bin_obj, free(), NULL, rz_bin_file_t::o, and rz_list_free().
Definition at line 266 of file bin_qnx.c.
References baddr(), rz_bin_object_t::bin_obj, rz_list_t::free, free(), NULL, rz_bin_file_t::o, rz_bin_addr_t::paddr, rz_list_append(), rz_list_new(), RZ_NEW0, and rz_bin_addr_t::vaddr.
Definition at line 243 of file bin_qnx.c.
References rz_bin_object_t::bin_obj, NULL, and rz_bin_file_t::o.
|
static |
Definition at line 197 of file bin_qnx.c.
References rz_bin_object_t::bin_obj, rz_bin_t::cb_printf, rz_bin_file_t::o, rz_bin_file_t::rbin, and rz_return_if_fail.
Definition at line 172 of file bin_qnx.c.
References rz_bin_info_t::arch, rz_bin_info_t::bclass, rz_bin_object_t::bin_obj, rz_bin_info_t::file, rz_bin_file_t::file, rz_bin_info_t::lang, rz_bin_info_t::machine, NULL, rz_bin_file_t::o, rz_bin_info_t::os, rz_bin_info_t::rclass, RZ_NEW0, rz_return_val_if_fail, rz_bin_info_t::signature, strdup(), rz_bin_info_t::subsystem, and rz_bin_info_t::type.
Definition at line 7 of file bin_qnx.c.
References QNX_HDR_SIZE, QNX_HEADER_ADDR, rz_buf_fread_at(), rz_buf_size(), sdb_fmt(), and sdb_set().
Referenced by load_buffer().
|
static |
Definition at line 45 of file bin_qnx.c.
References rz_bin_object_t::bin_obj, rz_bin_file_t::buf, free(), LMF_8087_FIXUP_REC, LMF_FIXUP_REC, lmf_header_load(), LMF_IMAGE_END_REC, LMF_LOAD_REC, LMF_RESOURCE_REC, LMF_RW_END_REC, map(), maps(), rz_bin_section_t::name, NULL, rz_bin_section_t::paddr, rz_bin_reloc_t::paddr, QNX_RECORD_SIZE, rz_bin_map_free(), rz_bin_section_free(), rz_buf_fread_at(), rz_list_append(), rz_list_free(), rz_list_newf(), RZ_NEW0, sdb_new0(), sdb_ns_set(), sections(), rz_bin_section_t::size, strdup(), rz_bin_reloc_t::type, ut64(), rz_bin_section_t::vaddr, rz_bin_reloc_t::vaddr, and rz_bin_section_t::vsize.
Definition at line 225 of file bin_qnx.c.
References rz_bin_object_t::bin_obj, NULL, rz_bin_file_t::o, rz_list_clone(), and rz_return_val_if_fail.
Referenced by load_buffer().
Definition at line 191 of file bin_qnx.c.
References rz_bin_object_t::bin_obj, NULL, rz_bin_file_t::o, rz_list_clone(), and rz_return_val_if_fail.
Definition at line 232 of file bin_qnx.c.
References rz_bin_object_t::bin_obj, NULL, rz_bin_file_t::o, rz_list_clone(), and rz_return_val_if_fail.
Referenced by load_buffer().
Definition at line 287 of file bin_qnx.c.
References rz_bin_object_t::bin_obj, NULL, rz_bin_file_t::o, pj_drain(), pj_n(), pj_new(), rz_str_dup(), and sdb_itoa().
RZ_API RzLibStruct rizin_plugin |
RzBinPlugin rz_bin_plugin_qnx |