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

Method GetAvailableImages

view/kernelcache/api/kernelcache.cpp:34–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 }
33
34 std::vector<std::string> KernelCache::GetAvailableImages()
35 {
36 size_t count;
37 char** value = BNKCViewGetInstallNames(m_object, &count);
38 if (value == nullptr)
39 {
40 return {};
41 }
42
43 std::vector<std::string> result;
44 for (size_t i = 0; i < count; i++)
45 {
46 result.push_back(value[i]);
47 }
48
49 BNFreeStringList(value, count);
50 return result;
51 }
52
53 bool KernelCache::IsImageLoaded(const uint64_t address) const
54 {

Callers

nothing calls this directly

Calls 2

BNKCViewGetInstallNamesFunction · 0.85
push_backMethod · 0.80

Tested by

no test coverage detected