| 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 | { |
nothing calls this directly
no test coverage detected