MCPcopy Create free account
hub / github.com/Kudaes/Dumpy / IMAGE_OPTIONAL_HEADER64

Class IMAGE_OPTIONAL_HEADER64

dumpy/data/src/lib.rs:134–165  ·  view source on GitHub ↗

required to keep fields order, otherwise Rust may change that order randomly

Source from the content-addressed store, hash-verified

132#[derive(Copy, Clone,Default)]
133#[repr(C)] // required to keep fields order, otherwise Rust may change that order randomly
134pub struct IMAGE_OPTIONAL_HEADER64 {
135 pub magic: u16,
136 pub major_linker_version: u8,
137 pub minor_linker_version: u8,
138 pub size_of_code: u32,
139 pub size_of_initialized_data: u32,
140 pub size_of_unitialized_data: u32,
141 pub address_of_entry_point: u32,
142 pub base_of_code: u32,
143 pub image_base: u64,
144 pub section_alignment: u32,
145 pub file_alignment: u32,
146 pub major_operating_system_version: u16,
147 pub minor_operating_system_version: u16,
148 pub major_image_version: u16,
149 pub minor_image_version: u16,
150 pub major_subsystem_version: u16,
151 pub minor_subsystem_version: u16,
152 pub win32_version_value: u32,
153 pub size_of_image: u32,
154 pub size_of_headers: u32,
155 pub checksum: u32,
156 pub subsystem: u16,
157 pub dll_characteristics: u16,
158 pub size_of_stack_reserve: u64,
159 pub size_of_stack_commit: u64,
160 pub size_of_heap_reserve: u64,
161 pub size_of_heap_commit: u64,
162 pub loader_flags: u32,
163 pub number_of_rva_and_sizes: u32,
164 pub datas_directory: [IMAGE_DATA_DIRECTORY; 16],
165}
166
167#[derive(Copy, Clone, Default, PartialEq, Debug, Eq)]
168#[repr(C)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected