Rizin
unix-like reverse engineering framework and cli tools
linux_heap_glibc.h File Reference
#include <rz_core.h>
#include <rz_cmd.h>
#include <rz_types.h>

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)
 

Macro Definition Documentation

◆ GH

#define GH (   x)    x##_32

Definition at line 19 of file linux_heap_glibc.h.

◆ GHT

#define GHT   ut32

Definition at line 20 of file linux_heap_glibc.h.

◆ GHT_MAX

#define GHT_MAX   UT32_MAX

Definition at line 21 of file linux_heap_glibc.h.

◆ read_le

#define read_le (   x)    rz_read_le##32(x)

Definition at line 22 of file linux_heap_glibc.h.

Function Documentation

◆ rz_cmd_arena_print_handler()

RZ_IPI RzCmdStatus GH() rz_cmd_arena_print_handler ( RzCore core,
int  argc,
const char **  argv 
)

Definition at line 24 of file cmd_linux_heap_glibc.c.

24  {
26 }
RZ_IPI RzCmdStatus rz_cmd_arena_print_handler(RzCore *core, int argc, const char **argv)
#define call_handler(fun,...)
static static fork const void static count static fd const char const char static newpath char char argv
Definition: sflib.h:40

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_cmd_heap_arena_bins_print_handler()

RZ_IPI RzCmdStatus GH() rz_cmd_heap_arena_bins_print_handler ( RzCore core,
int  argc,
const char **  argv,
RzOutputMode  mode 
)

◆ rz_cmd_heap_chunk_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.

32  {
34 }
RZ_IPI RzCmdStatus rz_cmd_heap_chunk_print_handler(RzCore *core, int argc, const char **argv)

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_cmd_heap_chunks_print_handler()

RZ_IPI RzCmdStatus GH() rz_cmd_heap_chunks_print_handler ( RzCore core,
int  argc,
const char **  argv,
RzCmdStateOutput state 
)

◆ rz_cmd_heap_info_print_handler()

RZ_IPI RzCmdStatus GH() rz_cmd_heap_info_print_handler ( RzCore core,
int  argc,
const char **  argv 
)

◆ rz_cmd_heap_tcache_print_handler()

RZ_IPI RzCmdStatus GH() rz_cmd_heap_tcache_print_handler ( RzCore core,
int  argc,
const char **  argv 
)

◆ rz_cmd_main_arena_print_handler()

RZ_IPI RzCmdStatus GH() rz_cmd_main_arena_print_handler ( RzCore core,
int  argc,
const char **  argv,
RzOutputMode  mode 
)