interaction module

binaryninja.interaction.AddressField(prompt)
binaryninja.interaction.ChoiceField(prompt, ...)
binaryninja.interaction.DirectoryNameField(prompt)
binaryninja.interaction.IntegerField(prompt)
binaryninja.interaction.InteractionHandler()
binaryninja.interaction.LabelField(text)
binaryninja.interaction.MultilineTextField(prompt)
binaryninja.interaction.OpenFileNameField(prompt)
binaryninja.interaction.SaveFileNameField(prompt)
binaryninja.interaction.SeparatorField
binaryninja.interaction.TextLineField(prompt)
binaryninja.interaction.get_address_input(...)
binaryninja.interaction.get_choice_input(...)
binaryninja.interaction.get_directory_name_input(prompt)
binaryninja.interaction.get_form_input(...)
binaryninja.interaction.get_int_input(...)
binaryninja.interaction.get_open_filename_input(prompt)
binaryninja.interaction.get_save_filename_input(prompt)
binaryninja.interaction.get_text_line_input(...)
binaryninja.interaction.markdown_to_html(...)
binaryninja.interaction.show_html_report(...)
binaryninja.interaction.show_markdown_report(...)
binaryninja.interaction.show_message_box(...) show_message_box Displays a configurable message box in the UI, or prompts on the console as appropriate
binaryninja.interaction.show_plain_text_report(...)
class binaryninja.interaction.AddressField(prompt, view=None, current_address=0)[source]

Bases: object

class binaryninja.interaction.ChoiceField(prompt, choices)[source]

Bases: object

class binaryninja.interaction.DirectoryNameField(prompt, default_name='')[source]

Bases: object

class binaryninja.interaction.IntegerField(prompt)[source]

Bases: object

class binaryninja.interaction.InteractionHandler[source]

Bases: object

get_address_input(prompt, title, view, current_address)[source]
get_choice_input(prompt, title, choices)[source]
get_directory_name_input(prompt, default_name)[source]
get_form_input(fields, title)[source]
get_int_input(prompt, title)[source]
get_open_filename_input(prompt, ext)[source]
get_save_filename_input(prompt, ext, default_name)[source]
get_text_line_input(prompt, title)[source]
register()[source]
show_html_report(view, title, contents, plaintext)[source]
show_markdown_report(view, title, contents, plaintext)[source]
show_message_box(title, text, buttons, icon)[source]
show_plain_text_report(view, title, contents)[source]
class binaryninja.interaction.LabelField(text)[source]

Bases: object

class binaryninja.interaction.MultilineTextField(prompt)[source]

Bases: object

class binaryninja.interaction.OpenFileNameField(prompt, ext='')[source]

Bases: object

class binaryninja.interaction.SaveFileNameField(prompt, ext='', default_name='')[source]

Bases: object

class binaryninja.interaction.SeparatorField[source]

Bases: object

class binaryninja.interaction.TextLineField(prompt)[source]

Bases: object

binaryninja.interaction.get_address_input(prompt, title)[source]
binaryninja.interaction.get_choice_input(prompt, title, choices)[source]
binaryninja.interaction.get_directory_name_input(prompt, default_name='')[source]
binaryninja.interaction.get_form_input(fields, title)[source]
binaryninja.interaction.get_int_input(prompt, title)[source]
binaryninja.interaction.get_open_filename_input(prompt, ext='')[source]
binaryninja.interaction.get_save_filename_input(prompt, ext='', default_name='')[source]
binaryninja.interaction.get_text_line_input(prompt, title)[source]
binaryninja.interaction.markdown_to_html(contents)[source]
binaryninja.interaction.show_html_report(title, contents, plaintext='')[source]
binaryninja.interaction.show_markdown_report(title, contents, plaintext='')[source]
binaryninja.interaction.show_message_box(title, text, buttons=<MessageBoxButtonSet.OKButtonSet: 0>, icon=<MessageBoxIcon.InformationIcon: 0>)[source]

show_message_box Displays a configurable message box in the UI, or prompts on the console as appropriate retrieves a list of all Symbol objects of the provided symbol type in the optionally provided range.

Parameters:
  • title (str) – Text title for the message box.
  • text (str) – Text for the main body of the message box.
  • buttons (MessageBoxButtonSet) – One of MessageBoxButtonSet
  • icon (MessageBoxIcon) – One of MessageBoxIcon
Returns:

Which button was selected

Return type:

MessageBoxButtonResult

binaryninja.interaction.show_plain_text_report(title, contents)[source]