diff options
| author | Rusty Wagner <rusty@vector35.com> | 2016-08-30 22:05:21 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2016-08-30 22:05:21 -0400 |
| commit | 5b9887694a608b263f58fecfc3fa747b5f8dddf8 (patch) | |
| tree | 523d576b8b55693c0c495a7ba5f5f37b98ab6d98 /binaryview.cpp | |
| parent | 3c19753e3ec474d4c84110b9e6ab8ef1f1971fe2 (diff) | |
| parent | 3978e18b09ca745fd08defb8f00fbece267beaf2 (diff) | |
Merge branch 'analysis_cache' into dev
Diffstat (limited to 'binaryview.cpp')
| -rw-r--r-- | binaryview.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/binaryview.cpp b/binaryview.cpp index cff3ed10..6631f3d6 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -518,12 +518,25 @@ bool BinaryView::CreateDatabase(const string& path) } +bool BinaryView::CreateDatabase(const string& path, + const function<void(size_t progress, size_t total)>& progressCallback) +{ + return m_file->CreateDatabase(path, this, progressCallback); +} + + bool BinaryView::SaveAutoSnapshot() { return m_file->SaveAutoSnapshot(this); } +bool BinaryView::SaveAutoSnapshot(const function<void(size_t progress, size_t total)>& progressCallback) +{ + return m_file->SaveAutoSnapshot(this, progressCallback); +} + + void BinaryView::BeginUndoActions() { m_file->BeginUndoActions(); @@ -1427,6 +1440,12 @@ bool BinaryView::FindNextData(uint64_t start, const DataBuffer& data, uint64_t& } +void BinaryView::Reanalyze() +{ + BNReanalyzeAllFunctions(m_object); +} + + BinaryData::BinaryData(FileMetadata* file): BinaryView(BNCreateBinaryDataView(file->GetObject())) { } |
