diff options
| author | Rusty Wagner <rusty@vector35.com> | 2016-06-29 16:41:36 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2016-06-29 16:41:36 -0400 |
| commit | 3d7bb5ada00ac4650a916cdb59d3418e5db7f3eb (patch) | |
| tree | 4ead8d7eea472778a6626bc09a14177e0a5c59c8 /binaryninjacore.h | |
| parent | 640a47abbd81c2d560e80b31f943740448838f28 (diff) | |
Add analysis completion event and wait API
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index cbbfcfa8..20f1b204 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -95,6 +95,7 @@ extern "C" struct BNEnumeration; struct BNCallingConvention; struct BNPlatform; + struct BNAnalysisCompletionEvent; enum BNLogLevel { @@ -1203,6 +1204,12 @@ extern "C" uint64_t addr, size_t* count); BINARYNINJACOREAPI void BNFreeInstructionTextLines(BNInstructionTextLine* lines, size_t count); + BINARYNINJACOREAPI BNAnalysisCompletionEvent* BNAddAnalysisCompletionEvent(BNBinaryView* view, void* ctxt, + void (*callback)(void* ctxt)); + BINARYNINJACOREAPI BNAnalysisCompletionEvent* BNNewAnalysisCompletionEventReference(BNAnalysisCompletionEvent* event); + BINARYNINJACOREAPI void BNFreeAnalysisCompletionEvent(BNAnalysisCompletionEvent* event); + BINARYNINJACOREAPI void BNCancelAnalysisCompletionEvent(BNAnalysisCompletionEvent* event); + // Function graph BINARYNINJACOREAPI BNFunctionGraph* BNCreateFunctionGraph(BNFunction* func); BINARYNINJACOREAPI BNFunctionGraph* BNNewFunctionGraphReference(BNFunctionGraph* graph); |
