debugger icon indicating copy to clipboard operation
debugger copied to clipboard

_"Attach to process"_ dialog list of processes is incomplete

Open rickhg12hs opened this issue 2 years ago • 1 comments

"Attach to process" dialog list of processes is incomplete. Interestingly, plugins/lldb/bin/lldb -b -O 'platform process list' lists more processes than the dialog. Also interestingly, it isn't clear which ps switches exactly correspond the platform process list switches.

When following along with the Binary Ninja Debugger docs, the binaryninja process doesn't even appear in the "Attach to process" list.

rickhg12hs avatar Dec 24 '23 05:12 rickhg12hs

@rickhg12hs I think we are taking exactly the list of processes from the command 'platform process list'. Is there any process other than the binaryninja process that is missing?

We do not filter the list -- my theory is that the LLDB filters the list, since you cannot use binaryninja to attach it to itself. I guess LLDB does the filtering for good. If you run two instances of binaryninja, you will see one instance among them is listed.

xusheng6 avatar Jan 04 '24 07:01 xusheng6