summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2021-04-19 15:39:33 -0400
committerBrian Potchik <brian@vector35.com>2021-04-19 15:39:33 -0400
commit224e24b283b8be99415431856e6b63dea7305996 (patch)
tree96440f2c02cc012ad625bcded8b0c64c2759b785 /binaryninjacore.h
parent0d52013908d977a12c35e6a03226a90107321c63 (diff)
Fix Mach-O duplicate symbol handling for external relocations.
Diffstat (limited to 'binaryninjacore.h')
-rw-r--r--binaryninjacore.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index 47e0d69d..0115eecf 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -28,14 +28,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 4
+#define BN_CURRENT_CORE_ABI_VERSION 5
// 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 3
+#define BN_MINIMUM_CORE_ABI_VERSION 4
#ifdef __GNUC__
# ifdef BINARYNINJACORE_LIBRARY
@@ -3836,8 +3836,7 @@ __attribute__ ((format (printf, 1, 2)))
BINARYNINJACOREAPI void BNDefineUserSymbol(BNBinaryView* view, BNSymbol* sym);
BINARYNINJACOREAPI void BNUndefineUserSymbol(BNBinaryView* view, BNSymbol* sym);
BINARYNINJACOREAPI void BNDefineImportedFunction(BNBinaryView* view, BNSymbol* importAddressSym, BNFunction* func, BNType* type);
- BINARYNINJACOREAPI void BNDefineAutoSymbolAndVariableOrFunction(BNBinaryView* view, BNPlatform* platform,
- BNSymbol* sym, BNType* type);
+ BINARYNINJACOREAPI BNSymbol* BNDefineAutoSymbolAndVariableOrFunction(BNBinaryView* view, BNPlatform* platform, BNSymbol* sym, BNType* type);
BINARYNINJACOREAPI BNSymbol* BNImportedFunctionFromImportAddressSymbol(BNSymbol* sym, uint64_t addr);