update module

binaryninja.update.UpdateChannel(name, desc, ver)

binaryninja.update.UpdateProgressCallback(func)

binaryninja.update.UpdateVersion(channel, ...)

class UpdateChannel(name, desc, ver)[source]

Bases: object

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)

class UpdateProgressCallback(func)[source]

Bases: object

callback(ctxt, progress, total)[source]
property active
class UpdateVersion(channel, ver, notes, t)[source]

Bases: object

update(progress=None)[source]
property channel
property notes
property time
property version
are_auto_updates_enabled()[source]

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()[source]

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()[source]

install_pending_update installs any pending updates

Return type:

None

is_update_installation_pending()[source]

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(enabled)[source]

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()[source]