binaryninja-api icon indicating copy to clipboard operation
binaryninja-api copied to clipboard

Binaryninja appears not to wait for plugins to load before launching and opening a file via some means other than its own UI

Open 0cyn opened this issue 2 years ago • 1 comments

Version and Platform (required):

  • Binary Ninja Version: 3.6.4591
  • OS: macOS Sonoma
  • CPU Architecture: M1

Bug Description: Binaryninja appears not to wait for plugins to load before launching and opening a file via some means other than its own UI.

Steps To Reproduce:

  1. Pin binaryninja to your dock, close it, then drag a file onto the icon

alternatively, my old workflow:

  1. open -a "BinaryNinja" ./somefilename

Witness no valid views showing up and the open with options window appearing before any other UI.

Expected Behavior: This is a regression from when views were in core and they would properly load in time. It will also break things for anyone's external plugins.

0cyn avatar Oct 19 '23 19:10 0cyn

This is caused by the Enterprise client looking for URLs before any core initializations have occurred. If it gets a file open from a macOS style open event, this goes through that path and tries to open the file before the core is initialized.

D0ntPanic avatar Jan 06 '24 00:01 D0ntPanic