7 #ifndef RETDEC_LOADER_RETDEC_LOADER_MACHO_MACHO_IMAGE_H
8 #define RETDEC_LOADER_RETDEC_LOADER_MACHO_MACHO_IMAGE_H
10 #include <unordered_map>
20 using SectionList = std::vector<const retdec::fileformat::MachOSection*>;
23 MachOImage(
const std::shared_ptr<retdec::fileformat::FileFormat>& fileFormat);
25 virtual bool load()
override;
Definition: macho_image.h:19
virtual bool load() override
Definition: macho_image.cpp:23
bool loadExecutableFile()
Definition: macho_image.cpp:59
std::vector< const retdec::fileformat::MachOSection * > SectionList
Definition: macho_image.h:20
bool loadObjectFile()
Definition: macho_image.cpp:41
SegmentToSectionsTable mapSegmentsToSections() const
Definition: macho_image.cpp:94
const Segment * addSegment(const retdec::fileformat::SecSeg *secSeg)
Definition: macho_image.cpp:122
std::unordered_map< std::string, SectionList > SegmentToSectionsTable
Definition: macho_image.h:21
MachOImage(const std::shared_ptr< retdec::fileformat::FileFormat > &fileFormat)
Definition: macho_image.cpp:13
Declaration of loadable image class.
Definition: archive_wrapper.h:19