diff options
| author | Brian Potchik <brian@vector35.com> | 2018-01-22 23:57:00 -0500 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2018-03-23 17:10:06 -0400 |
| commit | c8b3911b7a58bd06191a1f65af2ea436f46982d5 (patch) | |
| tree | b6dc9cbe97d2d98204f07a741a6bbc226267bcff /binaryview.cpp | |
| parent | 82204e9fc38a480e0f53514d92b68df7783fee0a (diff) | |
Add Access to Background Analysis Task.
Diffstat (limited to 'binaryview.cpp')
| -rw-r--r-- | binaryview.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/binaryview.cpp b/binaryview.cpp index 0ee428e1..96fd161d 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -1351,6 +1351,16 @@ BNAnalysisProgress BinaryView::GetAnalysisProgress() } +Ref<BackgroundTask> BinaryView::GetBackgroundAnalysisTask() +{ + BNBackgroundTask* task = BNGetBackgroundAnalysisTask(m_object); + if (!task) + return nullptr; + + return new BackgroundTask(BNNewBackgroundTaskReference(task)); +} + + uint64_t BinaryView::GetNextFunctionStartAfterAddress(uint64_t addr) { return BNGetNextFunctionStartAfterAddress(m_object, addr); |
