Rizin
unix-like reverse engineering framework and cli tools
|
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 RzBinInfo * | info (RzBinFile *bf) |
static void | addsym (RzList *ret, const char *name, ut64 addr, ut32 size) |
static RzList * | symbols (RzBinFile *bf) |
static RzList * | sections (RzBinFile *bf) |
static RzList * | mem (RzBinFile *bf) |
static RzList * | entries (RzBinFile *bf) |
static ut64 | baddr (RzBinFile *bf) |
Variables | |
RzBinPlugin | rz_bin_plugin_nes |
RZ_API RzLibStruct | rizin_plugin |
Definition at line 43 of file bin_nes.c.
References addr, rz_bin_symbol_t::name, rz_bin_symbol_t::ordinal, rz_bin_symbol_t::paddr, rz_list_append(), RZ_NEW0, rz_bin_symbol_t::size, strdup(), and rz_bin_symbol_t::vaddr.
Referenced by symbols().
Definition at line 8 of file bin_nes.c.
References b, INES_MAGIC, rz_buf_read_at(), and rz_buf_size().
Referenced by load_buffer().
Definition at line 203 of file bin_nes.c.
References INES_HDR_SIZE, NULL, rz_bin_addr_t::paddr, ROM_START_ADDRESS, rz_list_append(), rz_list_new(), RZ_NEW0, and rz_bin_addr_t::vaddr.
Definition at line 21 of file bin_nes.c.
References rz_bin_info_t::arch, rz_bin_info_t::bits, rz_bin_file_t::buf, rz_bin_info_t::file, rz_bin_file_t::file, rz_bin_info_t::has_va, INES_HDR_SIZE, rz_bin_info_t::machine, memset(), NULL, rz_bin_info_t::os, rz_buf_read_at(), RZ_LOG_ERROR, RZ_NEW0, strdup(), and rz_bin_info_t::type.
|
static |
Definition at line 124 of file bin_nes.c.
References APU_AND_IOREGS_SIZE, APU_AND_IOREGS_START_ADDRESS, rz_list_t::free, free(), i, regress::m, n, NULL, PPU_REG_ADDRESS, PPU_REG_SIZE, RAM_MIRROR_2_ADDRESS, RAM_MIRROR_2_SIZE, RAM_MIRROR_3_ADDRESS, RAM_MIRROR_3_SIZE, RAM_SIZE, RAM_START_ADDRESS, rz_list_append(), rz_list_free(), rz_list_new(), RZ_NEW0, rz_str_newf(), rz_str_rwx(), SRAM_SIZE, SRAM_START_ADDRESS, and strdup().
Definition at line 85 of file bin_nes.c.
References rz_bin_file_t::buf, INES_HDR_SIZE, memset(), rz_bin_section_t::name, NULL, rz_bin_section_t::paddr, rz_bin_section_t::perm, PRG_PAGE_SIZE, ROM_MIRROR_ADDRESS, ROM_MIRROR_SIZE, ROM_SIZE, ROM_START_ADDRESS, rz_buf_read_at(), rz_list_append(), rz_list_new(), RZ_LOG_ERROR, RZ_NEW0, RZ_PERM_RX, rz_bin_section_t::size, strdup(), rz_bin_section_t::vaddr, and rz_bin_section_t::vsize.
Definition at line 55 of file bin_nes.c.
References addsym(), IRQ_VECTOR_START_ADDRESS, JOYPAD_PORT, JOYPAD_PORT1, JOYPAD_PORT2, NMI_VECTOR_START_ADDRESS, NULL, PPU_ADDRESS, PPU_CTRL_REG1, PPU_CTRL_REG2, PPU_DATA, PPU_SCROLL_REG, PPU_SPR_ADDR, PPU_SPR_DATA, PPU_STATUS, RESET_VECTOR_START_ADDRESS, rz_bin_symbol_free(), rz_list_newf(), SND_DELTA_REG, SND_MASTERCTRL_REG, SND_NOISE_REG, SND_REGISTER, SND_SQUARE1_REG, SND_SQUARE2_REG, SND_TRIANGLE_REG, and SPR_DMA.
RZ_API RzLibStruct rizin_plugin |
RzBinPlugin rz_bin_plugin_nes |