Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
RZ_API void | rz_bp_traptrace_free (void *ptr) |
RZ_API RzList * | rz_bp_traptrace_new (void) |
RZ_API void | rz_bp_traptrace_enable (RzBreakpoint *bp, int enable) |
RZ_API void | rz_bp_traptrace_reset (RzBreakpoint *bp, int hard) |
RZ_API ut64 | rz_bp_traptrace_next (RzBreakpoint *bp, ut64 addr) |
RZ_API int | rz_bp_traptrace_add (RzBreakpoint *bp, ut64 from, ut64 to) |
RZ_API int | rz_bp_traptrace_free_at (RzBreakpoint *bp, ut64 from) |
RZ_API void | rz_bp_traptrace_list (RzBreakpoint *bp) |
RZ_API int | rz_bp_traptrace_at (RzBreakpoint *bp, ut64 from, int len) |
RZ_API int rz_bp_traptrace_add | ( | RzBreakpoint * | bp, |
ut64 | from, | ||
ut64 | to | ||
) |
Definition at line 71 of file bp_traptrace.c.
References rz_bp_trace_t::addr, rz_bp_trace_t::addr_end, rz_bp_trace_t::bits, bits(), rz_bp_trace_t::buffer, free(), from, rz_io_bind_t::io, rz_bp_t::iob, len, rz_bp_trace_t::length, malloc(), memset(), rz_io_bind_t::read_at, rz_bp_get_bytes(), rz_list_append(), RZ_NEW, ST32_MAX, to, rz_bp_t::traces, rz_bp_trace_t::traps, and ut64().
Referenced by cmd_debug_backtrace().
RZ_API int rz_bp_traptrace_at | ( | RzBreakpoint * | bp, |
ut64 | from, | ||
int | len | ||
) |
Definition at line 161 of file bp_traptrace.c.
References rz_bp_trace_t::addr, rz_bp_trace_t::bits, delta, from, int, RZ_BIT_CHK, RZ_BIT_SET, rz_bp_t::traces, and rz_bp_trace_t::traps.
Referenced by cmd_debug_backtrace().
RZ_API void rz_bp_traptrace_enable | ( | RzBreakpoint * | bp, |
int | enable | ||
) |
Definition at line 25 of file bp_traptrace.c.
References rz_bp_trace_t::addr, rz_bp_trace_t::buffer, rz_io_bind_t::io, rz_bp_t::iob, rz_bp_trace_t::length, rz_bp_t::traces, rz_bp_trace_t::traps, and rz_io_bind_t::write_at.
Referenced by cmd_debug_backtrace().
RZ_API void rz_bp_traptrace_free | ( | void * | ptr | ) |
Definition at line 8 of file bp_traptrace.c.
References rz_bp_trace_t::bits, rz_bp_trace_t::buffer, free(), and rz_bp_trace_t::traps.
Referenced by rz_bp_traptrace_free_at(), rz_bp_traptrace_new(), and rz_bp_traptrace_reset().
RZ_API int rz_bp_traptrace_free_at | ( | RzBreakpoint * | bp, |
ut64 | from | ||
) |
Definition at line 132 of file bp_traptrace.c.
References rz_bp_trace_t::addr, rz_bp_trace_t::buffer, from, rz_io_bind_t::io, rz_bp_t::iob, rz_bp_trace_t::length, rz_bp_traptrace_free(), rz_list_delete(), rz_bp_t::traces, and rz_io_bind_t::write_at.
RZ_API void rz_bp_traptrace_list | ( | RzBreakpoint * | bp | ) |
Definition at line 148 of file bp_traptrace.c.
References rz_bp_trace_t::addr, rz_bp_trace_t::bitlen, rz_bp_trace_t::bits, eprintf, i, PFMT64x, RZ_BIT_CHK, and rz_bp_t::traces.
Referenced by cmd_debug_backtrace().
Definition at line 16 of file bp_traptrace.c.
References list(), NULL, rz_bp_traptrace_free(), and rz_list_new().
Referenced by rz_bp_new().
RZ_API ut64 rz_bp_traptrace_next | ( | RzBreakpoint * | bp, |
ut64 | addr | ||
) |
Definition at line 54 of file bp_traptrace.c.
References addr, rz_bp_trace_t::addr, rz_bp_trace_t::bits, delta, i, int, rz_bp_trace_t::length, RZ_BIT_CHK, and rz_bp_t::traces.
RZ_API void rz_bp_traptrace_reset | ( | RzBreakpoint * | bp, |
int | hard | ||
) |
Definition at line 34 of file bp_traptrace.c.
References rz_bp_trace_t::bitlen, rz_bp_trace_t::bits, rz_list_t::free, memset(), rz_bp_traptrace_free(), rz_list_new(), and rz_bp_t::traces.
Referenced by cmd_debug_backtrace().