update module¶

Class

Description

binaryninja.update.UpdateChannel

binaryninja.update.UpdateProgressCallback

binaryninja.update.UpdateVersion

binaryninja.update.are_auto_updates_enabled

are_auto_updates_enabled queries if auto updates are enabled.

binaryninja.update.get_time_since_last_update_check

get_time_since_last_update_check returns the time stamp for the last time updates were checked.

binaryninja.update.install_pending_update

install_pending_update installs any pending updates

binaryninja.update.is_update_installation_pending

is_update_installation_pending whether an update has been downloaded and is waiting installation

binaryninja.update.set_auto_updates_enabled

set_auto_updates_enabled sets auto update enabled status.

binaryninja.update.updates_checked

UpdateChannel¶

class UpdateChannel[source]¶

Bases: object

__init__(name, desc, ver)[source]¶
update_to_latest(progress=None)[source]¶
property description¶
property latest_version¶

Latest version (read-only)

property latest_version_num¶
property name¶
property updates_available¶

Whether updates are available (read-only)

property versions¶

List of versions (read-only)

UpdateProgressCallback¶

class UpdateProgressCallback[source]¶

Bases: object

__init__(func)[source]¶
callback(ctxt, progress, total)[source]¶
property active¶

UpdateVersion¶

class UpdateVersion[source]¶

Bases: object

__init__(channel, ver, notes, t)[source]¶
update(progress=None)[source]¶
property channel¶
property notes¶
property time¶
property version¶

are_auto_updates_enabled¶

class are_auto_updates_enabled[source]¶

Bases:

are_auto_updates_enabled queries if auto updates are enabled.

Returns:

boolean True if auto updates are enabled. False if they are disabled.

Return type:

bool

get_time_since_last_update_check¶

class get_time_since_last_update_check[source]¶

Bases:

get_time_since_last_update_check returns the time stamp for the last time updates were checked.

Returns:

time stamp for last update check

Return type:

int

install_pending_update¶

class install_pending_update[source]¶

Bases:

install_pending_update installs any pending updates

Return type:

None

is_update_installation_pending¶

class is_update_installation_pending[source]¶

Bases:

is_update_installation_pending whether an update has been downloaded and is waiting installation

Returns:

boolean True if an update is pending, false if no update is pending

Return type:

bool

set_auto_updates_enabled¶

class set_auto_updates_enabled[source]¶

Bases:

set_auto_updates_enabled sets auto update enabled status.

Parameters:

enabled (bool) – True to enable update, False to disable updates.

Return type:

None

updates_checked¶

class updates_checked[source]¶

Bases: