Vector35 / debugger

Binary Ninja debugger
Other
204 stars 14 forks source link

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

Open rickhg12hs opened 9 months ago

rickhg12hs commented 9 months ago

"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.

xusheng6 commented 9 months ago

@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.