7#include "../dumper/dumper.h"
8#include "../linker/module.h"
9#include "../linker/reader.h"
10#include "../linker/segment.h"
11#include "../linker/writer.h"
29 AppleFormat(uint64_t default_base_address = 0x0803, std::string default_extension =
".bin")
48 AtariFormat(uint64_t default_base_address = 0, std::string default_extension =
".xex")
125 std::shared_ptr<Linker::Image>
image;
186 void OnNewSegment(std::shared_ptr<Linker::Segment> segment)
override;
213 std::shared_ptr<Linker::Segment> loader;
215 void Clear()
override;
222 void SetupDefaultLoader();
260 std::shared_ptr<PRLFormat>
module;
268 void Clear()
override;
280 void SetOptions(std::map<std::string, std::string>& options)
override;
304 std::shared_ptr<Linker::Image> image;
309 std::vector<std::unique_ptr<Segment>> segments;
311 void OnNewSegment(std::shared_ptr<Linker::Segment> segment)
override;
340 PRLFormat(uint64_t default_base_address = 0, std::string default_extension =
".prl")
345 void OnNewSegment(std::shared_ptr<Linker::Segment> segment)
override;
389 std::shared_ptr<Linker::Image> code, data;
391 void OnNewSegment(std::shared_ptr<Linker::Segment> segment)
override;
An abstract interface that separates structure and presentation of the data inside a file.
Definition dumper.h:586
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 representation of a value within some binary data that has to be fixed up once the exact position o...
Definition relocation.h:27
Representing a resolved relocation.
Definition resolution.h:17
A helper class, encapsulating functionality needed to export binary data.
Definition writer.h:15