|
37 | 37 | // Current ABI version for linking to the core. This is incremented any time |
38 | 38 | // there are changes to the API that affect linking, including new functions, |
39 | 39 | // new types, or modifications to existing functions or types. |
40 | | -#define BN_CURRENT_CORE_ABI_VERSION 44 |
| 40 | +#define BN_CURRENT_CORE_ABI_VERSION 45 |
41 | 41 |
|
42 | 42 | // Minimum ABI version that is supported for loading of plugins. Plugins that |
43 | 43 | // are linked to an ABI version less than this will not be able to load and |
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 44 |
| 47 | +#define BN_MINIMUM_CORE_ABI_VERSION 45 |
48 | 48 |
|
49 | 49 | #ifdef __GNUC__ |
50 | 50 | #ifdef BINARYNINJACORE_LIBRARY |
@@ -3409,6 +3409,8 @@ extern "C" |
3409 | 3409 | BINARYNINJACOREAPI bool BNIsOffsetExternSemantics(BNBinaryView* view, uint64_t offset); |
3410 | 3410 | BINARYNINJACOREAPI bool BNIsOffsetWritableSemantics(BNBinaryView* view, uint64_t offset); |
3411 | 3411 | BINARYNINJACOREAPI uint64_t BNGetNextValidOffset(BNBinaryView* view, uint64_t offset); |
| 3412 | + BINARYNINJACOREAPI uint64_t BNGetOriginalBase(BNBinaryView* view); |
| 3413 | + BINARYNINJACOREAPI void BNSetOriginalBase(BNBinaryView* view, uint64_t base); |
3412 | 3414 | BINARYNINJACOREAPI uint64_t BNGetStartOffset(BNBinaryView* view); |
3413 | 3415 | BINARYNINJACOREAPI uint64_t BNGetEndOffset(BNBinaryView* view); |
3414 | 3416 | BINARYNINJACOREAPI uint64_t BNGetViewLength(BNBinaryView* view); |
|
0 commit comments