BinaryNinja::Snapshot Class Reference

Public Member Functions

 Snapshot (BNSnapshot *snapshot)
 
Ref< DatabaseGetDatabase ()
 
int64_t GetId ()
 
std::string GetName ()
 
bool IsAutoSave ()
 
bool HasContents ()
 
bool HasUndo ()
 
Ref< SnapshotGetFirstParent ()
 
std::vector< Ref< Snapshot > > GetParents ()
 
std::vector< Ref< Snapshot > > GetChildren ()
 
DataBuffer GetFileContents ()
 
DataBuffer GetFileContentsHash ()
 
std::vector< UndoEntryGetUndoEntries ()
 
std::vector< UndoEntryGetUndoEntries (const std::function< bool(size_t, size_t)> &progress)
 
Ref< KeyValueStoreReadData ()
 
Ref< KeyValueStoreReadData (const std::function< bool(size_t, size_t)> &progress)
 
bool HasAncestor (Ref< Snapshot > other)
 
- Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNSnapshot, BNNewSnapshotReference, BNFreeSnapshot >
 CoreRefCountObject ()
 
virtual ~CoreRefCountObject ()
 
BNSnapshot * GetObject () const
 
void AddRef ()
 
void Release ()
 
void AddRefForRegistration ()
 
void ReleaseForRegistration ()
 

Additional Inherited Members

- Static Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNSnapshot, BNNewSnapshotReference, BNFreeSnapshot >
static BNSnapshot * GetObject (CoreRefCountObject *obj)
 
- Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNSnapshot, BNNewSnapshotReference, BNFreeSnapshot >
std::atomic< int > m_refs
 
bool m_registeredRef
 
BNSnapshot * m_object
 

Constructor & Destructor Documentation

◆ Snapshot()

Snapshot::Snapshot ( BNSnapshot *  snapshot)

Member Function Documentation

◆ GetChildren()

vector< Ref< Snapshot > > Snapshot::GetChildren ( )

◆ GetDatabase()

Ref< Database > Snapshot::GetDatabase ( )

◆ GetFileContents()

DataBuffer Snapshot::GetFileContents ( )

◆ GetFileContentsHash()

DataBuffer Snapshot::GetFileContentsHash ( )

◆ GetFirstParent()

Ref< Snapshot > Snapshot::GetFirstParent ( )

◆ GetId()

int64_t Snapshot::GetId ( )

◆ GetName()

std::string Snapshot::GetName ( )

◆ GetParents()

vector< Ref< Snapshot > > Snapshot::GetParents ( )

◆ GetUndoEntries() [1/2]

vector< UndoEntry > Snapshot::GetUndoEntries ( )

◆ GetUndoEntries() [2/2]

vector< UndoEntry > Snapshot::GetUndoEntries ( const std::function< bool(size_t, size_t)> &  progress)

◆ HasAncestor()

bool Snapshot::HasAncestor ( Ref< Snapshot other)

◆ HasContents()

bool Snapshot::HasContents ( )

◆ HasUndo()

bool Snapshot::HasUndo ( )

◆ IsAutoSave()

bool Snapshot::IsAutoSave ( )

◆ ReadData() [1/2]

Ref< KeyValueStore > Snapshot::ReadData ( )

◆ ReadData() [2/2]

Ref< KeyValueStore > Snapshot::ReadData ( const std::function< bool(size_t, size_t)> &  progress)

The documentation for this class was generated from the following files: