Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Macros | |
#define | GH(x) x##_32 |
#define | GHT ut32 |
#define | GHT_MAX UT32_MAX |
#define | read_le(x) rz_read_le##32(x) |
Functions | |
RZ_IPI RzCmdStatus GH() | rz_cmd_arena_print_handler (RzCore *core, int argc, const char **argv) |
RZ_IPI RzCmdStatus GH() | rz_cmd_heap_chunks_print_handler (RzCore *core, int argc, const char **argv, RzCmdStateOutput *state) |
RZ_IPI RzCmdStatus GH() | rz_cmd_main_arena_print_handler (RzCore *core, int argc, const char **argv, RzOutputMode mode) |
RZ_IPI RzCmdStatus GH() | rz_cmd_heap_chunk_print_handler (RzCore *core, int argc, const char **argv) |
RZ_IPI RzCmdStatus GH() | rz_cmd_heap_info_print_handler (RzCore *core, int argc, const char **argv) |
RZ_IPI RzCmdStatus GH() | rz_cmd_heap_tcache_print_handler (RzCore *core, int argc, const char **argv) |
RZ_IPI RzCmdStatus GH() | rz_cmd_heap_arena_bins_print_handler (RzCore *core, int argc, const char **argv, RzOutputMode mode) |
Definition at line 19 of file linux_heap_glibc.h.
#define GHT ut32 |
Definition at line 20 of file linux_heap_glibc.h.
#define GHT_MAX UT32_MAX |
Definition at line 21 of file linux_heap_glibc.h.
Definition at line 22 of file linux_heap_glibc.h.
Definition at line 24 of file cmd_linux_heap_glibc.c.
References rz_malloc_state::attached_threads, rz_cons_t::context, free(), GH(), GHT, GHT_MAX, rz_malloc_state::last_remainder, rz_malloc_state::next, rz_cons_context_t::pal, PFMT64x, pos, PRINTF_YA, RZ_CMD_STATUS_ERROR, RZ_CMD_STATUS_OK, rz_cons_printf(), rz_cons_singleton(), rz_heap_arenas_list(), rz_heap_resolve_main_arena(), rz_heap_update_main_arena(), rz_list_free(), RZ_NEW0, rz_malloc_state::top, and ut64().
Referenced by rz_cmd_arena_print_handler().
RZ_IPI RzCmdStatus GH() rz_cmd_heap_arena_bins_print_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv, | ||
RzOutputMode | mode | ||
) |
Definition at line 71 of file cmd_linux_heap_glibc.c.
References argv, rz_cons_t::context, free(), GH(), GHT, GHT_MAX, input(), is_arena(), rz_cons_context_t::pal, print_main_arena_bins(), PRINT_RA, RZ_CMD_STATUS_ERROR, RZ_CMD_STATUS_OK, rz_cons_singleton(), RZ_HEAP_BIN_ANY, RZ_HEAP_BIN_FAST, RZ_HEAP_BIN_LARGE, RZ_HEAP_BIN_SMALL, RZ_HEAP_BIN_TCACHE, RZ_HEAP_BIN_UNSORTED, rz_heap_resolve_main_arena(), rz_heap_update_main_arena(), RZ_NEW0, RZ_OUTPUT_MODE_JSON, and SZ.
Referenced by rz_cmd_heap_arena_bins_print_handler().
RZ_IPI RzCmdStatus GH() rz_cmd_heap_chunk_print_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 32 of file cmd_linux_heap_glibc.c.
References addr, free(), GH(), GHT, GHT_MAX, print_heap_chunk(), RZ_CMD_STATUS_ERROR, RZ_CMD_STATUS_OK, rz_heap_resolve_main_arena(), RZ_NEW0, and ut64().
Referenced by rz_cmd_heap_chunk_print_handler().
RZ_IPI RzCmdStatus GH() rz_cmd_heap_chunks_print_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv, | ||
RzCmdStateOutput * | state | ||
) |
Definition at line 20 of file cmd_linux_heap_glibc.c.
References argv, calloc(), rz_cons_canvas_t::color, rz_cons_t::context, test_evm::end, free(), g, get_brks(), GH(), GHT, GHT_MAX, h, is_arena(), rz_cons_canvas_t::linemode, NULL, rz_cons_context_t::pal, PFMT64x, pj_end(), pj_ka(), pj_kn(), pj_ks(), pj_o(), pos, print_heap_chunk_simple(), PRINT_RA, PRINTF_YA, rz_agraph_add_edge(), rz_agraph_add_node(), rz_agraph_new(), rz_agraph_print(), rz_agraph_set_title(), RZ_CMD_STATUS_ERROR, RZ_CMD_STATUS_OK, rz_config_get_i(), rz_config_hold_free(), rz_config_hold_new(), rz_config_hold_restore(), rz_cons_canvas_free(), rz_cons_canvas_new(), rz_cons_get_size(), rz_cons_newline(), rz_cons_printf(), rz_cons_singleton(), rz_core_print_hexdump(), RZ_EMPTY, rz_heap_chunks_list(), rz_heap_resolve_main_arena(), rz_heap_update_main_arena(), rz_io_nread_at(), rz_list_free(), RZ_NEW0, rz_num_get(), RZ_OUTPUT_MODE_JSON, RZ_OUTPUT_MODE_LONG, RZ_OUTPUT_MODE_LONG_JSON, RZ_OUTPUT_MODE_RIZIN, RZ_OUTPUT_MODE_STANDARD, RZ_PRINT_FLAGS_HEADER, rz_str_new(), rz_str_newf(), rz_malloc_state::system_mem, SZ, rz_malloc_state::top, ut64(), and w.
Referenced by rz_cmd_heap_chunks_print_handler().
RZ_IPI RzCmdStatus GH() rz_cmd_heap_info_print_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 53 of file cmd_linux_heap_glibc.c.
References argv, rz_cons_t::context, free(), GH(), GHT, GHT_MAX, is_arena(), NULL, rz_cons_context_t::pal, print_malloc_info(), PRINT_RA, RZ_CMD_STATUS_ERROR, RZ_CMD_STATUS_OK, rz_cons_singleton(), rz_heap_resolve_main_arena(), rz_heap_update_main_arena(), RZ_NEW0, and rz_num_get().
Referenced by rz_cmd_heap_info_print_handler().
RZ_IPI RzCmdStatus GH() rz_cmd_heap_tcache_print_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 57 of file cmd_linux_heap_glibc.c.
References rz_arena_list_item::addr, free(), GH(), GHT, GHT_MAX, NULL, print_tcache_content(), RZ_CMD_STATUS_ERROR, RZ_CMD_STATUS_OK, rz_config_get_i(), rz_cons_printf(), rz_heap_arenas_list(), rz_heap_resolve_main_arena(), rz_heap_update_main_arena(), and RZ_NEW0.
Referenced by rz_cmd_heap_tcache_print_handler().
RZ_IPI RzCmdStatus GH() rz_cmd_main_arena_print_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv, | ||
RzOutputMode | mode | ||
) |
Definition at line 28 of file cmd_linux_heap_glibc.c.
References argv, rz_cons_t::context, free(), GH(), GHT, GHT_MAX, is_arena(), NULL, rz_cons_context_t::pal, print_arena_stats(), PRINT_RA, RZ_CMD_STATUS_ERROR, RZ_CMD_STATUS_OK, rz_cons_singleton(), rz_heap_resolve_main_arena(), rz_heap_update_main_arena(), RZ_NEW0, rz_num_get(), and SZ.
Referenced by rz_cmd_main_arena_print_handler().