Current usages of the slide info are: - Reading export symbols requires slide info to be processed. - Reading objc stuff - Loading an image or region - Reading branch island mappings????
| 25 | // - Loading an image or region |
| 26 | // - Reading branch island mappings???? |
| 27 | class SlideInfoProcessor |
| 28 | { |
| 29 | BinaryNinja::Ref<BinaryNinja::Logger> m_logger; |
| 30 | // Base address of the shared cache, NOT the base address of the entry. |
| 31 | uint64_t m_baseAddress; |
| 32 | |
| 33 | public: |
| 34 | explicit SlideInfoProcessor(uint64_t baseAddress); |
| 35 | |
| 36 | std::vector<SlideMappingInfo> ReadEntryInfo(const MappedFileAccessor& accessor, const CacheEntry& entry) const; |
| 37 | |
| 38 | // Write the slide information back to the entries memory mapped regions. |
| 39 | void ApplyMappings(MappedFileAccessor& accessor, const std::vector<SlideMappingInfo>& mappings) const; |
| 40 | |
| 41 | std::vector<SlideMappingInfo> ProcessEntry(MappedFileAccessor& accessor, const CacheEntry& entry) const; |
| 42 | }; |
no outgoing calls
no test coverage detected