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

Method StoreData

database.cpp:355–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353
354
355bool Snapshot::StoreData(const Ref<KeyValueStore>& data, const std::function<bool(size_t, size_t)>& progress)
356{
357 ProgressContext pctxt;
358 pctxt.callback = progress;
359 bool result = BNSnapshotStoreData(m_object, data->GetObject(), &pctxt, ProgressCallback);
360 if (!result)
361 {
362 throw DatabaseException("BNSnapshotStoreData");
363 }
364 return result;
365}
366
367
368bool Snapshot::HasAncestor(Ref<Snapshot> other)

Callers

nothing calls this directly

Calls 2

DatabaseExceptionClass · 0.85
GetObjectMethod · 0.45

Tested by

no test coverage detected