Binary Ninja Python API Documentation

class PluginManagerLoadPluginCallback[source]

Bases: object

Callback for BNLoadPluginForApi(“python2”, …), dynamicly loads python plugins.


get_install_directory returns a string pointing to the installed binary currently running

..warning:: ONLY for use within the Binary Ninja UI, behavior is undefined and unreliable if run headlessly


A Python2 and Python3 Compatible Range Generator


shutdown cleanly shuts down the core, stopping all workers and closing all log files.

with_metaclass(meta, *bases)[source]

Create a base class with a metaclass.

core_build_id = 3260755643L

Build ID

core_expires = time.struct_time(tm_year=1970, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=0, tm_sec=0, tm_wday=3, tm_yday=1, tm_isdst=0)

License Expiration

core_license_count = 0

License count from the license file

core_product = ''

Product string from the license file

core_product_type = ''

Product type from the license file

core_serial = ''

Serial Number

core_ui_enabled = False

Indicates that a UI exists and the UI has invoked BNInitUI

core_version = '1.1.1344'

Core version