Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Macros | |
#define | rz_bin_file_get_dex(bf) ((RzBinDex *)bf->o->bin_obj) |
Functions | |
static RzBinInfo * | info (RzBinFile *bf) |
static bool | load_buffer (RzBinFile *bf, RzBinObject *obj, RzBuffer *buf, Sdb *sdb) |
static void | destroy (RzBinFile *bf) |
static bool | check_buffer (RzBuffer *b) |
static ut64 | baddr (RzBinFile *bf) |
static Sdb * | get_sdb (RzBinFile *bf) |
static RzList * | classes (RzBinFile *bf) |
static RzList * | imports (RzBinFile *bf) |
static RzList * | sections (RzBinFile *bf) |
static RzList * | symbols (RzBinFile *bf) |
static RzList * | fields (RzBinFile *bf) |
static RzList * | libraries (RzBinFile *bf) |
static RzBinAddr * | binsym (RzBinFile *bf, RzBinSpecialSymbol sym) |
static RzList * | entrypoints (RzBinFile *bf) |
static RzList * | strings (RzBinFile *bf) |
static RzList * | virtual_files (RzBinFile *bf) |
static int | demangle_type (const char *str) |
static char * | get_name (RzBinFile *bf, int type, int index) |
static ut64 | get_offset (RzBinFile *bf, int type, int index) |
static RzList * | maps (RzBinFile *bf) |
Variables | |
RzBinPlugin | rz_bin_plugin_dex |
RZ_API RzLibStruct | rizin_plugin |
#define rz_bin_file_get_dex | ( | bf | ) | ((RzBinDex *)bf->o->bin_obj) |
|
static |
Definition at line 125 of file bin_dex.c.
References NULL, rz_bin_dex_resolve_symbol(), and rz_bin_file_get_dex.
Definition at line 54 of file bin_dex.c.
References b, rz_buf_read_at(), and rz_buf_size().
Definition at line 71 of file bin_dex.c.
References NULL, rz_bin_dex_classes(), and rz_bin_file_get_dex.
Referenced by adjust_class(), compute_pos(), place_nodes(), rz_analysis_class_get_inheritance_graph(), rz_analysis_class_list_handler(), rz_analysis_class_recover_from_rzbin(), rz_analysis_class_vtable_lookup_handler(), rz_bin_dex_classes(), rz_bin_object_set_items(), rz_core_visual_hudclasses(), and rz_diff_classes_new().
|
static |
Definition at line 50 of file bin_dex.c.
References rz_bin_dex_free(), and rz_bin_file_get_dex.
Definition at line 134 of file bin_dex.c.
References NULL, rz_bin_dex_entrypoints(), and rz_bin_file_get_dex.
Referenced by dex_resolve_entrypoints_in_class(), and rz_bin_dex_entrypoints().
Definition at line 107 of file bin_dex.c.
References NULL, rz_bin_dex_fields(), and rz_bin_file_get_dex.
Definition at line 185 of file bin_dex.c.
References NULL, rz_bin_dex_resolve_class_by_idx(), rz_bin_dex_resolve_field_by_idx(), rz_bin_dex_resolve_method_by_idx(), rz_bin_dex_resolve_proto_by_idx(), rz_bin_dex_resolve_string_by_idx(), rz_bin_file_get_dex, and type.
Definition at line 206 of file bin_dex.c.
References rz_bin_dex_resolve_method_offset_by_idx(), rz_bin_dex_resolve_string_offset_by_idx(), rz_bin_dex_resolve_type_id_offset_by_idx(), rz_bin_file_get_dex, and type.
Referenced by analyze_InlineMethod(), and rz_main_rz_gg().
Definition at line 67 of file bin_dex.c.
References rz_bin_file_t::sdb.
Definition at line 80 of file bin_dex.c.
References NULL, rz_bin_dex_imports(), and rz_bin_file_get_dex.
Definition at line 10 of file bin_dex.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_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, NULL, rz_bin_info_t::os, rz_bin_info_t::rclass, rz_bin_dex_checksum(), rz_bin_dex_debug_info(), rz_bin_dex_sha1(), rz_bin_dex_version(), rz_bin_file_get_dex, RZ_NEW0, strdup(), rz_bin_info_t::subsystem, rz_bin_info_t::sum, and rz_bin_info_t::type.
Definition at line 116 of file bin_dex.c.
References NULL, rz_bin_dex_libraries(), and rz_bin_file_get_dex.
Referenced by rz_bin_dex_libraries().
|
static |
Definition at line 41 of file bin_dex.c.
References rz_bin_object_t::bin_obj, rz_bin_file_load_options_t::loadaddr, rz_bin_object_t::opts, and rz_bin_dex_new().
Definition at line 226 of file bin_dex.c.
References map(), rz_bin_maps_of_file_sections(), RZ_DEX_RELOC_TARGETS, and strdup().
Definition at line 89 of file bin_dex.c.
References NULL, rz_bin_dex_sections(), and rz_bin_file_get_dex.
Definition at line 143 of file bin_dex.c.
References NULL, rz_bin_dex_strings(), and rz_bin_file_get_dex.
Definition at line 98 of file bin_dex.c.
References NULL, rz_bin_dex_symbols(), and rz_bin_file_get_dex.
Definition at line 152 of file bin_dex.c.
References rz_bin_virtual_file_t::buf, rz_bin_virtual_file_t::buf_owned, rz_bin_virtual_file_t::name, NULL, rz_bin_dex_relocations(), rz_bin_file_get_dex, rz_bin_virtual_file_free(), rz_buf_free(), RZ_DEX_RELOC_TARGETS, rz_list_newf(), rz_list_push(), RZ_NEW0, and strdup().
RZ_API RzLibStruct rizin_plugin |
RzBinPlugin rz_bin_plugin_dex |