|
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 118 |
| 40 | +#define BN_CURRENT_CORE_ABI_VERSION 119 |
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 |
@@ -3728,6 +3728,18 @@ extern "C" |
3728 | 3728 | bool higherToLowerDirect; |
3729 | 3729 | } BNExprMapInfo; |
3730 | 3730 |
|
| 3731 | + typedef struct BNAllTypeFieldReferences |
| 3732 | + { |
| 3733 | + BNTypeFieldReference* codeRefs; |
| 3734 | + size_t codeRefCount; |
| 3735 | + uint64_t* dataRefsTo; |
| 3736 | + size_t dataRefToCount; |
| 3737 | + uint64_t* dataRefsFrom; |
| 3738 | + size_t dataRefFromCount; |
| 3739 | + BNTypeReferenceSource* typeRefs; |
| 3740 | + size_t typeRefCount; |
| 3741 | + } BNAllTypeFieldReferences; |
| 3742 | + |
3731 | 3743 | BINARYNINJACOREAPI char* BNAllocString(const char* contents); |
3732 | 3744 | BINARYNINJACOREAPI char* BNAllocStringWithLength(const char* contents, size_t len); |
3733 | 3745 | BINARYNINJACOREAPI void BNFreeString(char* str); |
@@ -5043,6 +5055,10 @@ extern "C" |
5043 | 5055 | BINARYNINJACOREAPI BNTypeReferenceSource* BNGetTypeReferencesForTypeField( |
5044 | 5056 | BNBinaryView* view, BNQualifiedName* type, uint64_t offset, size_t* count); |
5045 | 5057 |
|
| 5058 | + BINARYNINJACOREAPI BNAllTypeFieldReferences BNGetAllReferencesForTypeField( |
| 5059 | + BNBinaryView* view, BNQualifiedName* type, uint64_t offset); |
| 5060 | + BINARYNINJACOREAPI void BNFreeAllTypeFieldReferences(BNAllTypeFieldReferences* refs); |
| 5061 | + |
5046 | 5062 | BINARYNINJACOREAPI BNTypeReferenceSource* BNGetCodeReferencesForTypeFrom( |
5047 | 5063 | BNBinaryView* view, BNReferenceSource* addr, size_t* count); |
5048 | 5064 | BINARYNINJACOREAPI BNTypeReferenceSource* BNGetCodeReferencesForTypeFromInRange( |
|
0 commit comments