Rizin
unix-like reverse engineering framework and cli tools
|
#include "bfvm.h"
Go to the source code of this file.
Macros | |
#define | T if (c->trace) |
Functions | |
static ut8 | bfvm_op (BfvmCPU *c) |
RZ_API int | bfvm_in_trap (BfvmCPU *c) |
RZ_API void | bfvm_reset (BfvmCPU *c) |
RZ_API int | bfvm_init (BfvmCPU *c, ut32 size, int circular) |
RZ_API BfvmCPU * | bfvm_new (RzIOBind *iob) |
RZ_API BfvmCPU * | bfvm_free (BfvmCPU *c) |
RZ_API ut8 * | bfvm_get_ptr_at (BfvmCPU *c, ut64 at) |
RZ_API ut8 * | bfvm_get_ptr (BfvmCPU *c) |
RZ_API ut8 | bfvm_get (BfvmCPU *c) |
RZ_API void | bfvm_inc (BfvmCPU *c) |
RZ_API void | bfvm_dec (BfvmCPU *c) |
RZ_API int | bfvm_reg_set (BfvmCPU *c, const char *str) |
RZ_API void | bfvm_peek (BfvmCPU *c) |
RZ_API void | bfvm_poke (BfvmCPU *c) |
RZ_API int | bfvm_trace_op (BfvmCPU *c, ut8 op) |
RZ_API int | bfvm_step (BfvmCPU *c, int over) |
RZ_API int | bfvm_contsc (BfvmCPU *c) |
RZ_API int | bfvm_cont (BfvmCPU *c, ut64 until) |
RZ_API int | bfvm_trace (BfvmCPU *c, ut64 until) |
RZ_API void | bfvm_show_regs (BfvmCPU *c, int rad) |
RZ_API void | bfvm_maps (BfvmCPU *c, int rad) |
Definition at line 255 of file bfvm.c.
References bfvm_in_trap(), bfvm_step(), c, eprintf, and PFMT64x.
Referenced by bfvm_trace(), and rz_debug_bf_continue().
Definition at line 233 of file bfvm.c.
References bfvm_in_trap(), bfvm_op(), bfvm_step(), c, eprintf, and PFMT64x.
Referenced by rz_debug_bf_continue_syscall().
Definition at line 109 of file bfvm.c.
References bfvm_get_ptr(), c, mem, and NULL.
Referenced by bfvm_step().
Definition at line 97 of file bfvm.c.
References bfvm_get_ptr(), and c.
Referenced by bfvm_poke(), bfvm_show_regs(), bfvm_step(), and bfvm_trace_op().
Definition at line 92 of file bfvm.c.
References bfvm_get_ptr_at(), and c.
Referenced by bfvm_dec(), bfvm_get(), bfvm_inc(), and bfvm_peek().
Definition at line 15 of file bfvm.c.
Referenced by bfvm_cont(), bfvm_contsc(), and rz_debug_bf_step_over().
Definition at line 102 of file bfvm.c.
References bfvm_get_ptr(), c, mem, and NULL.
Referenced by bfvm_step().
Definition at line 39 of file bfvm.c.
References BFVM_INPUT_SIZE, bfvm_reset(), BFVM_SCREEN_ADDR, BFVM_SCREEN_SIZE, c, malloc(), and memset().
Referenced by bfvm_new().
Definition at line 290 of file bfvm.c.
References BFVM_CODE_ADDR, BFVM_CODE_SIZE, c, eprintf, PFMT64x, and ut64().
Definition at line 6 of file bfvm.c.
References c.
Referenced by bfvm_contsc(), bfvm_in_trap(), bfvm_step(), and rz_debug_bf_step_over().
Definition at line 132 of file bfvm.c.
References bfvm_get_ptr(), c, and setup::idx.
Referenced by bfvm_step().
Definition at line 116 of file bfvm.c.
References c, NULL, rz_num_math(), and cmd_descs_generate::str.
Definition at line 25 of file bfvm.c.
References BFVM_DATA_ADDR, BFVM_INPUT_ADDR, BFVM_SCREEN_ADDR, c, and memset().
Referenced by bfvm_init(), and rz_debug_bf_kill().
Definition at line 274 of file bfvm.c.
References bfvm_get(), c, eprintf, IS_PRINTABLE, PFMT64x, and ut64().
Definition at line 180 of file bfvm.c.
References bfvm_dec(), bfvm_get(), bfvm_inc(), bfvm_op(), bfvm_peek(), bfvm_poke(), bfvm_trace_op(), c, and T.
Referenced by bfvm_cont(), bfvm_contsc(), rz_debug_bf_step(), and rz_debug_bf_step_over().
Definition at line 152 of file bfvm.c.
References bfvm_get(), c, eprintf, and g.
Referenced by bfvm_step().