Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_types.h>
#include <rz_util.h>
#include <rz_util/rz_print.h>
#include <rz_lib.h>
#include <rz_bin.h>
#include "mdmp/mdmp.h"
Go to the source code of this file.
Functions | |
static Sdb * | get_sdb (RzBinFile *bf) |
static void | destroy (RzBinFile *bf) |
static RzList * | entries (RzBinFile *bf) |
static RzBinInfo * | info (RzBinFile *bf) |
static RzList * | libs (RzBinFile *bf) |
static bool | load_buffer (RzBinFile *bf, RzBinObject *obj, RzBuffer *buf, Sdb *sdb) |
static RzList * | maps (RzBinFile *bf) |
static RzList * | sections (RzBinFile *bf) |
static RzList * | mem (RzBinFile *bf) |
static RzList * | relocs (RzBinFile *bf) |
static RzList * | imports (RzBinFile *bf) |
static RzList * | symbols (RzBinFile *bf) |
static bool | check_buffer (RzBuffer *b) |
static RzList * | strings (RzBinFile *bf) |
Variables | |
RzBinPlugin | rz_bin_plugin_mdmp |
RZ_API RzLibStruct | rizin_plugin |
Definition at line 455 of file bin_mdmp.c.
References b, MDMP_MAGIC, and rz_buf_read_at().
|
static |
Definition at line 19 of file bin_mdmp.c.
References rz_bin_object_t::bin_obj, rz_bin_file_t::o, and rz_bin_mdmp_free().
Definition at line 23 of file bin_mdmp.c.
References rz_bin_object_t::bin_obj, free(), list(), NULL, rz_bin_file_t::o, rz_bin_mdmp_obj::pe32_bins, rz_bin_mdmp_obj::pe64_bins, rz_list_free(), rz_list_join(), and rz_list_newf().
Definition at line 13 of file bin_mdmp.c.
References rz_bin_object_t::bin_obj, rz_bin_mdmp_obj::kv, NULL, rz_bin_file_t::o, and rz_return_val_if_fail.
Definition at line 398 of file bin_mdmp.c.
References rz_bin_object_t::bin_obj, list(), NULL, rz_bin_file_t::o, rz_bin_mdmp_obj::pe32_bins, rz_bin_mdmp_obj::pe64_bins, rz_bin_import_free(), rz_list_free(), rz_list_join(), and rz_list_newf().
Definition at line 50 of file bin_mdmp.c.
References rz_bin_info_t::arch, rz_bin_info_t::big_endian, rz_bin_object_t::bin_obj, rz_bin_info_t::bits, rz_bin_info_t::claimed_checksum, rz_bin_mdmp_obj::endian, rz_bin_info_t::file, rz_bin_file_t::file, rz_bin_info_t::has_va, rz_bin_mdmp_obj::hdr, rz_bin_info_t::machine, MDMP_PROCESSOR_ARCHITECTURE_AMD64, MDMP_PROCESSOR_ARCHITECTURE_ARM, MDMP_PROCESSOR_ARCHITECTURE_IA64, MDMP_PROCESSOR_ARCHITECTURE_INTEL, MDMP_VER_NT_DOMAIN_CONTROLLER, MDMP_VER_NT_SERVER, MDMP_VER_NT_WORKSTATION, NULL, rz_bin_file_t::o, rz_bin_info_t::os, PFMT64x, rz_bin_info_t::rclass, rz_bin_info_t::rpath, RZ_NEW0, rz_str_newf(), rz_bin_file_t::sdb, sdb_fmt(), sdb_num_set(), sdb_set(), strdup(), rz_bin_mdmp_obj::streams, rz_bin_mdmp_obj::minidump_streams::system_info, and rz_bin_info_t::type.
Definition at line 124 of file bin_mdmp.c.
References rz_bin_object_t::bin_obj, free(), i, NULL, rz_bin_file_t::o, rz_bin_mdmp_obj::pe32_bins, rz_bin_mdmp_obj::pe64_bins, PFMT64x, rz_list_append(), rz_list_newf(), and rz_str_newf().
|
static |
Definition at line 168 of file bin_mdmp.c.
References rz_bin_object_t::bin_obj, rz_bin_mdmp_obj::kv, rz_bin_mdmp_new_buf(), rz_return_val_if_fail, and sdb_ns_set().
Definition at line 179 of file bin_mdmp.c.
References rz_bin_mdmp_obj::minidump_streams::base_rva, rz_bin_object_t::bin_obj, map(), rz_bin_mdmp_obj::minidump_streams::memories, rz_bin_mdmp_obj::minidump_streams::memories64, NULL, rz_bin_file_t::o, PFMT64x, rva(), rz_bin_map_free(), rz_bin_mdmp_get_perm(), rz_list_append(), rz_list_newf(), RZ_NEW0, rz_str_newf(), rz_bin_mdmp_obj::streams, and ut64().
Definition at line 300 of file bin_mdmp.c.
References rz_bin_mem_t::addr, rz_bin_mdmp_obj::minidump_streams::base_rva, rz_bin_object_t::bin_obj, rz_bin_mdmp_obj::minidump_streams::memories, rz_bin_mdmp_obj::minidump_streams::memories64, rz_bin_mem_t::name, NULL, rz_bin_file_t::o, rz_bin_mem_t::perms, PFMT32x, PFMT64x, rz_bin_mdmp_get_mem_info(), rz_bin_mdmp_get_perm(), rz_bin_mem_free(), rz_list_append(), rz_list_newf(), RZ_NEW0, sdb_fmt(), rz_bin_mem_t::size, strdup(), rz_bin_mdmp_obj::streams, type, and ut64().
Definition at line 371 of file bin_mdmp.c.
References rz_bin_object_t::bin_obj, free(), NULL, rz_bin_file_t::o, rz_bin_mdmp_obj::pe32_bins, rz_bin_mdmp_obj::pe64_bins, rz_list_join(), and rz_list_newf().
Definition at line 222 of file bin_mdmp.c.
References rz_bin_mdmp_obj::b, b, rz_bin_object_t::bin_obj, calloc(), rz_bin_mdmp_obj::endian, free(), rz_bin_section_t::has_strings, if(), rz_bin_mdmp_obj::minidump_streams::modules, rz_bin_section_t::name, NULL, rz_bin_file_t::o, rz_bin_section_t::paddr, rz_bin_mdmp_obj::pe32_bins, rz_bin_mdmp_obj::pe64_bins, rz_bin_section_t::perm, rz_bin_mdmp_get_paddr(), rz_bin_section_free(), rz_buf_read_at(), rz_buf_size(), rz_list_append(), rz_list_free(), rz_list_join(), rz_list_newf(), RZ_LOG_WARN, RZ_NEW0, rz_str_utf16_to_utf8(), rz_bin_section_t::size, cmd_descs_generate::str, rz_bin_mdmp_obj::streams, rz_bin_section_t::vaddr, and rz_bin_section_t::vsize.
Definition at line 463 of file bin_mdmp.c.
References rz_bin_file_strings().
Definition at line 429 of file bin_mdmp.c.
References rz_bin_object_t::bin_obj, list(), NULL, rz_bin_file_t::o, rz_bin_mdmp_obj::pe32_bins, rz_bin_mdmp_obj::pe64_bins, rz_bin_file_t::rbin, rz_bin_symbol_free(), rz_list_free(), rz_list_join(), and rz_list_newf().
RZ_API RzLibStruct rizin_plugin |
Definition at line 488 of file bin_mdmp.c.
RzBinPlugin rz_bin_plugin_mdmp |
Definition at line 467 of file bin_mdmp.c.