| 224 | } |
| 225 | |
| 226 | std::optional<CacheImage> SharedCacheController::GetImageAt(uint64_t address) const |
| 227 | { |
| 228 | BNSharedCacheImage apiImage; |
| 229 | if (!BNSharedCacheControllerGetImageAt(m_object, address, &apiImage)) |
| 230 | return std::nullopt; |
| 231 | CacheImage image = ImageFromApi(apiImage); |
| 232 | BNSharedCacheFreeImage(apiImage); |
| 233 | return image; |
| 234 | } |
| 235 | |
| 236 | std::optional<CacheImage> SharedCacheController::GetImageContaining(uint64_t address) const |
| 237 | { |
nothing calls this directly
no test coverage detected