summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/perk/perk_meta.h16
-rw-r--r--include/perk/perk_structs.h16
2 files changed, 16 insertions, 16 deletions
diff --git a/include/perk/perk_meta.h b/include/perk/perk_meta.h
index 1f2c2cf..3ba97aa 100644
--- a/include/perk/perk_meta.h
+++ b/include/perk/perk_meta.h
@@ -86,14 +86,14 @@ struct pe_meta_coff_file_hdr {
/* image optional header */
struct pe_meta_opt_hdr_std {
- uint16_t magic;
- uint8_t major_linker_ver;
- uint8_t minor_linker_ver;
- uint32_t size_of_code;
- uint32_t size_of_initialized_data;
- uint32_t size_of_uninitialized_data;
- uint32_t entry_point;
- uint32_t base_of_code;
+ uint16_t coh_magic;
+ uint8_t coh_major_linker_ver;
+ uint8_t coh_minor_linker_ver;
+ uint32_t coh_size_of_code;
+ uint32_t coh_size_of_inited_data;
+ uint32_t coh_size_of_uninited_data;
+ uint32_t coh_entry_point;
+ uint32_t coh_base_of_code;
};
struct pe_meta_opt_hdr_vers {
diff --git a/include/perk/perk_structs.h b/include/perk/perk_structs.h
index 692c4ab..b81f831 100644
--- a/include/perk/perk_structs.h
+++ b/include/perk/perk_structs.h
@@ -41,14 +41,14 @@ struct pe_raw_coff_file_hdr {
struct pe_raw_opt_hdr_std {
- unsigned char magic [0x02]; /* 0x00 */
- unsigned char major_linker_ver [0x01]; /* 0x02 */
- unsigned char minor_linker_ver [0x01]; /* 0x03 */
- unsigned char size_of_code [0x04]; /* 0x04 */
- unsigned char size_of_initialized_data [0x04]; /* 0x08 */
- unsigned char size_of_uninitialized_data [0x04]; /* 0x0c */
- unsigned char entry_point [0x04]; /* 0x10 */
- unsigned char base_of_code [0x04]; /* 0x14 */
+ unsigned char coh_magic [0x02]; /* 0x00 */
+ unsigned char coh_major_linker_ver [0x01]; /* 0x02 */
+ unsigned char coh_minor_linker_ver [0x01]; /* 0x03 */
+ unsigned char coh_size_of_code [0x04]; /* 0x04 */
+ unsigned char coh_size_of_inited_data [0x04]; /* 0x08 */
+ unsigned char coh_size_of_uninited_data [0x04]; /* 0x0c */
+ unsigned char coh_entry_point [0x04]; /* 0x10 */
+ unsigned char coh_base_of_code [0x04]; /* 0x14 */
};
struct pe_raw_opt_hdr_align {