debugger icon indicating copy to clipboard operation
debugger copied to clipboard

Windows auto attach/debug child process

Open Maxou56800 opened this issue 1 year ago • 1 comments

Hi,

What is the feature you'd like to have?

Be able to auto attach/debug child process using binja debugger on Windows.

Is your feature request related to a problem?

I have a program (PE) that requires user input to be sent to stdin. I haven't found any method other than using “cmd.exe /c program.exe < data_to_send_in_stdin.bin”. But as cmd launches a new process (program.exe), the latter is not debugged.

Additional Information:

Debug adapter settings for send stdin data to the program, but not debugged (breakpoints not hits):

image

x64dbg has a plugin for this functionality: https://github.com/therealdreg/DbgChild

Maxou56800 avatar Nov 26 '24 06:11 Maxou56800

WinDbg actually has a childdbg command that is relevant to this. It might make the thing quite easy to implement

xusheng6 avatar Dec 03 '24 13:12 xusheng6