Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | W32DbgWParams |
struct | W32DbgWInst |
Macros | |
#define | w32dbgw_ret(inst) inst->params.ret |
#define | w32dbgw_err(inst) (SetLastError(inst->params.err), inst->params.err) |
Enumerations | |
enum | w32dbg_wrap_req { W32_NONE , W32_CONTINUE , W32_ATTACH , W32_DETACH , W32_WAIT , W32_STOP , W32_CALL_FUNC } |
Functions | |
W32DbgWInst * | w32dbg_wrap_new (void) |
int | w32dbg_wrap_wait_ret (W32DbgWInst *inst) |
void | w32dbg_wrap_free (W32DbgWInst *inst) |
#define w32dbgw_err | ( | inst | ) | (SetLastError(inst->params.err), inst->params.err) |
Definition at line 46 of file w32dbg_wrap.h.
#define w32dbgw_ret | ( | inst | ) | inst->params.ret |
Definition at line 45 of file w32dbg_wrap.h.
enum w32dbg_wrap_req |
Enumerator | |
---|---|
W32_NONE | |
W32_CONTINUE | |
W32_ATTACH | |
W32_DETACH | |
W32_WAIT | |
W32_STOP | |
W32_CALL_FUNC |
Definition at line 7 of file w32dbg_wrap.h.
void w32dbg_wrap_free | ( | W32DbgWInst * | inst | ) |
Definition at line 58 of file w32dbg_wrap.c.
References W32DbgWInst::debugThread, free(), W32DbgWInst::params, W32DbgWInst::request_sem, W32DbgWInst::result_sem, W32DbgWParams::type, W32_STOP, and w32dbg_wrap_wait_ret().
Referenced by rz_io_fini().
W32DbgWInst* w32dbg_wrap_new | ( | void | ) |
Definition at line 48 of file w32dbg_wrap.c.
References __w32dbg_thread(), calloc(), W32DbgWInst::debugThread, NULL, W32DbgWInst::request_sem, and W32DbgWInst::result_sem.
int w32dbg_wrap_wait_ret | ( | W32DbgWInst * | inst | ) |
Definition at line 71 of file w32dbg_wrap.c.
References NULL, W32DbgWInst::request_sem, W32DbgWInst::result_sem, and w32dbgw_ret.
Referenced by w32_attach(), w32_continue(), w32_dbg_wait(), w32_detach(), and w32dbg_wrap_free().