Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_debug.h>
Go to the source code of this file.
Functions | |
RZ_API void | rz_debug_snap_free (RzDebugSnap *snap) |
RZ_API RzDebugSnap * | rz_debug_snap_map (RzDebug *dbg, RzDebugMap *map) |
RZ_API bool | rz_debug_snap_contains (RzDebugSnap *snap, ut64 addr) |
RZ_API ut8 * | rz_debug_snap_get_hash (RzDebug *dbg, RzDebugSnap *snap, RzHashSize *size) |
RZ_API bool | rz_debug_snap_is_equal (RzDebug *dbg, RzDebugSnap *a, RzDebugSnap *b) |
RZ_API bool rz_debug_snap_contains | ( | RzDebugSnap * | snap, |
ut64 | addr | ||
) |
Definition at line 46 of file snap.c.
References addr, rz_debug_snap_t::addr, and rz_debug_snap_t::addr_end.
RZ_API void rz_debug_snap_free | ( | RzDebugSnap * | snap | ) |
Definition at line 7 of file snap.c.
References rz_debug_snap_t::data, free(), rz_debug_snap_t::name, and RZ_FREE.
Referenced by deserialize_checkpoints_cb(), rz_debug_add_checkpoint(), rz_debug_session_list_memory(), and rz_debug_snap_map().
RZ_API ut8* rz_debug_snap_get_hash | ( | RzDebug * | dbg, |
RzDebugSnap * | snap, | ||
RzHashSize * | size | ||
) |
Definition at line 50 of file snap.c.
References rz_debug_snap_t::data, dbg, rz_debug_t::hash, NULL, rz_hash_cfg_calculate_small_block(), and rz_debug_snap_t::size.
Referenced by rz_debug_session_list_memory(), and rz_debug_snap_is_equal().
RZ_API bool rz_debug_snap_is_equal | ( | RzDebug * | dbg, |
RzDebugSnap * | a, | ||
RzDebugSnap * | b | ||
) |
RZ_API RzDebugSnap* rz_debug_snap_map | ( | RzDebug * | dbg, |
RzDebugMap * | map | ||
) |
Definition at line 15 of file snap.c.
References rz_debug_snap_t::addr, rz_debug_snap_t::addr_end, rz_debug_snap_t::data, dbg, eprintf, rz_io_bind_t::io, rz_debug_t::iob, malloc(), map(), rz_debug_snap_t::name, NULL, rz_debug_snap_t::perm, PFMT64x, rz_io_bind_t::read_at, rz_debug_snap_free(), RZ_NEW0, rz_return_val_if_fail, rz_debug_snap_t::shared, rz_debug_snap_t::size, strdup(), and rz_debug_snap_t::user.
Referenced by rz_debug_add_checkpoint(), and rz_debug_session_list_memory().