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 "omf/omf.h"
Go to the source code of this file.
Functions | |
static bool | load_buffer (RzBinFile *bf, RzBinObject *obj, RzBuffer *b, Sdb *sdb) |
static void | destroy (RzBinFile *bf) |
static bool | check_buffer (RzBuffer *b) |
static ut64 | baddr (RzBinFile *bf) |
static RzList * | entries (RzBinFile *bf) |
static RzList * | sections (RzBinFile *bf) |
static RzList * | symbols (RzBinFile *bf) |
static RzBinInfo * | info (RzBinFile *bf) |
static ut64 | get_vaddr (RzBinFile *bf, ut64 baddr, ut64 paddr, ut64 vaddr) |
Variables | |
RzBinPlugin | rz_bin_plugin_omf |
RZ_API RzLibStruct | rizin_plugin |
Definition at line 66 of file bin_omf.c.
References OMF_BASE_ADDR.
Definition at line 24 of file bin_omf.c.
References b, i, length, NULL, rz_bin_checksum_omf_ok(), rz_buf_data(), rz_buf_read_at(), rz_buf_read_le16_at, rz_buf_size(), rz_return_val_if_fail, and ut64().
|
static |
Definition at line 19 of file bin_omf.c.
References rz_bin_object_t::bin_obj, NULL, rz_bin_file_t::o, and rz_bin_free_all_omf_obj().
Definition at line 70 of file bin_omf.c.
References addr, rz_bin_object_t::bin_obj, free(), NULL, rz_bin_file_t::o, rz_bin_omf_get_entry(), RZ_FREE, rz_list_append(), rz_list_free(), rz_list_newf(), and RZ_NEW0.
Definition at line 139 of file bin_omf.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_nx, 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_omf_get_bits(), RZ_NEW0, strdup(), and rz_bin_info_t::type.
|
static |
Definition at line 11 of file bin_omf.c.
References b, rz_bin_object_t::bin_obj, rz_bin_internal_omf_load(), rz_buf_data(), rz_return_val_if_fail, and ut64().
Definition at line 89 of file bin_omf.c.
References rz_bin_object_t::bin_obj, NULL, rz_bin_file_t::o, rz_bin_omf_send_sections(), rz_list_new(), and rz_bin_omf_obj::sections.
Definition at line 111 of file bin_omf.c.
References rz_bin_object_t::bin_obj, rz_bin_symbol_t::forwarder, OMF_symbol::name, rz_bin_symbol_t::name, NULL, rz_bin_file_t::o, rz_bin_symbol_t::ordinal, rz_bin_symbol_t::paddr, rz_bin_omf_get_paddr_sym(), rz_bin_omf_get_vaddr_sym(), rz_bin_symbol_free(), rz_list_append(), rz_list_newf(), RZ_NEW0, rz_bin_symbol_t::size, strdup(), and rz_bin_symbol_t::vaddr.
RZ_API RzLibStruct rizin_plugin |
RzBinPlugin rz_bin_plugin_omf |