Binary Ninja Python API Documentation

class binaryninja.PluginManagerLoadPluginCallback[source]

Bases: object

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

binaryninja.core_build_id = 4258600556L

Build ID

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

binaryninja.core_license_count = 0

License count from the license file

binaryninja.core_product = ''

Product string from the license file

binaryninja.core_product_type = ''

Product type from the license file

binaryninja.core_serial = ''

Serial Number

binaryninja.core_version = '1.1.1031-dev'

Core version


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


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