diff options
| -rw-r--r-- | basedetection.cpp | 2 | ||||
| -rw-r--r-- | binaryninjacore.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/basedetection.cpp b/basedetection.cpp index 2764e334..0b660d36 100644 --- a/basedetection.cpp +++ b/basedetection.cpp @@ -48,7 +48,7 @@ bool BaseAddressDetection::DetectBaseAddress(BaseAddressDetectionSettings& setti settings.MaxPointersPerCluster, }; - return BNDetectBaseAddress(m_object, bnSettings); + return BNDetectBaseAddress(m_object, &bnSettings); } diff --git a/binaryninjacore.h b/binaryninjacore.h index 58b0bd1c..2b4dc07d 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 102 +#define BN_CURRENT_CORE_ABI_VERSION 103 // 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 @@ -7732,7 +7732,7 @@ extern "C" // Base Address Detection BINARYNINJACOREAPI BNBaseAddressDetection* BNCreateBaseAddressDetection(BNBinaryView *view); - BINARYNINJACOREAPI bool BNDetectBaseAddress(BNBaseAddressDetection* bad, BNBaseAddressDetectionSettings& settings); + BINARYNINJACOREAPI bool BNDetectBaseAddress(BNBaseAddressDetection* bad, BNBaseAddressDetectionSettings* settings); BINARYNINJACOREAPI size_t BNGetBaseAddressDetectionScores(BNBaseAddressDetection* bad, BNBaseAddressDetectionScore* scores, size_t count, BNBaseAddressDetectionConfidence* confidence, uint64_t* lastTestedBaseAddress); BINARYNINJACOREAPI BNBaseAddressDetectionReason* BNGetBaseAddressDetectionReasons(BNBaseAddressDetection* bad, |
