Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_bp.h>
Go to the source code of this file.
Functions | |
RZ_IPI void | rz_bp_item_insert (RzBreakpoint *bp, RzBreakpointItem *b) |
static void | rz_bp_watch_add_hw (RzBreakpoint *bp, RzBreakpointItem *b) |
RZ_API RZ_BORROW RzBreakpointItem * | rz_bp_watch_add (RZ_NONNULL RzBreakpoint *bp, ut64 addr, int size, int hw, int perm) |
RZ_API void | rz_bp_watch_del (void) |
RZ_IPI void rz_bp_item_insert | ( | RzBreakpoint * | bp, |
RzBreakpointItem * | b | ||
) |
Put an allocated RzBreakpointItem into the RzBreakpoint's list and give it an index
Definition at line 189 of file bp.c.
References b, rz_bp_t::bps, rz_bp_t::bps_idx, rz_bp_t::bps_idx_count, i, rz_bp_t::nbps, NULL, realloc(), and rz_list_append().
Referenced by rz_bp_add(), and rz_bp_watch_add().
RZ_API RZ_BORROW RzBreakpointItem* rz_bp_watch_add | ( | RZ_NONNULL RzBreakpoint * | bp, |
ut64 | addr, | ||
int | size, | ||
int | hw, | ||
int | perm | ||
) |
Definition at line 15 of file bp_watch.c.
References addr, b, NULL, rz_bp_get_in(), rz_bp_item_insert(), rz_bp_watch_add_hw(), RZ_LOG_ERROR, RZ_NEW0, rz_return_val_if_fail, and UT64_MAX.
Referenced by rz_debug_bp_add().
|
static |
Definition at line 9 of file bp_watch.c.
References b, and rz_bp_t::breakpoint.
Referenced by rz_bp_watch_add().
RZ_API void rz_bp_watch_del | ( | void | ) |
Definition at line 43 of file bp_watch.c.