Fix WinDBG crash and fix Windows client support
This commit is contained in:
parent
ef07bb63e8
commit
79e6dc5dd8
|
@ -51,6 +51,10 @@ we should specify the x86-32 too. (32 and 64 bit debugging is supported)
|
|||
|
||||
$ r2 -a x86 -b 32 -D wind windbg:///tmp/windbg.pipe
|
||||
|
||||
On Windows you should run the following line:
|
||||
|
||||
$ radare2 -D wind windbg://\\.\pipe\com_1
|
||||
|
||||
At this point, we will get stuck here:
|
||||
|
||||
[0x828997b8]> pd 20
|
||||
|
|
|
@ -14,7 +14,7 @@ static io_backend_t *io_backends[] = {
|
|||
NULL,
|
||||
};
|
||||
|
||||
static io_backend_t *sel_backend = NULL;
|
||||
static io_backend_t *sel_backend = &iob_pipe;
|
||||
|
||||
int iob_select (const char *name) {
|
||||
io_backend_t *iob;
|
||||
|
|
|
@ -307,7 +307,6 @@ int wind_wait_packet (WindCtx *ctx, const uint32_t type, kd_packet_t **p) {
|
|||
*p = pkt;
|
||||
} else {
|
||||
free (pkt);
|
||||
*p = 0;
|
||||
}
|
||||
|
||||
return KD_E_OK;
|
||||
|
|
Loading…
Reference in New Issue