summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
authorBrandon Miller <brandon@vector35.com>2025-05-28 08:33:30 -0400
committerBrandon Miller <brandon@vector35.com>2025-05-28 08:33:30 -0400
commit6e4c00a80fa86bcfefba9630a1ea8e2a47bef2de (patch)
tree94f891149263fe089d747c4baba7d20a80a7750b /binaryninjacore.h
parentb13d50bac18c341b98e6a3002ac9f17f6c8a8df4 (diff)
Support for Linux x86-64 x32 ABI
Diffstat (limited to 'binaryninjacore.h')
-rw-r--r--binaryninjacore.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index ec03c1dd..505e10e2 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 107
+#define BN_CURRENT_CORE_ABI_VERSION 108
// 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
@@ -1935,6 +1935,8 @@ extern "C"
BNType* (*getGlobalRegisterType)(void* ctxt, uint32_t reg);
+ size_t (*getAddressSize)(void* ctxt);
+
void (*adjustTypeParserInput)(
void* ctxt,
BNTypeParser* parser,
@@ -6972,6 +6974,7 @@ extern "C"
BINARYNINJACOREAPI uint32_t* BNGetPlatformGlobalRegisters(BNPlatform* platform, size_t* count);
BINARYNINJACOREAPI BNType* BNGetPlatformGlobalRegisterType(BNPlatform* platform, uint32_t reg);
+ BINARYNINJACOREAPI size_t BNGetPlatformAddressSize(BNPlatform* platform);
BINARYNINJACOREAPI void BNPlatformAdjustTypeParserInput(
BNPlatform* platform,
BNTypeParser* parser,