8#include "format/arch.h"
20 std::shared_ptr<Linker::Format> (* produce)();
21 std::string documentation;
25extern const size_t formats_size;
59 FORMAT_MACHO_MULTIPLE,
96 std::string description;
98 format_priority priority;
112std::shared_ptr<Linker::Format> FetchFormat(std::string text);
117void DetermineFormat(std::vector<format_description>& descriptions,
Linker::Reader& rd, uint32_t offset = 0);
119std::shared_ptr<Linker::Image> ReadArchiveFile(
Linker::Reader& rd, offset_t size);
120std::shared_ptr<Linker::Image> ReadLibraryFile(
Linker::Reader& rd, offset_t size);
129std::shared_ptr<Linker::Format> CreateFormat(
Linker::Reader& rd,
format_description& file_format, Archive::ArchiveFormat::file_reader_type * file_reader = ReadArchiveFile);
A helper class, encapsulating functionality needed to import binary data.
Definition reader.h:16