|
44 | 44 | // will require rebuilding. The minimum version is increased when there are |
45 | 45 | // incompatible changes that break binary compatibility, such as changes to |
46 | 46 | // existing types or functions. |
47 | | -#define BN_MINIMUM_CORE_ABI_VERSION 166 |
| 47 | +#define BN_MINIMUM_CORE_ABI_VERSION 167 |
48 | 48 |
|
49 | 49 | #ifdef __GNUC__ |
50 | 50 | #ifdef BINARYNINJACORE_LIBRARY |
@@ -3122,6 +3122,8 @@ extern "C" |
3122 | 3122 | void (*setCurrentSelection)(void* ctxt, uint64_t begin, uint64_t end); |
3123 | 3123 | char* (*completeInput)(void* ctxt, const char* text, uint64_t state); |
3124 | 3124 | void (*stop)(void* ctxt); |
| 3125 | + bool (*canCompleteArguments)(void* ctx, const char* text); |
| 3126 | + char* (*completeArguments)(void* ctxt, const char* text, uint64_t* argumentStart); |
3125 | 3127 | } BNScriptingInstanceCallbacks; |
3126 | 3128 |
|
3127 | 3129 | typedef struct BNScriptingProviderCallbacks |
@@ -7841,6 +7843,8 @@ extern "C" |
7841 | 7843 | BNScriptingInstance* instance, uint64_t begin, uint64_t end); |
7842 | 7844 | BINARYNINJACOREAPI char* BNScriptingInstanceCompleteInput( |
7843 | 7845 | BNScriptingInstance* instance, const char* text, uint64_t state); |
| 7846 | + BINARYNINJACOREAPI bool BNScriptingInstanceCanCompleteArguments(BNScriptingInstance* instance, const char* text); |
| 7847 | + BINARYNINJACOREAPI char* BNScriptingInstanceCompleteArguments(BNScriptingInstance* instance, const char* text, uint64_t* argumentStart); |
7844 | 7848 | BINARYNINJACOREAPI void BNStopScriptingInstance(BNScriptingInstance* instance); |
7845 | 7849 | BINARYNINJACOREAPI size_t BNFuzzyMatchSingle(const char* target, const char* query); |
7846 | 7850 |
|
|
0 commit comments