5#include "../linker/reader.h"
6#include "../linker/segment_manager.h"
7#include "../linker/writer.h"
20 offset_t file_offset = 0;
27 static constexpr uint16_t FLAG_COMPRESSED = 0x0001;
29 uint32_t eip_object = 0;
31 uint32_t esp_object = 0;
33 uint32_t object_table_offset = 0;
34 uint32_t relocation_table_offset = 0;
35 uint32_t data_offset = 0;
45 uint8_t target_object = 0;
46 uint32_t target_offset = 0;
49 uint32_t memory_size = 0;
50 uint32_t file_size = 0;
52 uint32_t relocation_offset = 0;
53 uint32_t relocation_count = 0;
54 uint32_t image_size = 0;
55 std::shared_ptr<Linker::Image> image;
56 std::vector<Relocation> relocations;
58 std::vector<Object> objects;
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 helper class to collect sections into segments.
Definition segment_manager.h:32
A helper class, encapsulating functionality needed to export binary data.
Definition writer.h:15