5#include "../dumper/dumper.h"
6#include "../linker/segment_manager.h"
25 static constexpr uint16_t ROM32 = 0x0107;
26 static constexpr uint16_t EXE32 = 0x010B;
27 static constexpr uint16_t EXE64 = 0x020B;
29 static constexpr offset_t Win32Base = 0x00400000;
30 static constexpr offset_t Dll32Base = 0x10000000;
31 static constexpr offset_t WinCEBase = 0x00010000;
47 uint16_t major, minor;
89 EFIBootServiceDriver = 11,
90 EFIRuntimeDriver = 12,
93 WindowsBootApplication = 16,
127 uint32_t address = 0, size = 0;
136 DirBaseRelocationTable,
144 DirDelayImportDescriptor,
154 bool Is64Bit()
const;
161 uint32_t
GetSize()
const override;
An abstract interface that separates structure and presentation of the data inside a file.
Definition dumper.h:586
A record that represents a region within the file.
Definition dumper.h:485
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