Rizin
unix-like reverse engineering framework and cli tools
linux_heap_glibc.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2021 ret2libc <rschirone91@gmail.com>
2 // SPDX-License-Identifier: LGPL-3.0-only
3 
4 #include <rz_core.h>
5 #include <rz_cmd.h>
6 #include <rz_types.h>
7 
8 #undef GH
9 #undef GHT
10 #undef GHT_MAX
11 #undef read_le
12 
13 #if HEAP64
14 #define GH(x) x##_64
15 #define GHT ut64
16 #define GHT_MAX UT64_MAX
17 #define read_le(x) rz_read_le##64(x)
18 #else
19 #define GH(x) x##_32
20 #define GHT ut32
21 #define GHT_MAX UT32_MAX
22 #define read_le(x) rz_read_le##32(x)
23 #endif
24 
25 RZ_IPI RzCmdStatus GH(rz_cmd_arena_print_handler)(RzCore *core, int argc, const char **argv);
28 RZ_IPI RzCmdStatus GH(rz_cmd_heap_chunk_print_handler)(RzCore *core, int argc, const char **argv);
29 RZ_IPI RzCmdStatus GH(rz_cmd_heap_info_print_handler)(RzCore *core, int argc, const char **argv);
30 RZ_IPI RzCmdStatus GH(rz_cmd_heap_tcache_print_handler)(RzCore *core, int argc, const char **argv);
#define RZ_IPI
Definition: analysis_wasm.c:11
const char int mode
Definition: ioapi.h:137
static static fork const void static count static fd const char const char static newpath char char argv
Definition: sflib.h:40
RZ_IPI RzCmdStatus GH() rz_cmd_arena_print_handler(RzCore *core, int argc, const char **argv)
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)
#define GH(x)
RZ_IPI RzCmdStatus GH() rz_cmd_heap_arena_bins_print_handler(RzCore *core, int argc, const char **argv, RzOutputMode mode)
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_tcache_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)
enum rz_cmd_status_t RzCmdStatus
RzOutputMode
Enum to describe the way data are printed.
Definition: rz_types.h:38
Represent the output state of a command handler.
Definition: rz_cmd.h:91
Definition: dis.h:43