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 "mdmp_specs.h"
#include "mdmp_pe.h"
#include "mdmp_pe64.h"
Go to the source code of this file.
Classes | |
struct | rz_bin_mdmp_obj |
struct | rz_bin_mdmp_obj::minidump_streams |
Functions | |
struct rz_bin_mdmp_obj * | rz_bin_mdmp_new_buf (RzBuffer *buf) |
void | rz_bin_mdmp_free (struct rz_bin_mdmp_obj *obj) |
ut64 | rz_bin_mdmp_get_paddr (struct rz_bin_mdmp_obj *obj, ut64 vaddr) |
ut32 | rz_bin_mdmp_get_perm (struct rz_bin_mdmp_obj *obj, ut64 vaddr) |
struct minidump_memory_info * | rz_bin_mdmp_get_mem_info (struct rz_bin_mdmp_obj *obj, ut64 vaddr) |
void rz_bin_mdmp_free | ( | struct rz_bin_mdmp_obj * | obj | ) |
Definition at line 97 of file mdmp.c.
References rz_bin_mdmp_obj::b, rz_bin_mdmp_obj::minidump_streams::comments_a, rz_bin_mdmp_obj::minidump_streams::comments_w, rz_bin_mdmp_obj::minidump_streams::ex_threads, rz_bin_mdmp_obj::minidump_streams::exception, free(), rz_bin_mdmp_obj::minidump_streams::function_table, rz_bin_mdmp_obj::minidump_streams::handle_data, rz_bin_mdmp_obj::hdr, rz_bin_mdmp_obj::minidump_streams::memories, rz_bin_mdmp_obj::minidump_streams::memories64, rz_bin_mdmp_obj::minidump_streams::memory_infos, rz_bin_mdmp_obj::minidump_streams::misc_info, rz_bin_mdmp_obj::minidump_streams::misc_info_1, rz_bin_mdmp_obj::minidump_streams::modules, NULL, rz_bin_mdmp_obj::minidump_streams::operations, rz_bin_mdmp_obj::pe32_bins, rz_bin_mdmp_obj::pe64_bins, rz_buf_free(), rz_list_free(), rz_bin_mdmp_obj::streams, rz_bin_mdmp_obj::minidump_streams::system_info, rz_bin_mdmp_obj::minidump_streams::thread_infos, rz_bin_mdmp_obj::minidump_streams::threads, rz_bin_mdmp_obj::minidump_streams::token_infos, and rz_bin_mdmp_obj::minidump_streams::unloaded_modules.
Referenced by destroy(), and rz_bin_mdmp_new_buf().
struct minidump_memory_info* rz_bin_mdmp_get_mem_info | ( | struct rz_bin_mdmp_obj * | obj, |
ut64 | vaddr | ||
) |
Definition at line 30 of file mdmp.c.
References rz_bin_mdmp_obj::minidump_streams::memory_infos, NULL, and rz_bin_mdmp_obj::streams.
Referenced by mem(), and rz_bin_mdmp_get_perm().
ut64 rz_bin_mdmp_get_paddr | ( | struct rz_bin_mdmp_obj * | obj, |
ut64 | vaddr | ||
) |
Definition at line 11 of file mdmp.c.
References rz_bin_mdmp_obj::minidump_streams::base_rva, rz_bin_mdmp_obj::minidump_streams::memories, rz_bin_mdmp_obj::minidump_streams::memories64, rz_bin_mdmp_obj::streams, and ut64().
Referenced by rz_bin_mdmp_init_pe_bins(), and sections().
ut32 rz_bin_mdmp_get_perm | ( | struct rz_bin_mdmp_obj * | obj, |
ut64 | vaddr | ||
) |
Definition at line 47 of file mdmp.c.
References MINIDUMP_PAGE_EXECUTE, MINIDUMP_PAGE_EXECUTE_READ, MINIDUMP_PAGE_EXECUTE_READWRITE, MINIDUMP_PAGE_EXECUTE_WRITECOPY, MINIDUMP_PAGE_GUARD, MINIDUMP_PAGE_NOACCESS, MINIDUMP_PAGE_NOCACHE, MINIDUMP_PAGE_READONLY, MINIDUMP_PAGE_READWRITE, MINIDUMP_PAGE_WRITECOMBINE, MINIDUMP_PAGE_WRITECOPY, rz_bin_mdmp_get_mem_info(), RZ_PERM_R, RZ_PERM_RW, RZ_PERM_RWX, RZ_PERM_RX, and RZ_PERM_X.
struct rz_bin_mdmp_obj* rz_bin_mdmp_new_buf | ( | RzBuffer * | buf | ) |
Definition at line 1389 of file mdmp.c.
References rz_bin_mdmp_obj::b, rz_bin_mdmp_obj::minidump_streams::ex_threads, fail, free(), rz_bin_mdmp_obj::kv, rz_bin_mdmp_obj::minidump_streams::memories, rz_bin_mdmp_obj::minidump_streams::memories64, rz_bin_mdmp_obj::minidump_streams::memory_infos, rz_bin_mdmp_obj::minidump_streams::modules, NULL, rz_bin_mdmp_obj::minidump_streams::operations, rz_bin_mdmp_obj::pe32_bins, rz_bin_mdmp_obj::pe64_bins, rz_bin_mdmp_free(), rz_bin_mdmp_free_pe32_bin(), rz_bin_mdmp_free_pe64_bin(), rz_bin_mdmp_init(), rz_buf_ref(), rz_buf_size(), rz_list_new(), rz_list_newf(), RZ_NEW0, sdb_new0(), rz_bin_mdmp_obj::size, rz_bin_mdmp_obj::streams, rz_bin_mdmp_obj::minidump_streams::thread_infos, rz_bin_mdmp_obj::minidump_streams::threads, rz_bin_mdmp_obj::minidump_streams::token_infos, and rz_bin_mdmp_obj::minidump_streams::unloaded_modules.
Referenced by load_buffer().