|
| #define | PRINTF_A(color, fmt, ...) rz_cons_printf(color fmt Color_RESET, __VA_ARGS__) |
| |
| #define | PRINTF_YA(fmt, ...) PRINTF_A("%s", fmt, pal->offset, __VA_ARGS__) |
| |
| #define | PRINTF_GA(fmt, ...) PRINTF_A("%s", fmt, pal->args, __VA_ARGS__) |
| |
| #define | PRINTF_BA(fmt, ...) PRINTF_A("%s", fmt, pal->num, __VA_ARGS__) |
| |
| #define | PRINTF_RA(fmt, ...) PRINTF_A("%s", fmt, pal->invalid, __VA_ARGS__) |
| |
| #define | PRINT_A(color, msg) rz_cons_print(color msg Color_RESET) |
| |
| #define | PRINT_YA(msg) rz_cons_printf("%s" msg Color_RESET, pal->offset) |
| |
| #define | PRINT_GA(msg) rz_cons_printf("%s" msg Color_RESET, pal->args) |
| |
| #define | PRINT_BA(msg) rz_cons_printf("%s" msg Color_RESET, pal->num) |
| |
| #define | PRINT_RA(msg) rz_cons_printf("%s" msg Color_RESET, pal->invalid) |
| |
| #define | PREV_INUSE 0x1 |
| |
| #define | IS_MMAPPED 0x2 |
| |
| #define | NON_MAIN_ARENA 0x4 |
| |
| #define | NBINS 128 |
| |
| #define | NSMALLBINS 64 |
| |
| #define | NFASTBINS 10 |
| |
| #define | BINMAPSHIFT 5 |
| |
| #define | SZ core->dbg->bits |
| |
| #define | FASTBIN_IDX_TO_SIZE(i) ((SZ * 4) + (SZ * 2) * (i - 1)) |
| |
| #define | BITSPERMAP (1U << BINMAPSHIFT) |
| |
| #define | BINMAPSIZE (NBINS / BITSPERMAP) |
| |
| #define | NPAD -6 |
| |
| #define | TCACHE_MAX_BINS 64 |
| |
| #define | TCACHE_FILL_COUNT 7 |
| |
| #define | TCACHE_NEW_VERSION 230 |
| |
| #define | MMAP_ALIGN_32 0x14 |
| |
| #define | MMAP_ALIGN_64 0x18 |
| |
| #define | MMAP_OFFSET 0x8 |
| |
| #define | HDR_SZ_32 0x8 |
| |
| #define | HDR_SZ_64 0x10 |
| |
| #define | TC_HDR_SZ 0x10 |
| |
| #define | TC_SZ_32 0x0 |
| |
| #define | TC_SZ_64 0x10 |
| |
| #define | largebin_index_32(size) |
| |
| #define | largebin_index_32_big(size) |
| |
| #define | largebin_index_64(size) |
| |
| #define | largebin_index(size) (SZ == 8 ? largebin_index_64(size) : largebin_index_32(size)) |
| |
| #define | fastbin_index(size) (SZ == 8 ? (size >> 4) - 2 : (size >> 3) - 2) |
| |
|
| | RZ_LIB_VERSION_HEADER (rz_heap_glibc) |
| |
| RZ_API RzHeapChunkSimple * | rz_heap_chunk_wrapper_32 (RzCore *core, ut32 addr) |
| |
| RZ_API RzHeapChunkSimple * | rz_heap_chunk_wrapper_64 (RzCore *core, ut64 addr) |
| |
| RZ_API RzHeapChunk_64 * | rz_heap_get_chunk_at_addr_64 (RzCore *core, ut64 addr) |
| |
| RZ_API RzHeapChunk_32 * | rz_heap_get_chunk_at_addr_32 (RzCore *core, ut32 addr) |
| |
| RZ_API RzList * | rz_heap_arenas_list_64 (RzCore *core, ut64 m_arena, MallocState *main_arena) |
| |
| RZ_API RzList * | rz_heap_arenas_list_32 (RzCore *core, ut32 m_arena, MallocState *main_arena) |
| |
| RZ_API RzList * | rz_heap_chunks_list_64 (RzCore *core, MallocState *main_arena, ut64 m_arena, ut64 m_state, bool top_chunk) |
| |
| RZ_API RzList * | rz_heap_chunks_list_32 (RzCore *core, MallocState *main_arena, ut32 m_arena, ut32 m_state, bool top_chunk) |
| |
| RZ_API bool | rz_heap_resolve_main_arena_64 (RzCore *core, ut64 *m_arena) |
| |
| RZ_API bool | rz_heap_resolve_main_arena_32 (RzCore *core, ut32 *m_arena) |
| |
| RZ_API bool | rz_heap_update_main_arena_64 (RzCore *core, ut64 m_arena, MallocState *main_arena) |
| |
| RZ_API bool | rz_heap_update_main_arena_32 (RzCore *core, ut32 m_arena, MallocState *main_arena) |
| |
| RZ_API bool | rz_heap_write_heap_chunk_64 (RzCore *core, RzHeapChunkSimple *chunk_simple) |
| |
| RZ_API bool | rz_heap_write_heap_chunk_32 (RzCore *core, RzHeapChunkSimple *chunk_simple) |
| |
| RZ_API RzList * | rz_heap_tcache_content_64 (RzCore *core, ut64 arena_base) |
| |
| RZ_API RzList * | rz_heap_tcache_content_32 (RzCore *core, ut32 arena_base) |
| |
| RZ_API MallocState * | rz_heap_get_arena_64 (RzCore *core, ut64 m_state) |
| |
| RZ_API MallocState * | rz_heap_get_arena_32 (RzCore *core, ut32 m_state) |
| |
| RZ_API RzHeapBin * | rz_heap_fastbin_content_64 (RzCore *core, MallocState *main_arena, int bin_num) |
| |
| RZ_API RzHeapBin * | rz_heap_fastbin_content_32 (RzCore *core, MallocState *main_arena, int bin_num) |
| |
| RZ_API RzHeapBin * | rz_heap_bin_content_64 (RzCore *core, MallocState *main_arena, int bin_num, ut64 m_arena) |
| |
| RZ_API RzHeapBin * | rz_heap_bin_content_32 (RzCore *core, MallocState *main_arena, int bin_num, ut32 m_arena) |
| |
| RZ_API RzList * | rz_heap_chunks_list_wrapper_64 (RzCore *core, ut64 m_state) |
| |
| RZ_API RzList * | rz_heap_chunks_list_wrapper_32 (RzCore *core, ut64 m_state) |
| |
| RZ_API RzList * | rz_heap_arena_list_wrapper_64 (RzCore *core) |
| |
| RZ_API RzList * | rz_heap_arena_list_wrapper_32 (RzCore *core) |
| |
| RZ_IPI int | rz_cmd_heap_fastbins_print_64 (void *data, const char *input) |
| |
| RZ_IPI int | rz_cmd_heap_fastbins_print_32 (void *data, const char *input) |
| |
| RZ_IPI int | rz_cmd_heap_bins_list_print_64 (RzCore *core, const char *input) |
| |
| RZ_IPI int | rz_cmd_heap_bins_list_print_32 (RzCore *core, const char *input) |
| |
| RZ_API void | rz_heap_bin_free_64 (RzHeapBin *bin) |
| |
| RZ_API void | rz_heap_bin_free_32 (RzHeapBin *bin) |
| |