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

Function EntryFromApi

view/sharedcache/api/sharedcache.cpp:92–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92CacheEntry EntryFromApi(BNSharedCacheEntry apiEntry)
93{
94 CacheEntry entry {};
95 entry.path = apiEntry.path;
96 entry.name = apiEntry.name;
97 entry.entryType = apiEntry.entryType;
98 entry.mappings.reserve(apiEntry.mappingCount);
99 for (size_t i = 0; i < apiEntry.mappingCount; i++)
100 entry.mappings.push_back(MappingFromApi(apiEntry.mappings[i]));
101 return entry;
102}
103
104CacheSymbol SymbolFromApi(BNSharedCacheSymbol apiSymbol)
105{

Callers 1

GetEntriesMethod · 0.85

Calls 2

MappingFromApiFunction · 0.85
push_backMethod · 0.80

Tested by

no test coverage detected