Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | RzIOBdescbg |
struct | bfvm_regs |
Macros | |
#define | RZ_API static inline |
Functions | |
static bool | is_io_bf (RzDebug *dbg) |
static int | rz_debug_bf_step_over (RzDebug *dbg) |
static int | rz_debug_bf_step (RzDebug *dbg) |
static int | rz_debug_bf_reg_read (RzDebug *dbg, int type, ut8 *buf, int size) |
static int | rz_debug_bf_reg_write (RzDebug *dbg, int type, const ut8 *buf, int size) |
static int | rz_debug_bf_continue (RzDebug *dbg, int pid, int tid, int sig) |
static int | rz_debug_bf_continue_syscall (RzDebug *dbg, int pid, int num) |
static RzDebugReasonType | rz_debug_bf_wait (RzDebug *dbg, int pid) |
static int | rz_debug_bf_attach (RzDebug *dbg, int pid) |
static int | rz_debug_bf_detach (RzDebug *dbg, int pid) |
static char * | rz_debug_bf_reg_profile (RzDebug *dbg) |
static int | rz_debug_bf_breakpoint (struct rz_bp_t *bp, RzBreakpointItem *b, bool set) |
static bool | rz_debug_bf_kill (RzDebug *dbg, int pid, int tid, int sig) |
static RzList * | rz_debug_native_map_get (RzDebug *dbg) |
static int | rz_debug_bf_stop (RzDebug *dbg) |
Variables | |
static struct bfvm_regs | r |
RzDebugPlugin | rz_debug_plugin_bf |
RZ_API RzLibStruct | rizin_plugin |
#define RZ_API static inline |
Definition at line 6 of file debug_bf.c.
Definition at line 30 of file debug_bf.c.
References d, dbg, rz_io_t::desc, eprintf, rz_io_bind_t::io, and rz_debug_t::iob.
Referenced by rz_debug_bf_attach(), rz_debug_bf_kill(), rz_debug_bf_reg_read(), rz_debug_bf_reg_write(), rz_debug_bf_stop(), and rz_debug_native_map_get().
|
static |
Definition at line 157 of file debug_bf.c.
Definition at line 111 of file debug_bf.c.
References RzIOBdescbg::bfvm, bfvm_cont(), rz_io_desc_t::data, dbg, rz_io_t::desc, rz_io_bind_t::io, rz_debug_t::iob, and UT64_MAX.
Definition at line 117 of file debug_bf.c.
References RzIOBdescbg::bfvm, bfvm_contsc(), rz_io_desc_t::data, dbg, rz_io_t::desc, rz_io_bind_t::io, and rz_debug_t::iob.
Definition at line 135 of file debug_bf.c.
Definition at line 162 of file debug_bf.c.
References RzIOBdescbg::bfvm, bfvm_reset(), rz_io_desc_t::data, dbg, rz_io_t::desc, rz_io_bind_t::io, rz_debug_t::iob, and is_io_bf().
|
static |
Definition at line 140 of file debug_bf.c.
References strdup().
Definition at line 64 of file debug_bf.c.
References bfvm_cpu_t::base, RzIOBdescbg::bfvm, rz_io_desc_t::data, dbg, rz_io_t::desc, bfvm_cpu_t::eip, bfvm_cpu_t::esp, bfvm_regs::inp, bfvm_regs::inpi, bfvm_cpu_t::input, bfvm_cpu_t::input_idx, rz_io_bind_t::io, rz_debug_t::iob, is_io_bf(), bfvm_regs::mem, memcpy(), bfvm_regs::memi, bfvm_regs::pc, bfvm_cpu_t::ptr, bfvm_regs::ptr, r, rz_return_val_if_fail, bfvm_regs::scr, bfvm_cpu_t::screen, bfvm_cpu_t::screen_idx, bfvm_regs::scri, and bfvm_regs::sp.
Definition at line 87 of file debug_bf.c.
References bfvm_cpu_t::base, RzIOBdescbg::bfvm, rz_io_desc_t::data, dbg, rz_io_t::desc, bfvm_cpu_t::eip, bfvm_cpu_t::esp, bfvm_regs::inp, bfvm_regs::inpi, bfvm_cpu_t::input, bfvm_cpu_t::input_idx, rz_io_bind_t::io, rz_debug_t::iob, is_io_bf(), bfvm_regs::mem, memcpy(), bfvm_regs::memi, bfvm_regs::pc, bfvm_cpu_t::ptr, bfvm_regs::ptr, r, bfvm_regs::scr, bfvm_cpu_t::screen, bfvm_cpu_t::screen_idx, bfvm_regs::scri, and bfvm_regs::sp.
Definition at line 58 of file debug_bf.c.
References RzIOBdescbg::bfvm, bfvm_step(), rz_io_desc_t::data, dbg, rz_io_t::desc, rz_io_bind_t::io, and rz_debug_t::iob.
Definition at line 41 of file debug_bf.c.
References RzIOBdescbg::bfvm, bfvm_in_trap(), bfvm_op(), bfvm_step(), rz_io_desc_t::data, dbg, rz_io_t::desc, rz_io_bind_t::io, rz_debug_t::iob, and op.
Definition at line 190 of file debug_bf.c.
References RzIOBdescbg::bfvm, c, rz_io_desc_t::data, dbg, rz_io_t::desc, rz_io_bind_t::io, rz_debug_t::iob, and is_io_bf().
|
static |
Definition at line 173 of file debug_bf.c.
References RzIOBdescbg::bfvm, c, rz_io_desc_t::data, dbg, rz_io_t::desc, rz_io_bind_t::io, rz_debug_t::iob, is_io_bf(), list(), NULL, rz_debug_map_free(), rz_debug_map_new(), rz_list_append(), and rz_list_newf().
|
static |
Definition at line 1 of file debug_bf.c.
Referenced by rz_debug_bf_reg_read(), and rz_debug_bf_reg_write().
RZ_API RzLibStruct rizin_plugin |
Definition at line 222 of file debug_bf.c.
RzDebugPlugin rz_debug_plugin_bf |
Definition at line 200 of file debug_bf.c.