Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | RzIOBochs |
Functions | |
static bool | isBochs (RzDebug *dbg) |
static int | rz_debug_bochs_breakpoint (RzBreakpoint *bp, RzBreakpointItem *b, bool set) |
static int | rz_debug_bochs_reg_read (RzDebug *dbg, int type, ut8 *buf, int size) |
static int | rz_debug_bochs_reg_write (RzDebug *dbg, int type, const ut8 *buf, int size) |
void | map_free (RzDebugMap *map) |
static RzList * | rz_debug_bochs_map_get (RzDebug *dbg) |
static int | rz_debug_bochs_step (RzDebug *dbg) |
static int | rz_debug_bochs_continue (RzDebug *dbg, int pid, int tid, int sig) |
static void | bochs_debug_break (void *u) |
static RzDebugReasonType | rz_debug_bochs_wait (RzDebug *dbg, int pid) |
static int | rz_debug_bochs_stop (RzDebug *dbg) |
static int | rz_debug_bochs_attach (RzDebug *dbg, int pid) |
static int | rz_debug_bochs_detach (RzDebug *dbg, int pid) |
static const char * | rz_debug_bochs_reg_profile (RzDebug *dbg) |
Variables | |
static bool | bCapturaRegs = true |
static bool | bStep = false |
static bool | bBreak = false |
static bool | bAjusta = true |
static char * | saveRegs |
static ut64 | ripStop = 0LL |
static libbochs_t * | desc = NULL |
RzDebugPlugin | rz_debug_plugin_bochs |
RZ_API RzLibStruct | rizin_plugin |
|
static |
Definition at line 265 of file debug_bochs.c.
References bBreak, bochs_cmd_stop(), desc, and eprintf.
Referenced by rz_debug_bochs_wait().
Definition at line 20 of file debug_bochs.c.
References d, dbg, rz_io_t::desc, eprintf, rz_io_bind_t::io, and rz_debug_t::iob.
Referenced by rz_debug_bochs_map_get(), rz_debug_bochs_reg_read(), rz_debug_bochs_step(), and rz_debug_bochs_wait().
void map_free | ( | RzDebugMap * | map | ) |
Definition at line 336 of file debug_bochs.c.
References bBreak, bCapturaRegs, bStep, d, dbg, desc, rz_io_t::desc, eprintf, g, rz_io_bind_t::io, rz_debug_t::iob, malloc(), saveRegs, and rz_debug_t::swstep.
|
static |
Definition at line 31 of file debug_bochs.c.
References a, addr, b, bCapturaRegs, bochs_send_cmd(), cmd, libbochs_t::data, desc, i, n, NULL, num, rz_num_get(), snprintf, sprintf, and ut64().
Definition at line 257 of file debug_bochs.c.
References bBreak, bCapturaRegs, bochs_send_cmd(), and desc.
Definition at line 221 of file debug_bochs.c.
References dbg, isBochs(), list(), map_free(), mr(), NULL, rz_list_append(), rz_list_free(), rz_list_newf(), RZ_NEW0, strdup(), and UT32_MAX.
Definition at line 363 of file debug_bochs.c.
References rz_debug_t::analysis, rz_analysis_t::bits, bits(), dbg, NULL, and strdup().
Definition at line 86 of file debug_bochs.c.
References bAjusta, bCapturaRegs, bochs_send_cmd(), libbochs_t::data, dbg, desc, eprintf, i, isBochs(), memcpy(), n, NULL, pos, regname(), ripStop, rz_num_get(), s, saveRegs, ut64(), val, and x.
Definition at line 211 of file debug_bochs.c.
Definition at line 246 of file debug_bochs.c.
References bCapturaRegs, bochs_send_cmd(), bStep, dbg, desc, and isBochs().
Definition at line 328 of file debug_bochs.c.
|
static |
Definition at line 271 of file debug_bochs.c.
References bBreak, bochs_debug_break(), bochs_wait(), bStep, libbochs_t::data, dbg, desc, eprintf, i, isBochs(), len, NULL, ripStop, rz_cons_break_pop(), rz_cons_break_push(), RZ_DEBUG_REASON_ERROR, RZ_DEBUG_REASON_NONE, rz_num_get(), and x.
Definition at line 10 of file debug_bochs.c.
Referenced by rz_debug_bochs_reg_read().
Definition at line 9 of file debug_bochs.c.
Referenced by bochs_debug_break(), rz_debug_bochs_attach(), rz_debug_bochs_continue(), rz_debug_bochs_wait(), and zipWriteInFileInZip().
Definition at line 7 of file debug_bochs.c.
Referenced by rz_debug_bochs_attach(), rz_debug_bochs_breakpoint(), rz_debug_bochs_continue(), rz_debug_bochs_reg_read(), and rz_debug_bochs_step().
Definition at line 8 of file debug_bochs.c.
Referenced by rz_debug_bochs_attach(), rz_debug_bochs_step(), and rz_debug_bochs_wait().
|
static |
Definition at line 18 of file debug_bochs.c.
Referenced by bochs_debug_break(), rz_debug_bochs_attach(), rz_debug_bochs_breakpoint(), rz_debug_bochs_continue(), rz_debug_bochs_reg_read(), rz_debug_bochs_step(), and rz_debug_bochs_wait().
|
static |
Definition at line 12 of file debug_bochs.c.
Referenced by rz_debug_bochs_reg_read(), and rz_debug_bochs_wait().
RZ_API RzLibStruct rizin_plugin |
Definition at line 565 of file debug_bochs.c.
RzDebugPlugin rz_debug_plugin_bochs |
Definition at line 545 of file debug_bochs.c.
|
static |
Definition at line 11 of file debug_bochs.c.
Referenced by rz_debug_bochs_attach(), rz_debug_bochs_detach(), and rz_debug_bochs_reg_read().