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 <string.h>
#include "../format/nin/nin.h"
Go to the source code of this file.
Functions | |
static bool | check_buffer (RzBuffer *b) |
static bool | load_buffer (RzBinFile *bf, RzBinObject *obj, RzBuffer *buf, Sdb *sdb) |
static ut64 | baddr (RzBinFile *bf) |
static RzBinAddr * | binsym (RzBinFile *bf, RzBinSpecialSymbol type) |
static RzList * | entries (RzBinFile *bf) |
static RzList * | sections (RzBinFile *bf) |
static RzList * | symbols (RzBinFile *bf) |
static RzBinInfo * | info (RzBinFile *bf) |
RzList * | mem (RzBinFile *bf) |
Variables | |
RzBinPlugin | rz_bin_plugin_ningb |
RZ_API RzLibStruct | rizin_plugin |
Definition at line 23 of file bin_ningb.c.
|
static |
Definition at line 27 of file bin_ningb.c.
References rz_bin_file_t::buf, free(), NULL, rz_bin_addr_t::paddr, RZ_BIN_SPECIAL_SYMBOL_MAIN, rz_buf_read_at(), RZ_NEW0, type, and rz_bin_addr_t::vaddr.
Definition at line 11 of file bin_ningb.c.
References b, lic, and rz_buf_read_at().
Referenced by load_buffer().
Definition at line 44 of file bin_ningb.c.
References rz_bin_file_t::buf, rz_list_t::free, free(), rz_bin_addr_t::hpaddr, NULL, rz_bin_addr_t::paddr, rz_list_append(), rz_list_new(), RZ_NEW0, and rz_bin_addr_t::vaddr.
Definition at line 158 of file bin_ningb.c.
References rz_bin_info_t::arch, rz_bin_info_t::big_endian, rz_bin_info_t::bits, rz_bin_file_t::buf, rz_bin_info_t::dbg_info, rz_bin_info_t::file, free(), gb_add_cardtype(), gb_get_gbtype(), rz_bin_info_t::has_va, rz_bin_info_t::machine, malloc(), NULL, rz_bin_info_t::os, rz_buf_read_at(), RZ_NEW0, rz_str_ndup(), strdup(), and rz_bin_info_t::type.
|
static |
Definition at line 181 of file bin_ningb.c.
References rz_list_t::free, free(), regress::m, n, NULL, rz_list_append(), rz_list_free(), rz_list_new(), RZ_NEW0, rz_str_rwx(), and strdup().
Definition at line 62 of file bin_ningb.c.
References rz_bin_file_t::buf, gb_get_rombanks(), i, NULL, rz_bin_section_free(), rz_buf_read_at(), rz_list_append(), rz_list_newf(), RZ_NEW0, rz_str_newf(), rz_str_rwx(), and section::size.
Definition at line 85 of file bin_ningb.c.
References rz_list_t::free, i, rz_bin_symbol_t::name, NULL, rz_bin_symbol_t::ordinal, rz_bin_symbol_t::paddr, rz_bin_symbol_free(), rz_list_append(), rz_list_newf(), RZ_NEW0, rz_str_newf(), rz_bin_symbol_t::size, strdup(), and rz_bin_symbol_t::vaddr.
RZ_API RzLibStruct rizin_plugin |
Definition at line 267 of file bin_ningb.c.
RzBinPlugin rz_bin_plugin_ningb |
Definition at line 250 of file bin_ningb.c.