Public Member Functions | |
| FileMetadata () | |
| FileMetadata (const std::string &filename) | |
| FileMetadata (BNFileMetadata *file) | |
| void | Close () |
| void | SetNavigationHandler (NavigationHandler *handler) |
| std::string | GetOriginalFilename () const |
| void | SetOriginalFilename (const std::string &name) |
| std::string | GetFilename () const |
| void | SetFilename (const std::string &name) |
| bool | IsModified () const |
| bool | IsAnalysisChanged () const |
| void | MarkFileModified () |
| void | MarkFileSaved () |
| bool | IsSnapshotDataAppliedWithoutError () const |
| bool | IsBackedByDatabase (const std::string &binaryViewType="") const |
| bool | CreateDatabase (const std::string &name, BinaryView *data, Ref< SaveSettings > settings) |
| bool | CreateDatabase (const std::string &name, BinaryView *data, const std::function< bool(size_t progress, size_t total)> &progressCallback, Ref< SaveSettings > settings) |
| Ref< BinaryView > | OpenExistingDatabase (const std::string &path) |
| Ref< BinaryView > | OpenExistingDatabase (const std::string &path, const std::function< bool(size_t progress, size_t total)> &progressCallback) |
| Ref< BinaryView > | OpenDatabaseForConfiguration (const std::string &path) |
| bool | SaveAutoSnapshot (BinaryView *data, Ref< SaveSettings > settings) |
| bool | SaveAutoSnapshot (BinaryView *data, const std::function< bool(size_t progress, size_t total)> &progressCallback, Ref< SaveSettings > settings) |
| void | GetSnapshotData (Ref< KeyValueStore > data, Ref< KeyValueStore > cache, const std::function< bool(size_t, size_t)> &progress) |
| void | ApplySnapshotData (BinaryView *file, Ref< KeyValueStore > data, Ref< KeyValueStore > cache, const std::function< bool(size_t, size_t)> &progress, bool openForConfiguration=false, bool restoreRawView=true) |
| Ref< Database > | GetDatabase () |
| bool | Rebase (BinaryView *data, uint64_t address) |
| bool | Rebase (BinaryView *data, uint64_t address, const std::function< bool(size_t progress, size_t total)> &progressCallback) |
| bool | CreateSnapshotedView (BinaryView *data, const std::string &viewName) |
| bool | CreateSnapshotedView (BinaryView *data, const std::string &viewName, const std::function< bool(size_t progress, size_t total)> &progressCallback) |
| MergeResult | MergeUserAnalysis (const std::string &name, const std::function< bool(size_t, size_t)> &progress, const std::vector< std::string > excludedHashes={}) |
| void | BeginUndoActions () |
| void | CommitUndoActions () |
| bool | Undo () |
| bool | Redo () |
| std::vector< Ref< User > > | GetUsers () |
| std::vector< UndoEntry > | GetUndoEntries () |
| void | ClearUndoEntries () |
| bool | OpenProject () |
| void | CloseProject () |
| bool | IsProjectOpen () |
| std::string | GetCurrentView () |
| uint64_t | GetCurrentOffset () |
| bool | Navigate (const std::string &view, uint64_t offset) |
| BinaryNinja::Ref< BinaryNinja::BinaryView > | GetViewOfType (const std::string &name) |
| std::vector< std::string > | GetExistingViews () const |
| size_t | GetSessionId () const |
Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNFileMetadata, BNNewFileReference, BNFreeFileMetadata > | |
| CoreRefCountObject () | |
| virtual | ~CoreRefCountObject () |
| BNFileMetadata * | GetObject () const |
| void | AddRef () |
| void | Release () |
| void | AddRefForRegistration () |
| void | ReleaseForRegistration () |
Additional Inherited Members | |
Static Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNFileMetadata, BNNewFileReference, BNFreeFileMetadata > | |
| static BNFileMetadata * | GetObject (CoreRefCountObject *obj) |
Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNFileMetadata, BNNewFileReference, BNFreeFileMetadata > | |
| std::atomic< int > | m_refs |
| bool | m_registeredRef |
| BNFileMetadata * | m_object |
| FileMetadata::FileMetadata | ( | ) |
| BinaryNinja::FileMetadata::FileMetadata | ( | const std::string & | filename | ) |
| FileMetadata::FileMetadata | ( | BNFileMetadata * | file | ) |
| void FileMetadata::ApplySnapshotData | ( | BinaryView * | file, |
| Ref< KeyValueStore > | data, | ||
| Ref< KeyValueStore > | cache, | ||
| const std::function< bool(size_t, size_t)> & | progress, | ||
| bool | openForConfiguration = false, |
||
| bool | restoreRawView = true |
||
| ) |
| void FileMetadata::BeginUndoActions | ( | ) |
| void FileMetadata::ClearUndoEntries | ( | ) |
| void FileMetadata::Close | ( | ) |
| void FileMetadata::CloseProject | ( | ) |
| void FileMetadata::CommitUndoActions | ( | ) |
| bool BinaryNinja::FileMetadata::CreateDatabase | ( | const std::string & | name, |
| BinaryView * | data, | ||
| const std::function< bool(size_t progress, size_t total)> & | progressCallback, | ||
| Ref< SaveSettings > | settings | ||
| ) |
| bool BinaryNinja::FileMetadata::CreateDatabase | ( | const std::string & | name, |
| BinaryView * | data, | ||
| Ref< SaveSettings > | settings | ||
| ) |
| bool FileMetadata::CreateSnapshotedView | ( | BinaryView * | data, |
| const std::string & | viewName | ||
| ) |
| bool BinaryNinja::FileMetadata::CreateSnapshotedView | ( | BinaryView * | data, |
| const std::string & | viewName, | ||
| const std::function< bool(size_t progress, size_t total)> & | progressCallback | ||
| ) |
| uint64_t FileMetadata::GetCurrentOffset | ( | ) |
| string FileMetadata::GetCurrentView | ( | ) |
| std::vector< std::string > FileMetadata::GetExistingViews | ( | ) | const |
| string FileMetadata::GetFilename | ( | ) | const |
| string FileMetadata::GetOriginalFilename | ( | ) | const |
| size_t FileMetadata::GetSessionId | ( | ) | const |
| void FileMetadata::GetSnapshotData | ( | Ref< KeyValueStore > | data, |
| Ref< KeyValueStore > | cache, | ||
| const std::function< bool(size_t, size_t)> & | progress | ||
| ) |
| vector< UndoEntry > FileMetadata::GetUndoEntries | ( | ) |
| Ref< BinaryView > FileMetadata::GetViewOfType | ( | const std::string & | name | ) |
| bool FileMetadata::IsAnalysisChanged | ( | ) | const |
| bool FileMetadata::IsBackedByDatabase | ( | const std::string & | binaryViewType = "" | ) | const |
| bool FileMetadata::IsModified | ( | ) | const |
| bool FileMetadata::IsProjectOpen | ( | ) |
| bool FileMetadata::IsSnapshotDataAppliedWithoutError | ( | ) | const |
| void FileMetadata::MarkFileModified | ( | ) |
| void FileMetadata::MarkFileSaved | ( | ) |
| MergeResult FileMetadata::MergeUserAnalysis | ( | const std::string & | name, |
| const std::function< bool(size_t, size_t)> & | progress, | ||
| const std::vector< std::string > | excludedHashes = {} |
||
| ) |
| bool FileMetadata::Navigate | ( | const std::string & | view, |
| uint64_t | offset | ||
| ) |
| Ref< BinaryView > FileMetadata::OpenDatabaseForConfiguration | ( | const std::string & | path | ) |
| Ref< BinaryView > BinaryNinja::FileMetadata::OpenExistingDatabase | ( | const std::string & | path | ) |
| Ref< BinaryView > BinaryNinja::FileMetadata::OpenExistingDatabase | ( | const std::string & | path, |
| const std::function< bool(size_t progress, size_t total)> & | progressCallback | ||
| ) |
| bool FileMetadata::OpenProject | ( | ) |
| bool FileMetadata::Rebase | ( | BinaryView * | data, |
| uint64_t | address | ||
| ) |
| bool BinaryNinja::FileMetadata::Rebase | ( | BinaryView * | data, |
| uint64_t | address, | ||
| const std::function< bool(size_t progress, size_t total)> & | progressCallback | ||
| ) |
| bool FileMetadata::Redo | ( | ) |
| bool BinaryNinja::FileMetadata::SaveAutoSnapshot | ( | BinaryView * | data, |
| const std::function< bool(size_t progress, size_t total)> & | progressCallback, | ||
| Ref< SaveSettings > | settings | ||
| ) |
| bool FileMetadata::SaveAutoSnapshot | ( | BinaryView * | data, |
| Ref< SaveSettings > | settings | ||
| ) |
| void FileMetadata::SetFilename | ( | const std::string & | name | ) |
| void FileMetadata::SetNavigationHandler | ( | NavigationHandler * | handler | ) |
| void FileMetadata::SetOriginalFilename | ( | const std::string & | name | ) |
| bool FileMetadata::Undo | ( | ) |