18 class ModuleCollector;
30 Format(offset_t file_offset = 0)
31 : file_offset(file_offset)
54 offset_t
WriteFile(
Writer& wr, offset_t count, offset_t offset = 0)
const override;
70 virtual void SetOptions(std::map<std::string, std::string>& options);
75 std::optional<std::string>
FetchOption(std::map<std::string, std::string>& options, std::string name);
80 std::string
FetchOption(std::map<std::string, std::string>& options, std::string name, std::string default_value);
85 std::optional<offset_t>
FetchIntegerOption(std::map<std::string, std::string>& options, std::string name);
90 virtual void SetModel(std::string model);
94 virtual void SetLinkScript(std::string script_file, std::map<std::string, std::string>& options);
159 virtual unsigned FormatAdditionalSectionFlags(std::string section_name)
const;
172 virtual void SetupOptions(std::shared_ptr<OutputFormat> format);
An abstract interface that separates structure and presentation of the data inside a file.
Definition dumper.h:586
Represents an abstract data image whose data can be written to a file.
Definition image.h:17
Helper class that collects object files and libraries, and includes library objects for required symb...
Definition module_collector.h:19
Encodes an object module file as a collection of sections, symbols and relocations.
Definition module.h:24
A helper class, encapsulating functionality needed to import binary data.
Definition reader.h:16
A helper class, encapsulating functionality needed to export binary data.
Definition writer.h:15