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

Function BNKCViewGetInstallNames

view/kernelcache/core/KernelCache.cpp:2177–2193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2175 }
2176
2177 char** BNKCViewGetInstallNames(BNKernelCache* cache, size_t* count)
2178 {
2179 if (cache->object)
2180 {
2181 auto value = cache->object->GetAvailableImages();
2182 *count = value.size();
2183
2184 std::vector<const char*> cstrings;
2185 for (size_t i = 0; i < value.size(); i++)
2186 {
2187 cstrings.push_back(value[i].c_str());
2188 }
2189 return BNAllocStringList(cstrings.data(), cstrings.size());
2190 }
2191 *count = 0;
2192 return nullptr;
2193 }
2194
2195 BNKCSymbolRep* BNKCViewLoadAllSymbolsAndWait(BNKernelCache* cache, size_t* count)
2196 {

Callers 1

GetAvailableImagesMethod · 0.85

Calls 5

push_backMethod · 0.80
c_strMethod · 0.80
GetAvailableImagesMethod · 0.45
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected