8#include "format/arch.h"
20 std::shared_ptr<Linker::OutputFormat> (* produce)();
21 std::string documentation;
25extern const size_t formats_size;
58 FORMAT_MACHO_MULTIPLE,
88 std::string description;
103std::shared_ptr<Linker::OutputFormat> FetchFormat(std::string text);
108void DetermineFormat(std::vector<format_description>& descriptions,
Linker::Reader& rd, uint32_t offset = 0);
110std::shared_ptr<Linker::Image> ReadArchiveFile(
Linker::Reader& rd, offset_t size);
111std::shared_ptr<Linker::Image> ReadLibraryFile(
Linker::Reader& rd, offset_t size);
120std::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