binaryninja.interaction.get_address_input

get_address_input(prompt, title)[source]

get_address_input prompts the user for an address with the given prompt and title.

Note: This API function differently on the command-line vs the UI. In the UI a pop-up is used. On the command-line
a simple text prompt is used.
Parameters:
  • prompt (str) – String to prompt with.
  • title (str) – Title of the window when executed in the UI.
Return type:

integer value input by the user.

Example:
>>> get_address_input("PROMPT>", "getinfo")
PROMPT> 10
10L