Binaryninja appears not to wait for plugins to load before launching and opening a file via some means other than its own UI
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:
- Pin binaryninja to your dock, close it, then drag a file onto the icon
alternatively, my old workflow:
-
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.
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.