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

Function BNSharedCacheControllerGetEntries

view/sharedcache/core/ffi.cpp:407–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405 }
406
407 BNSharedCacheEntry* BNSharedCacheControllerGetEntries(BNSharedCacheController* controller, size_t* count)
408 {
409 const auto& entries = controller->object->GetCache().GetEntries();
410 *count = entries.size();
411 BNSharedCacheEntry* apiEntries = new BNSharedCacheEntry[*count];
412 for (size_t i = 0; i < *count; i++)
413 apiEntries[i] = EntryToApi(entries[i]);
414 return apiEntries;
415 }
416
417 void BNSharedCacheFreeEntry(BNSharedCacheEntry entry)
418 {

Callers 1

GetEntriesMethod · 0.85

Calls 3

GetEntriesMethod · 0.80
EntryToApiFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected