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/nds.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 *b, Sdb *sdb) |
static ut64 | baddr (RzBinFile *bf) |
static ut64 | boffset (RzBinFile *bf) |
static RzList * | sections (RzBinFile *bf) |
static RzList * | entries (RzBinFile *bf) |
static RzBinInfo * | info (RzBinFile *bf) |
Variables | |
static struct nds_hdr | loaded_header |
RzBinPlugin | rz_bin_plugin_ninds |
RZ_API RzLibStruct | rizin_plugin |
Definition at line 35 of file bin_ninds.c.
References loaded_header, and ut64().
Definition at line 39 of file bin_ninds.c.
Definition at line 14 of file bin_ninds.c.
References b, and rz_buf_read_at().
Definition at line 79 of file bin_ninds.c.
References rz_bin_file_t::buf, rz_list_t::free, free(), loaded_header, NULL, rz_list_append(), rz_list_free(), rz_list_new(), RZ_NEW0, and rz_bin_addr_t::vaddr.
Definition at line 111 of file bin_ninds.c.
References rz_bin_info_t::arch, rz_bin_info_t::bits, rz_bin_file_t::buf, rz_bin_info_t::file, rz_bin_info_t::has_va, loaded_header, rz_bin_info_t::machine, NULL, rz_bin_info_t::os, RZ_NEW0, rz_return_val_if_fail, rz_str_newf(), strdup(), and rz_bin_info_t::type.
|
static |
Definition at line 29 of file bin_ninds.c.
References b, rz_bin_object_t::bin_obj, loaded_header, and rz_buf_read_at().
Definition at line 43 of file bin_ninds.c.
References free(), loaded_header, rz_bin_section_t::name, NULL, rz_bin_section_t::paddr, rz_bin_section_t::perm, rz_bin_section_free(), rz_list_append(), rz_list_free(), rz_list_newf(), RZ_NEW0, rz_str_rwx(), rz_bin_section_t::size, strdup(), rz_bin_section_t::vaddr, and rz_bin_section_t::vsize.
|
static |
Definition at line 1 of file bin_ninds.c.
Referenced by baddr(), entries(), info(), load_buffer(), and sections().
RZ_API RzLibStruct rizin_plugin |
Definition at line 143 of file bin_ninds.c.
RzBinPlugin rz_bin_plugin_ninds |
Definition at line 128 of file bin_ninds.c.