From eeb1402948a3bc9ef66635f42229ab165b163285 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Mon, 17 Mar 2025 13:12:18 -0400 Subject: Add search mode detection feedback in find dialog for advanced binary search. --- binaryninjacore.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'binaryninjacore.h') diff --git a/binaryninjacore.h b/binaryninjacore.h index 8dbda6fe..bc014d36 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -37,7 +37,7 @@ // Current ABI version for linking to the core. This is incremented any time // there are changes to the API that affect linking, including new functions, // new types, or modifications to existing functions or types. -#define BN_CURRENT_CORE_ABI_VERSION 100 +#define BN_CURRENT_CORE_ABI_VERSION 101 // Minimum ABI version that is supported for loading of plugins. Plugins that // are linked to an ABI version less than this will not be able to load and @@ -4224,6 +4224,7 @@ extern "C" bool (*matchCallback)(void* matchCtxt, uint64_t addr, BNLinearDisassemblyLine* line)); BINARYNINJACOREAPI bool BNSearch(BNBinaryView* view, const char* query, void* context, BNProgressFunction progressCallback, void* matchContext, bool (*callback)(void*, uint64_t, BNDataBuffer*)); + BINARYNINJACOREAPI char* BNDetectSearchMode(const char* query); BINARYNINJACOREAPI bool BNPerformSearch(const char* query, const uint8_t* buffer, size_t size, bool(*callback)(void*, size_t, size_t), void* context); BINARYNINJACOREAPI void BNBeginBulkAddSegments(BNBinaryView* view); -- cgit v1.3.1