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

Method _get_choice_input

python/interaction.py:588–599  ·  view source on GitHub ↗
(self, ctxt, result, prompt, title, choice_buf, count)

Source from the content-addressed store, hash-verified

586 log_error(traceback.format_exc())
587
588 def _get_choice_input(self, ctxt, result, prompt, title, choice_buf, count):
589 try:
590 choices = []
591 for i in range(0, count):
592 choices.append(choice_buf[i])
593 value = self.get_choice_input(prompt, title, choices)
594 if value is None:
595 return False
596 result[0] = value
597 return True
598 except:
599 log_error(traceback.format_exc())
600
601 def _get_large_choice_input(self, ctxt, result, prompt, title, choice_buf, count):
602 try:

Callers

nothing calls this directly

Calls 3

get_choice_inputMethod · 0.95
log_errorFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected