Public Member Functions | |
| Database (BNDatabase *database) | |
| Ref< Snapshot > | GetSnapshot (int64_t id) |
| std::vector< Ref< Snapshot > > | GetSnapshots () |
| void | SetCurrentSnapshot (int64_t id) |
| Ref< Snapshot > | GetCurrentSnapshot () |
| int64_t | WriteSnapshotData (std::vector< int64_t > parents, Ref< BinaryView > file, const std::string &name, const Ref< KeyValueStore > &data, bool autoSave, const std::function< bool(size_t, size_t)> &progress) |
| void | TrimSnapshot (int64_t id) |
| void | RemoveSnapshot (int64_t id) |
| std::vector< std::string > | GetGlobalKeys () const |
| bool | HasGlobal (const std::string &key) const |
| Json::Value | ReadGlobal (const std::string &key) const |
| void | WriteGlobal (const std::string &key, const Json::Value &val) |
| DataBuffer | ReadGlobalData (const std::string &key) const |
| void | WriteGlobalData (const std::string &key, const DataBuffer &val) |
| Ref< FileMetadata > | GetFile () |
| Ref< KeyValueStore > | ReadAnalysisCache () const |
| void | WriteAnalysisCache (Ref< KeyValueStore > val) |
Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNDatabase, BNNewDatabaseReference, BNFreeDatabase > | |
| CoreRefCountObject () | |
| virtual | ~CoreRefCountObject () |
| BNDatabase * | GetObject () const |
| void | AddRef () |
| void | Release () |
| void | AddRefForRegistration () |
| void | ReleaseForRegistration () |
Additional Inherited Members | |
Static Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNDatabase, BNNewDatabaseReference, BNFreeDatabase > | |
| static BNDatabase * | GetObject (CoreRefCountObject *obj) |
Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNDatabase, BNNewDatabaseReference, BNFreeDatabase > | |
| std::atomic< int > | m_refs |
| bool | m_registeredRef |
| BNDatabase * | m_object |
| Database::Database | ( | BNDatabase * | database | ) |
| Ref< FileMetadata > Database::GetFile | ( | ) |
| std::vector< std::string > Database::GetGlobalKeys | ( | ) | const |
| bool Database::HasGlobal | ( | const std::string & | key | ) | const |
| Ref< KeyValueStore > Database::ReadAnalysisCache | ( | ) | const |
| Json::Value Database::ReadGlobal | ( | const std::string & | key | ) | const |
| DataBuffer Database::ReadGlobalData | ( | const std::string & | key | ) | const |
| void Database::RemoveSnapshot | ( | int64_t | id | ) |
| void Database::SetCurrentSnapshot | ( | int64_t | id | ) |
| void Database::TrimSnapshot | ( | int64_t | id | ) |
| void Database::WriteAnalysisCache | ( | Ref< KeyValueStore > | val | ) |
| void Database::WriteGlobal | ( | const std::string & | key, |
| const Json::Value & | val | ||
| ) |
| void Database::WriteGlobalData | ( | const std::string & | key, |
| const DataBuffer & | val | ||
| ) |
| int64_t Database::WriteSnapshotData | ( | std::vector< int64_t > | parents, |
| Ref< BinaryView > | file, | ||
| const std::string & | name, | ||
| const Ref< KeyValueStore > & | data, | ||
| bool | autoSave, | ||
| const std::function< bool(size_t, size_t)> & | progress | ||
| ) |