| 83 | } |
| 84 | |
| 85 | std::shared_ptr<ObjCReader> SharedCacheObjCProcessor::GetReader() |
| 86 | { |
| 87 | const auto controller = DSC::SharedCacheController::FromView(*m_data); |
| 88 | // TODO: This should never happen. |
| 89 | if (!controller) |
| 90 | throw std::runtime_error("SharedCacheController not found for SharedCacheObjCProcessor::GetReader!"); |
| 91 | auto reader = VirtualMemoryReader(controller->GetCache().GetVirtualMemory(), m_data->GetAddressSize()); |
| 92 | return std::make_shared<SharedCacheObjCReader>(reader); |
| 93 | } |
| 94 | |
| 95 | void SharedCacheObjCProcessor::GetRelativeMethod(ObjCReader* reader, method_t& meth) |
| 96 | { |
nothing calls this directly
no test coverage detected