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

Method GetRemoteFileForLocalDatabase

collaboration.cpp:59–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57
58
59Ref<RemoteFile> BinaryNinja::Collaboration::GetRemoteFileForLocalDatabase(Ref<Database> database)
60{
61 BNRemoteFile* val;
62 if (!BNCollaborationGetRemoteFileForLocalDatabase(database->m_object, &val))
63 throw RemoteException("Failed to get remote file for local database");
64
65 if (val == nullptr)
66 return nullptr;
67 return new RemoteFile(val);
68}
69
70
71size_t BinaryNinja::Collaboration::PullDatabase(Ref<Database> database, Ref<RemoteFile> file, AnalysisConflictHandler conflictHandler, ProgressFunction progress, NameChangesetFunction nameChangeset)

Callers

nothing calls this directly

Calls 1

RemoteExceptionClass · 0.85

Tested by

no test coverage detected