From 4b6fb132a97a7852e69a746e2e259bf423b14969 Mon Sep 17 00:00:00 2001 From: kat Date: Thu, 16 Mar 2023 14:26:49 -0400 Subject: Add interaction.get_large_choice_input for large numbers of options --- binaryninjacore.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'binaryninjacore.h') diff --git a/binaryninjacore.h b/binaryninjacore.h index 0461a16c..a92c7a09 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -2733,7 +2733,9 @@ extern "C" bool (*getAddressInput)(void* ctxt, uint64_t* result, const char* prompt, const char* title, BNBinaryView* view, uint64_t currentAddr); bool (*getChoiceInput)( - void* ctxt, size_t* result, const char* prompt, const char* title, const char** choices, size_t count); + void* ctxt, size_t* result, const char* prompt, const char* title, const char** choices, size_t count); + bool (*getLargeChoiceInput)( + void* ctxt, size_t* result, const char* prompt, const char* title, const char** choices, size_t count); bool (*getOpenFileNameInput)(void* ctxt, char** result, const char* prompt, const char* ext); bool (*getSaveFileNameInput)( void* ctxt, char** result, const char* prompt, const char* ext, const char* defaultName); @@ -6073,7 +6075,9 @@ extern "C" BINARYNINJACOREAPI bool BNGetAddressInput( uint64_t* result, const char* prompt, const char* title, BNBinaryView* view, uint64_t currentAddr); BINARYNINJACOREAPI bool BNGetChoiceInput( - size_t* result, const char* prompt, const char* title, const char** choices, size_t count); + size_t* result, const char* prompt, const char* title, const char** choices, size_t count); + BINARYNINJACOREAPI bool BNGetLargeChoiceInput( + size_t* result, const char* prompt, const char* title, const char** choices, size_t count); BINARYNINJACOREAPI bool BNGetOpenFileNameInput(char** result, const char* prompt, const char* ext); BINARYNINJACOREAPI bool BNGetSaveFileNameInput( char** result, const char* prompt, const char* ext, const char* defaultName); -- cgit v1.3.1