Rizin
unix-like reverse engineering framework and cli tools
|
#include "linux_heap_jemalloc.c"
Go to the source code of this file.
Macros | |
#define | INCLUDE_HEAP_JEMALLOC_STD_C |
#define | HEAP32 1 |
#define | GH(x) x##_64 |
#define | GHT ut64 |
#define | GHT_MAX UT64_MAX |
#define | PFMTx PFMT64x |
#define | OO(x) (ut64)(arena + rz_offsetof(arena_t, x)) |
Functions | |
static bool GH() | rz_resolve_jemalloc (RzCore *core, char *symname, ut64 *symbol) |
static void GH() | jemalloc_get_chunks (RzCore *core, const char *input) |
static void GH() | jemalloc_print_narenas (RzCore *core, const char *input) |
static void GH() | jemalloc_get_bins (RzCore *core, const char *input) |
static int GH() | cmd_dbg_map_jemalloc (RzCore *core, const char *input) |
Definition at line 23 of file linux_heap_jemalloc.c.
#define GHT ut64 |
Definition at line 24 of file linux_heap_jemalloc.c.
#define GHT_MAX UT64_MAX |
Definition at line 25 of file linux_heap_jemalloc.c.
#define HEAP32 1 |
Definition at line 6 of file linux_heap_jemalloc.c.
#define INCLUDE_HEAP_JEMALLOC_STD_C |
Definition at line 5 of file linux_heap_jemalloc.c.
#define OO | ( | x | ) | (ut64)(arena + rz_offsetof(arena_t, x)) |
#define PFMTx PFMT64x |
Definition at line 26 of file linux_heap_jemalloc.c.
Definition at line 494 of file linux_heap_jemalloc.c.
References GH, input(), jemalloc_get_bins(), jemalloc_get_chunks(), jemalloc_print_narenas(), NULL, and rz_core_cmd_help().
Definition at line 324 of file linux_heap_jemalloc.c.
References ar, arenas, b, rz_cons_t::context, free(), GH, GHT, GHT_MAX, i, input(), NULL, rz_cons_context_t::pal, PFMT64x, PFMTx, PRINT_GA, PRINT_YA, PRINTF_BA, PRINTF_GA, PRINTF_YA, rz_cons_singleton(), RZ_FREE, rz_io_read_at(), RZ_LOG_ERROR, RZ_NEW0, rz_resolve_jemalloc(), and ut64().
Referenced by cmd_dbg_map_jemalloc().
Definition at line 123 of file linux_heap_jemalloc.c.
References addr, ar, arenas, rz_cons_t::context, free(), GH, GHT, GHT_MAX, test-lz4-versions::head, i, input(), rz_cons_context_t::pal, PFMT64x, PFMTx, PRINT_GA, PRINT_YA, PRINTF_BA, PRINTF_GA, rz_cons_singleton(), rz_io_read_at(), RZ_LOG_ERROR, RZ_NEW0, rz_num_math(), rz_resolve_jemalloc(), and ut64().
Referenced by cmd_dbg_map_jemalloc().
Definition at line 226 of file linux_heap_jemalloc.c.
References ar, arenas, bins, rz_cons_t::context, free(), GH, GHT, GHT_MAX, i, input(), lock(), OO, rz_cons_context_t::pal, PFMT64d, PFMT64x, PRINT_GA, PRINTF_BA, PRINTF_GA, PRINTF_YA, rz_cons_singleton(), rz_io_read_at(), RZ_LOG_ERROR, RZ_NEW0, rz_num_math(), rz_resolve_jemalloc(), rz_str_bool(), and ut64().
Referenced by cmd_dbg_map_jemalloc().
Definition at line 67 of file linux_heap_jemalloc.c.
References free(), GH, GHT_MAX, map(), n, NULL, path, PFMT64x, rz_cons_printf(), rz_core_cmd_strf(), rz_debug_map_sync(), rz_file_exists(), RZ_LOG_INFO, RZ_LOG_WARN, rz_num_get(), rz_str_newf(), ut64(), and UT64_MAX.
Referenced by jemalloc_get_bins(), jemalloc_get_chunks(), and jemalloc_print_narenas().