scriptingprovider module

binaryninja.scriptingprovider.PythonScriptingInstance(…)
binaryninja.scriptingprovider.PythonScriptingProvider([…])
binaryninja.scriptingprovider.ScriptingInstance(…)
binaryninja.scriptingprovider.ScriptingOutputListener
binaryninja.scriptingprovider.ScriptingProvider([…])
binaryninja.scriptingprovider.range(*args) A Python2 and Python3 Compatible Range Generator
binaryninja.scriptingprovider.redirect_stdio()
binaryninja.scriptingprovider.with_metaclass(…) Create a base class with a metaclass.
class binaryninja.scriptingprovider.PythonScriptingInstance(provider)[source]

Bases: binaryninja.scriptingprovider.ScriptingInstance

class InterpreterThread(instance)[source]

Bases: threading.Thread

add_input(data)[source]
end()[source]
execute(code)[source]
get_selected_data()[source]
read(size)[source]
run()[source]

Method representing the thread’s activity.

You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.

write_at_cursor(data)[source]
perform_destroy_instance()[source]
perform_execute_script_input(text)[source]
perform_set_current_address(addr)[source]
perform_set_current_basic_block(block)[source]
perform_set_current_binary_view(view)[source]
perform_set_current_function(func)[source]
perform_set_current_selection(begin, end)[source]
class binaryninja.scriptingprovider.PythonScriptingProvider(handle=None)[source]

Bases: binaryninja.scriptingprovider.ScriptingProvider

instance_class

alias of PythonScriptingInstance

name = 'Python'
class binaryninja.scriptingprovider.ScriptingInstance(provider, handle=None)[source]

Bases: object

error(text)[source]
execute_script_input(text)[source]
input_ready_state
output(text)[source]
perform_destroy_instance()[source]
perform_execute_script_input(text)[source]
perform_set_current_address(addr)[source]
perform_set_current_basic_block(block)[source]
perform_set_current_binary_view(view)[source]
perform_set_current_function(func)[source]
perform_set_current_selection(begin, end)[source]
register_output_listener(listener)[source]
set_current_address(addr)[source]
set_current_basic_block(block)[source]
set_current_binary_view(view)[source]
set_current_function(func)[source]
set_current_selection(begin, end)[source]
unregister_output_listener(listener)[source]
class binaryninja.scriptingprovider.ScriptingOutputListener[source]

Bases: object

notify_error(text)[source]
notify_input_ready_state_changed(state)[source]
notify_output(text)[source]
class binaryninja.scriptingprovider.ScriptingProvider(handle=None)[source]

Bases: object

create_instance()[source]
instance_class = None
list = [<binaryninja.scriptingprovider.ScriptingProvider object>]
name = None
register()[source]
binaryninja.scriptingprovider.redirect_stdio()[source]