5#include "../linker/linker.h"
6#include "../linker/section.h"
24 Linker::FatalError(
"Fatal error: 3.5 format unimplemented");
29 uint16_t minimum_dos_version = 0;
30 uint16_t dlink_version = 0;
31 uint32_t image_size = 0;
32 uint32_t header_size = 0;
33 uint32_t extra_memory_size = 0;
36 std::set<uint32_t> relocations;
38 uint32_t relocation_start = 0;
42 std::shared_ptr<Linker::Writable> image;
46 FLAG_COMPRESSED = 0x0001,
47 FLAG_DISPLAY_LOGO = 0x0002,
66 uint32_t header_size = 0;
67 uint32_t binary_size = 0;
68 uint32_t extra_size = 0;
70 uint32_t stack_top = 0;
100 uint32_t extra_memory_size = 0;
101 std::shared_ptr<Linker::Writable> image;
108 void SetSignature(format_type type);
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