diff options
| author | Brian Potchik <brian@vector35.com> | 2021-04-20 15:38:21 -0400 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2021-04-20 15:38:21 -0400 |
| commit | 33936c204e64b389ec88d37d7787625ed88c4513 (patch) | |
| tree | d966b5a5ee0f249ae2165dd5d85cefb9d92db8bc /binaryninjacore.h | |
| parent | 78b7800b6806ed16929bd184f24ed431ab8eb457 (diff) | |
Add support for analysis hold.
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index 5f851591..8318d8e8 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 5 +#define BN_CURRENT_CORE_ABI_VERSION 6 // 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 4 +#define BN_MINIMUM_CORE_ABI_VERSION 5 #ifdef __GNUC__ # ifdef BINARYNINJACORE_LIBRARY @@ -2079,6 +2079,7 @@ extern "C" enum BNAnalysisState { InitialState, + HoldState, IdleState, DisassembleState, AnalyzeState, @@ -3095,6 +3096,8 @@ __attribute__ ((format (printf, 1, 2))) BINARYNINJACOREAPI void BNRemoveAnalysisFunction(BNBinaryView* view, BNFunction* func); BINARYNINJACOREAPI void BNCreateUserFunction(BNBinaryView* view, BNPlatform* platform, uint64_t addr); BINARYNINJACOREAPI void BNRemoveUserFunction(BNBinaryView* view, BNFunction* func); + BINARYNINJACOREAPI bool BNHasInitialAnalysis(BNBinaryView* view); + BINARYNINJACOREAPI void BNSetAnalysisHold(BNBinaryView* view, bool enable); BINARYNINJACOREAPI void BNUpdateAnalysisAndWait(BNBinaryView* view); BINARYNINJACOREAPI void BNUpdateAnalysis(BNBinaryView* view); BINARYNINJACOREAPI void BNAbortAnalysis(BNBinaryView* view); |
