summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2025-03-05 11:36:34 -0500
committerBrian Potchik <brian@vector35.com>2025-03-05 11:36:34 -0500
commit55577a41417ce72f82d46dd04cc90729ecc12391 (patch)
tree84991af908fc219aae742ff77eff1c3f667bdbb2 /binaryninjacore.h
parent9f1c62e99e6dc797ee81716f7d3eb6b722b5270d (diff)
Improvements for advanced binary search.
Diffstat (limited to 'binaryninjacore.h')
-rw-r--r--binaryninjacore.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index 6487c534..97e7c52a 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -37,14 +37,14 @@
// 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 96
+#define BN_CURRENT_CORE_ABI_VERSION 97
// 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
// will require rebuilding. The minimum version is increased when there are
// incompatible changes that break binary compatibility, such as changes to
// existing types or functions.
-#define BN_MINIMUM_CORE_ABI_VERSION 94
+#define BN_MINIMUM_CORE_ABI_VERSION 97
#ifdef __GNUC__
#ifdef BINARYNINJACORE_LIBRARY
@@ -4214,7 +4214,7 @@ extern "C"
BNProgressFunction progress, void* matchCtxt,
bool (*matchCallback)(void* matchCtxt, uint64_t addr, BNLinearDisassemblyLine* line));
- BINARYNINJACOREAPI bool BNSearch(BNBinaryView* view, const char* query, void* context, bool (*callback)(void*, uint64_t, BNDataBuffer*));
+ BINARYNINJACOREAPI bool BNSearch(BNBinaryView* view, const char* query, void* context, BNProgressFunction progressCallback, void* matchContext, bool (*callback)(void*, uint64_t, BNDataBuffer*));
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);