MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / GetLocalSnapshotFromRemote

Method GetLocalSnapshotFromRemote

collaboration.cpp:149–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147
148
149Ref<Snapshot> BinaryNinja::Collaboration::GetLocalSnapshotFromRemote(Ref<CollabSnapshot> snapshot, Ref<Database> database)
150{
151 BNSnapshot* val;
152 if (!BNCollaborationGetLocalSnapshotFromRemote(snapshot->m_object, database->m_object, &val))
153 throw RemoteException("Failed to get local snapshot for remote snapshot");
154 if (val == nullptr)
155 return nullptr;
156 return new Snapshot(val);
157}
158
159
160bool BinaryNinja::Collaboration::IsCollaborationTypeArchive(Ref<TypeArchive> archive)

Callers

nothing calls this directly

Calls 1

RemoteExceptionClass · 0.85

Tested by

no test coverage detected