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 "../format/java/class_bin.h"
#include "../../asm/arch/java/const.h"
Go to the source code of this file.
Macros | |
#define | rz_bin_file_get_java_class(bf) ((RzBinJavaClass *)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 void | free_rz_bin_class (void *k) |
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 * | libs (RzBinFile *bf) |
static RzBinAddr * | binsym (RzBinFile *bf, RzBinSpecialSymbol sym) |
static RzList * | entrypoints (RzBinFile *bf) |
static RzList * | strings (RzBinFile *bf) |
static int | demangle_type (const char *str) |
static char * | enrich_asm (RzBinFile *bf, const char *asm_str, int asm_len) |
Variables | |
RzBinPlugin | rz_bin_plugin_java |
RZ_API RzLibStruct | rizin_plugin |
#define rz_bin_file_get_java_class | ( | bf | ) | ((RzBinJavaClass *)bf->o->bin_obj) |
Definition at line 12 of file bin_java.c.
Definition at line 61 of file bin_java.c.
|
static |
Definition at line 174 of file bin_java.c.
References NULL, rz_bin_file_get_java_class, and rz_bin_java_class_resolve_symbol().
Definition at line 52 of file bin_java.c.
References b, rz_buf_read_at(), and rz_buf_size().
Definition at line 81 of file bin_java.c.
References ACCESS_FLAG_MASK_ALL_NO_SUPER, rz_bin_class_t::fields, free_rz_bin_class(), rz_bin_class_t::methods, rz_bin_class_t::name, NULL, rz_bin_file_get_java_class, rz_bin_java_class_access_flags(), rz_bin_java_class_access_flags_readable(), rz_bin_java_class_fields_as_binfields(), rz_bin_java_class_methods_as_symbols(), rz_bin_java_class_name(), rz_bin_java_class_super(), rz_list_append(), rz_list_free(), rz_list_newf(), RZ_NEW0, rz_bin_class_t::super, rz_bin_class_t::visibility, and rz_bin_class_t::visibility_str.
|
static |
Definition at line 48 of file bin_java.c.
References rz_bin_file_get_java_class, and rz_bin_java_class_free().
Definition at line 205 of file bin_java.c.
References free(), i, IS_DIGIT, JAVA_ASM_CONSTANT_POOL_STR, NULL, rz_bin_file_get_java_class, rz_bin_java_class_const_pool_resolve_index(), rz_str_newf(), rz_warn_if_reached, and autogen_x86imm::tmp.
Definition at line 183 of file bin_java.c.
References NULL, rz_bin_file_get_java_class, and rz_bin_java_class_entrypoints().
Definition at line 156 of file bin_java.c.
References NULL, rz_bin_file_get_java_class, and rz_bin_java_class_fields_as_binfields().
|
static |
Definition at line 69 of file bin_java.c.
References rz_bin_class_t::fields, free(), k, rz_bin_class_t::methods, rz_bin_class_t::name, rz_list_free(), rz_bin_class_t::super, and rz_bin_class_t::visibility_str.
Referenced by classes().
Definition at line 65 of file bin_java.c.
References rz_bin_file_t::sdb.
Definition at line 116 of file bin_java.c.
References NULL, rz_bin_file_get_java_class, and rz_bin_java_class_const_pool_as_imports().
Definition at line 14 of file bin_java.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_file_get_java_class, rz_bin_java_class_debug_info(), rz_bin_java_class_language(), rz_bin_java_class_version(), RZ_NEW0, strdup(), rz_bin_info_t::subsystem, and rz_bin_info_t::type.
Definition at line 165 of file bin_java.c.
References NULL, rz_bin_file_get_java_class, and rz_bin_java_class_as_libraries().
|
static |
Definition at line 39 of file bin_java.c.
References rz_bin_object_t::bin_obj, rz_bin_file_load_options_t::loadaddr, rz_bin_object_t::opts, and rz_bin_java_class_new().
Definition at line 125 of file bin_java.c.
References NULL, rz_bin_file_get_java_class, and rz_bin_java_class_as_sections().
Definition at line 192 of file bin_java.c.
References NULL, rz_bin_file_get_java_class, and rz_bin_java_class_strings().
Definition at line 134 of file bin_java.c.
References list(), NULL, rz_bin_file_get_java_class, rz_bin_java_class_const_pool_as_symbols(), rz_bin_java_class_fields_as_symbols(), rz_bin_java_class_methods_as_symbols(), rz_list_free(), rz_list_join(), and autogen_x86imm::tmp.
RZ_API RzLibStruct rizin_plugin |
Definition at line 257 of file bin_java.c.
RzBinPlugin rz_bin_plugin_java |
Definition at line 231 of file bin_java.c.