Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
RZ_API RzDebugMap * | rz_debug_map_new (char *name, ut64 addr, ut64 addr_end, int perm, int user) |
RZ_API RzList * | rz_debug_modules_list (RzDebug *dbg) |
RZ_API bool | rz_debug_map_sync (RzDebug *dbg) |
RZ_API RzDebugMap * | rz_debug_map_alloc (RzDebug *dbg, ut64 addr, int size, bool thp) |
RZ_API int | rz_debug_map_dealloc (RzDebug *dbg, RzDebugMap *map) |
RZ_API RzDebugMap * | rz_debug_map_get (RzDebug *dbg, ut64 addr) |
RZ_API void | rz_debug_map_free (RzDebugMap *map) |
RZ_API RzList * | rz_debug_map_list_new (void) |
RZ_API RZ_BORROW RzList * | rz_debug_map_list (RzDebug *dbg, bool user_map) |
Get RzList* of memory maps for the process currently being debugged. More... | |
Definition at line 46 of file dmap.c.
References addr, rz_debug_t::cur, dbg, map(), rz_debug_plugin_t::map_alloc, and NULL.
Referenced by rz_cmd_debug_allocate_maps_handler(), and rz_cmd_debug_dmL_handler().
RZ_API int rz_debug_map_dealloc | ( | RzDebug * | dbg, |
RzDebugMap * | map | ||
) |
Definition at line 54 of file dmap.c.
References addr, rz_debug_t::cur, dbg, map(), rz_debug_plugin_t::map_dealloc, and ut64().
Referenced by rz_cmd_debug_deallocate_map_handler().
RZ_API void rz_debug_map_free | ( | RzDebugMap * | map | ) |
Definition at line 77 of file dmap.c.
Referenced by asciiart_backtrace(), rz_debug_dmp_maps(), rz_debug_dmp_modules(), rz_debug_gdb_modules_get(), rz_debug_map_list_new(), rz_debug_native_map_get(), rz_debug_winkd_maps(), rz_debug_winkd_modules(), rz_w32_dbg_maps(), rz_w32_dbg_modules(), windbg_map_get(), and windbg_modules_get().
RZ_API RzDebugMap* rz_debug_map_get | ( | RzDebug * | dbg, |
ut64 | addr | ||
) |
Definition at line 65 of file dmap.c.
References addr, dbg, map(), rz_debug_t::maps, and NULL.
Referenced by asciiart_backtrace(), cmd_print_bars(), is_valid_xref(), rz_core_analysis_hasrefs_to_depth(), rz_core_analysis_refs(), rz_debug_thread_list(), w32_map_alloc(), and xnu_map_alloc().
Get RzList* of memory maps for the process currently being debugged.
dbg | RzDebug pointer |
user_map | Boolean value, if true return memory maps belonging to user space else return memory maps belonging to kernel space |
Definition at line 98 of file dmap.c.
References dbg, rz_debug_t::maps, and rz_debug_t::maps_user.
Referenced by rz_core_debug_map_print(), rz_core_debug_map_update_flags(), and rz_debug_map_list_visual().
Definition at line 83 of file dmap.c.
References list(), NULL, rz_debug_map_free(), and rz_list_new().
Referenced by bsd_native_sysctl_map(), and rz_debug_new().
Definition at line 7 of file dmap.c.
References addr, eprintf, map(), NULL, PFMT64x, RZ_NEW0, and strdup().
Referenced by __io_maps(), add_map(), bsd_native_sysctl_map(), rz_debug_gdb_map_get(), rz_debug_native_map_get(), rz_w32_dbg_modules(), windbg_map_get(), windbg_modules_get(), xnu_dbg_maps(), and xnu_dbg_modules().
Definition at line 33 of file dmap.c.
References rz_debug_t::cur, dbg, rz_debug_plugin_t::map_get, rz_debug_t::maps, and rz_list_free().
Referenced by addroflib(), bp_maps_sync(), dump_maps(), get_base_from_maps(), get_brks(), get_closest_map(), is_tcache(), linux_thread_list(), rz_cmd_debug_deallocate_map_handler(), rz_cmd_debug_dml_handler(), rz_cmd_debug_dmS_handler(), rz_cmd_debug_list_maps_ascii_handler(), rz_cmd_debug_list_maps_handler(), rz_cmd_search(), rz_core_debug_map_update_flags(), rz_core_get_boundaries_prot(), rz_debug_add_checkpoint(), rz_debug_bp_add(), rz_debug_get_baddr(), rz_debug_session_list_memory(), rz_heap_resolve_main_arena(), rz_resolve_jemalloc(), w32_map_alloc(), and xnu_map_alloc().
Definition at line 29 of file dmap.c.
References rz_debug_t::cur, dbg, rz_debug_plugin_t::modules_get, and NULL.
Referenced by addroflib(), backtrace_windows_x64(), cmd_debug_current_modules(), cmd_debug_modules(), get_closest_map(), get_dispatchmessage_offset(), rz_cmd_debug_dmS_handler(), and rz_debug_bp_add().