Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Macros | |
#define | APP_NAME_BYTES 32 |
#define | COMPANY_NAME_BYTES 32 |
Functions | |
RZ_PACKED (typedef struct { ut8 major;ut8 minor;}) | |
static bool | check_buffer (RzBuffer *b) |
static bool | load_buffer (RzBinFile *bf, RzBinObject *obj, RzBuffer *b, Sdb *sdb) |
static ut64 | baddr (RzBinFile *bf) |
static RzList * | strings (RzBinFile *bf) |
static RzBinInfo * | info (RzBinFile *bf) |
static RzList * | sections (RzBinFile *bf) |
static RzList * | entries (RzBinFile *bf) |
Variables | |
PebbleAppInfo | |
RzBinPlugin | rz_bin_plugin_pebble |
RZ_API RzLibStruct | rizin_plugin |
#define APP_NAME_BYTES 32 |
Definition at line 11 of file bin_pebble.c.
#define COMPANY_NAME_BYTES 32 |
Definition at line 12 of file bin_pebble.c.
Definition at line 53 of file bin_pebble.c.
Definition at line 41 of file bin_pebble.c.
References b, and rz_buf_read_at().
Referenced by load_buffer().
Definition at line 164 of file bin_pebble.c.
References rz_bin_file_t::buf, rz_list_t::free, free(), NULL, rz_bin_addr_t::paddr, PebbleAppInfo, rz_buf_read_at(), rz_list_append(), rz_list_new(), RZ_LOG_ERROR, RZ_NEW0, and rz_bin_addr_t::vaddr.
Definition at line 62 of file bin_pebble.c.
References rz_bin_info_t::arch, rz_bin_info_t::bclass, 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, rz_bin_file_t::file, rz_bin_info_t::has_va, rz_bin_info_t::lang, rz_bin_info_t::machine, memset(), NULL, rz_bin_info_t::os, PebbleAppInfo, rz_bin_info_t::rclass, rz_buf_read_at(), RZ_LOG_ERROR, RZ_NEW0, rz_str_ndup(), strdup(), rz_bin_info_t::subsystem, and rz_bin_info_t::type.
|
static |
< Sentinel value, should always be 'PBLAPP\0\0'
< version of this structure's format
< version of the SDK used to build this app
< version of the app
< size of the app binary, including this metadata but not the reloc table
< The entry point of this executable
< CRC of the app data only, ie, not including this struct or the reloc table at the end
< Name to display on the menu
< Name of the maker of this app
< Resource ID within this app's bank to use as a 32x32 icon
< The system will poke the sdk's symbol table address into this field on load
< Bitwise OR of PebbleAppFlags
< The offset of the address relocation list
< The number of entries in the address relocation list
Definition at line 14 of file bin_pebble.c.
Definition at line 90 of file bin_pebble.c.
References rz_bin_file_t::buf, rz_list_t::free, free(), rz_bin_section_t::name, NULL, rz_bin_section_t::paddr, PebbleAppInfo, rz_bin_section_t::perm, rz_buf_read_at(), rz_list_append(), rz_list_new(), RZ_LOG_ERROR, RZ_NEW0, RZ_PERM_R, RZ_PERM_RW, RZ_PERM_RWX, rz_bin_section_t::size, strdup(), ut64(), UT64_MAX, rz_bin_section_t::vaddr, and rz_bin_section_t::vsize.
PebbleAppInfo |
Definition at line 39 of file bin_pebble.c.
Referenced by entries(), info(), and sections().
RZ_API RzLibStruct rizin_plugin |
Definition at line 201 of file bin_pebble.c.
RzBinPlugin rz_bin_plugin_pebble |
Definition at line 185 of file bin_pebble.c.