plugin module

binaryninja.plugin.BackgroundTask([...])
binaryninja.plugin.BackgroundTaskThread([...])
binaryninja.plugin.MainThreadAction(handle)
binaryninja.plugin.MainThreadActionHandler()
binaryninja.plugin.PluginCommand(cmd)
binaryninja.plugin.PluginCommandContext(view)
class binaryninja.plugin.BackgroundTask(initial_progress_text='', can_cancel=False, handle=None)[source]

Bases: object

can_cancel

Whether the task can be cancelled (read-only)

cancel()[source]
cancelled

Whether the task has been cancelled

finish()[source]
finished

Whether the task has finished

progress

Text description of the progress of the background task (displayed in status bar of the UI)

class binaryninja.plugin.BackgroundTaskThread(initial_progress_text='', can_cancel=False)[source]

Bases: binaryninja.plugin.BackgroundTask

join()[source]
run()[source]
start()[source]
class binaryninja.plugin.MainThreadAction(handle)[source]

Bases: object

done
execute()[source]
wait()[source]
class binaryninja.plugin.MainThreadActionHandler[source]

Bases: object

add_action(action)[source]
register()[source]
class binaryninja.plugin.PluginCommand(cmd)[source]

Bases: object

execute(context)[source]
classmethod get_valid_list(context)[source]
is_valid(context)[source]
classmethod register(name, description, action, is_valid=None)[source]
classmethod register_for_address(name, description, action, is_valid=None)[source]
classmethod register_for_function(name, description, action, is_valid=None)[source]
classmethod register_for_range(name, description, action, is_valid=None)[source]
class binaryninja.plugin.PluginCommandContext(view)[source]

Bases: object