Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_types.h>
#include <rz_util.h>
#include <rz_lib.h>
#include <rz_bin.h>
#include "te/te_specs.h"
#include "te/te.h"
Go to the source code of this file.
Functions | |
static Sdb * | get_sdb (RzBinFile *bf) |
static bool | load_buffer (RzBinFile *bf, RzBinObject *obj, RzBuffer *b, Sdb *sdb) |
static void | destroy (RzBinFile *bf) |
static ut64 | baddr (RzBinFile *bf) |
static RzBinAddr * | binsym (RzBinFile *bf, RzBinSpecialSymbol type) |
static RzList * | entries (RzBinFile *bf) |
static RzList * | sections (RzBinFile *bf) |
static RzBinInfo * | info (RzBinFile *bf) |
static bool | check_buffer (RzBuffer *b) |
Variables | |
RzBinPlugin | rz_bin_plugin_te |
RZ_API RzLibStruct | rizin_plugin |
Definition at line 38 of file bin_te.c.
References rz_bin_object_t::bin_obj, rz_bin_file_t::o, and rz_bin_te_get_image_base().
|
static |
Definition at line 42 of file bin_te.c.
References rz_bin_object_t::bin_obj, NULL, rz_bin_file_t::o, rz_bin_addr_t::paddr, RZ_BIN_SPECIAL_SYMBOL_MAIN, rz_bin_te_get_main_paddr(), RZ_NEW, type, and rz_bin_addr_t::vaddr.
Definition at line 144 of file bin_te.c.
References b, and rz_buf_read_at().
|
static |
Definition at line 34 of file bin_te.c.
References rz_bin_object_t::bin_obj, rz_bin_file_t::o, and rz_bin_te_free().
Definition at line 57 of file bin_te.c.
References rz_bin_object_t::bin_obj, free(), rz_bin_file_t::o, rz_bin_addr_t::paddr, rz_bin_te_get_entrypoint(), rz_list_append(), rz_list_newf(), RZ_NEW0, and rz_bin_addr_t::vaddr.
Definition at line 11 of file bin_te.c.
References rz_bin_object_t::bin_obj, NULL, and rz_bin_file_t::o.
Definition at line 121 of file bin_te.c.
References rz_bin_info_t::arch, rz_bin_info_t::bclass, rz_bin_info_t::big_endian, rz_bin_object_t::bin_obj, 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, NULL, rz_bin_file_t::o, rz_bin_info_t::os, rz_bin_info_t::rclass, rz_bin_te_get_arch(), rz_bin_te_get_bits(), rz_bin_te_get_machine(), rz_bin_te_get_os(), rz_bin_te_get_subsystem(), RZ_NEW0, rz_bin_file_t::sdb, sdb_num_set(), strdup(), rz_bin_info_t::subsystem, and rz_bin_info_t::type.
|
static |
Definition at line 20 of file bin_te.c.
References b, rz_bin_object_t::bin_obj, rz_bin_te_obj_t::kv, rz_bin_te_new_buf(), rz_buf_size(), rz_return_val_if_fail, sdb_ns_set(), ut64(), and UT64_MAX.
Definition at line 74 of file bin_te.c.
References rz_bin_object_t::bin_obj, rz_bin_section_t::bits, flags, rz_list_t::free, free(), i, rz_bin_section_t::name, NULL, rz_bin_file_t::o, rz_bin_section_t::paddr, rz_bin_section_t::perm, rz_bin_te_get_sections(), RZ_BIN_TE_SCN_IS_EXECUTABLE, RZ_BIN_TE_SCN_IS_READABLE, RZ_BIN_TE_SCN_IS_SHAREABLE, RZ_BIN_TE_SCN_IS_WRITABLE, rz_list_append(), rz_list_new(), RZ_NEW0, RZ_PERM_R, RZ_PERM_SHAR, RZ_PERM_W, RZ_PERM_X, RZ_SYS_BITS_16, rz_bin_section_t::size, strdup(), rz_bin_section_t::vaddr, and rz_bin_section_t::vsize.
RZ_API RzLibStruct rizin_plugin |
RzBinPlugin rz_bin_plugin_te |