MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / get_int_input

Function get_int_input

python/interaction.py:1166–1184  ·  view source on GitHub ↗

``get_int_input`` prompts the user to input a integer 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. :param str prompt: String to prompt with :param str tit

(prompt, title)

Source from the content-addressed store, hash-verified

1164
1165
1166def get_int_input(prompt, title):
1167 """
1168 ``get_int_input`` prompts the user to input a integer with the given prompt and title
1169
1170 .. note:: This API function differently on the command-line vs the UI. In the UI a pop-up is used. On the command-line \
1171 a simple text prompt is used.
1172
1173 :param str prompt: String to prompt with
1174 :param str title: Title of the window when executed in the UI
1175 :rtype: integer value input by the user
1176 :Example:
1177 >>> get_int_input("PROMPT>", "getinfo")
1178 PROMPT> 10
1179 10
1180 """
1181 value = ctypes.c_longlong()
1182 if not core.BNGetIntegerInput(value, prompt, title):
1183 return None
1184 return value.value
1185
1186
1187def get_address_input(prompt, title):

Callers 1

get_address_inputMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected