Troubleshooting

Basics

  • Have you searched known issues?
  • Have you tried rebooting? (Kidding!)
  • Did you read all the items on this page?
  • Then you should contact support!

Bug Reproduction

Running Binary Ninja with debug logging will make your bug report more useful.

./binaryninja --debug --stderr-log

Alternatively, it might be easier to save debug logs to a file instead:

./binaryninja -d -l logfile.txt

(note that both long and short-form of the command-line arguments are demonstrated in the above examples)

Plugin Troubleshooting

While third party plugins are not officially supported, there are a number of troubleshooting tips that can help identify the cause. The most important is to enable debug logging as suggested in the previous section. This will often highlight problems with python paths or any other issues that prevent plugins from running.

Additionally, if you're having trouble running a plugin in headless mode (without a GUI calling directly into the core), make sure you'er running the Commercial version of Binary Ninja as the Student/Non-Commercial edition does not support headless processing.

Next, if running a python plugin, make sure the python requirements are met by your existing installation. Note that on windows, the bundled python is used and python requirements should be installed either by manually copying the modules to the plugins folder.

License Problems

  • If experiencing problems with Windows UAC permissions during an update, the easiest fix is to completely un-install and recover the latest installer and license. Preferences are saved outside the installation folder and are preserved, though you might want to remove your license.
  • If you need to change the email address on your license, contact support.

Linux

Given the diversity of Linux distributions, some work-arounds are required to run Binary Ninja on platforms that are not officially supported.

Headless Ubuntu

If you're having trouble getting Binary Ninja installed in a headless server install where you want to be able to X-Forward the GUI on a remote machine, the following should meet requiremetns (for at least 14.04 LTS):

apt-get install libgl1-mesa-glx libfontconfig1 libxrender1 libegl1-mesa libxi6 libnspr4 libsm6

Arch Linux

  • Install python2 from the official repositories (sudo pacman -S python2) and create a sym link: sudo ln -s /usr/lib/libpython2.7.so.1.0 /usr/lib/libpython2.7.so.1
  • Install the libcurl-compat library with sudo pacman -S libcurl-compat, and run Binary Ninja via LD_PRELOAD=libcurl.so.3 ~/binaryninja/binaryninja

KDE

To run Binary Ninja in a KDE based environment, set the QT_PLUGIN_PATH to the QT sub-folder:

cd ~/binaryninja
QT_PLUGIN_PATH=./qt ./binaryninja

Debian

For Debian variants that (Kali, eg) don't match packages with Ubuntu LTS or the latest stable, the following might fix problems with libssl and libcrypto:

$ cd binaryninja/plugins
$ ln -s libssl.so libssl.so.1.0.0
$ ln -s libcrypto.so libcrypto.so.1.0.0

Gentoo

One Gentoo user reported a failed SSL certificate when trying to update. The solution was to copy over /etc/ssl/certs/ca-certificates.crt from another Linux distribution.

API

  • If the GUI launches but the license file is not valid when launched from the command-line, check that you're using the right version of Python. Only a 64-bit Python 2.7 is supported at this time. Additionally, the personal edition does not support headless operation.