static char *r_debug_rap_reg_profile(RDebug *dbg) { char *out, *tf = r_file_temp ("/tmp/rap.XXXXXX"); int fd = r_cons_pipe_open (tf, 1, 0); r_io_system (dbg->iob.io, "drp"); r_cons_pipe_close (fd); out = r_file_slurp (tf, NULL); r_file_rm (tf); return out; }
static int r_debug_rap_step(RDebug *dbg) { r_io_system (dbg->iob.io, "ds"); return R_TRUE; }
static int r_debug_rap_continue(RDebug *dbg, int pid, int tid, int sig) { r_io_system (dbg->iob.io, "dc"); return R_TRUE; }
static int r_debug_rap_reg_read(RDebug *dbg, int type, ut8 *buf, int size) { r_io_system (dbg->iob.io, "dr"); return 0; }