15 KDirectFileStoreLayoutUid = 0x10000037,
16 KPermanentFileStoreLayoutUid = 0x10000050,
17 KDynamicLibraryUid = 0x10000079,
18 KExecutableImageUid = 0x1000007A,
20 executable_type uid1 = executable_type(0);
25 _OPLObjectModule = 0x10000073,
26 _OPLApplication = 0x10000074,
27 KUidAppDllDoc = 0x10003A12,
28 KUidAppInfoFile = 0x10003A38,
30 _OPLExtensions = 0x1000005D,
31 _Application = 0x1000006C,
32 KSharedLibraryUid = 0x1000008D,
33 KLogicalDeviceDriverUid8 = 0x100000AE,
34 KLogicalDeviceDriverUid16 = 0x100000AF,
36 KPhysicalDeviceDriverUid16 = 0x100039D0,
37 KPhysicalDeviceDriverUid8 = 0x100000AD,
39 KMachineConfigurationUid = 0x100000F4,
40 KLocaleDllUid16 = 0x100039E6,
41 KLocaleDllUid8 = 0x100000C3,
42 KKeyboardUid = 0x100000DB,
43 KEka1EntryStubUid = 0x101FDF0F,
44 KKeyboardDataUid16 = 0x100039E0,
45 KKeyboardDataUid8 = 0x100000DC,
46 KKeyboardTranUid16 = 0x100039E1,
47 KKeyboardTranUid8 = 0x100000DD,
48 KConsoleDllUid16 = 0x100039E7,
49 KConsoleDllUid8 = 0x100000C5,
50 KSystemStartupModeKey = 0x10204BB5,
51 KSystemEmulatorOrientationKey = 0x10204BB6,
52 KServerProcessUid = 0x1000008C,
53 KFileSystemUid = 0x1000008F,
54 KFileServerUid = 0x100000BB,
55 KLocalFileSystemUid = 0x100000D6,
56 KFileServerDllUid = 0x100000BD,
58 application_type uid2 = application_type(0);
61 uint32_t uid_checksum = 0;
63 bool new_format =
true;
74 cpu_type cpu = ECpuUnknown;
76 uint32_t header_crc = 0;
79 uint32_t code_checksum;
80 uint32_t module_version;
84 uint32_t data_checksum;
85 uint32_t compression_type;
88 uint32_t tool_version;
93 flags_type flags = flags_type(0);
94 uint32_t heap_size_min = 0;
95 uint32_t heap_size_max = 0;
96 uint32_t stack_size = 0;
97 uint32_t bss_size = 0;
98 uint32_t entry_point = 0;
99 uint32_t code_address = 0;
100 uint32_t data_address = 0;
101 uint32_t export_table_offset = 0;
102 uint32_t import_table_offset = 0;
103 uint32_t code_offset = 0;
104 uint32_t data_offset = 0;
105 uint32_t import_offset = 0;
106 uint32_t code_relocation_offset = 0;
107 uint32_t data_relocation_offset = 0;
108 uint32_t process_priority = 0;
111 uint32_t uncompressed_size = 0;
112 uint32_t secure_id = 0;
113 uint32_t vendor_id = 0;
118 std::array<capability_type, 2> capabilities;
119 uint32_t exception_descriptor = 0;
120 uint8_t export_description_type = 0;
121 std::vector<uint8_t> export_description;
123 std::shared_ptr<Linker::Image> code, data;
127 uint32_t name_offset = 0;
128 std::vector<uint32_t> imports;
131 std::vector<ImportBlock> dll_reference_table;
132 uint32_t dll_reference_table_size = 0;
143 relocation_type type = relocation_type(0);
148 uint32_t page_offset = 0;
149 std::vector<Relocation> relocations;
154 std::vector<RelocationBlock> blocks;
155 uint32_t GetSize()
const;
156 uint32_t GetCount()
const;
162 : code_checksum(0), data_checksum(0)