Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_io.h>
#include <rz_lib.h>
#include <rz_socket.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
Go to the source code of this file.
Functions | |
RZ_PACKED (struct winedbg_x86_32 { ut16 cs;ut16 ss;ut16 ds;ut16 es;ut16 fs;ut16 gs;ut32 eip;ut32 esp;ut32 ebp;ut32 eflags;ut32 eax;ut32 ebx;ut32 ecx;ut32 edx;ut32 esi;ut32 edi;}) | |
static char * | runcmd (const char *cmd) |
static int | __write (RzIO *io, RzIODesc *fd, const ut8 *buf, int count) |
static int | __read (RzIO *io, RzIODesc *fd, ut8 *buf, int count) |
static int | __close (RzIODesc *fd) |
static ut64 | __lseek (RzIO *io, RzIODesc *fd, ut64 offset, int whence) |
static bool | __plugin_open (RzIO *io, const char *pathname, bool many) |
static RzIODesc * | __open (RzIO *io, const char *pathname, int rw, int mode) |
static void | printcmd (RzIO *io, const char *cmd) |
static struct winedbg_x86_32 | regState (void) |
static char * | __system (RzIO *io, RzIODesc *fd, const char *cmd) |
Variables | |
static RzSocket * | gs = NULL |
RzIOPlugin | rz_io_plugin_winedbg |
RZ_API RzLibStruct | rizin_plugin |
Definition at line 137 of file io_winedbg.c.
References fd, and rz_sys_cmdf().
Definition at line 146 of file io_winedbg.c.
References rz_io_t::off, RZ_IO_SEEK_CUR, RZ_IO_SEEK_END, RZ_IO_SEEK_SET, and ST64_MAX.
Definition at line 165 of file io_winedbg.c.
References __plugin_open(), cmd, eprintf, free(), gs, NULL, pathname, runcmd(), rz_io_desc_new(), rz_io_plugin_winedbg, rz_socket_new(), rz_socket_spawn(), and rz_str_newf().
Definition at line 85 of file io_winedbg.c.
References a, addr, b, c, c3, c4, cmd, count, d, dbg, e, f, f0, fd, free(), i, memcpy(), memset(), n, rz_io_t::off, PFMT64x, runcmd(), rz_str_newf(), ut64(), w, and x.
Definition at line 231 of file io_winedbg.c.
References rz_io_t::cb_printf, cmd, eprintf, fd, free(), from, msg, NULL, rz_io_t::off, PFMT64x, printcmd(), r, regState(), runcmd(), rz_hex_bin2str(), RZ_NEWS0, rz_num_get(), rz_str_append(), rz_str_newf(), sdb_fmt(), strdup(), to, and ut64().
Definition at line 58 of file io_winedbg.c.
References addr, cmd, count, fd, free(), i, memcpy(), rz_io_t::off, PFMT64x, runcmd(), rz_str_newf(), ut64(), and w.
Definition at line 189 of file io_winedbg.c.
References rz_io_t::cb_printf, cmd, free(), and runcmd().
Referenced by __system().
|
static |
|
static |
Definition at line 33 of file io_winedbg.c.
References cmd, free(), gs, memset(), NULL, rz_socket_block_time(), rz_socket_printf(), rz_socket_read(), rz_str_append(), cmd_descs_generate::str, and timeout.
Referenced by __open(), __read(), __system(), __write(), and printcmd().
Definition at line 11 of file io_winedbg.c.
Referenced by __open(), get_crossing_matrix(), runcmd(), and RZ_PACKED().
RZ_API RzLibStruct rizin_plugin |
Definition at line 382 of file io_winedbg.c.
RzIOPlugin rz_io_plugin_winedbg |
Definition at line 366 of file io_winedbg.c.
Referenced by __open().