summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-30 19:59:44 -0500
committermidipix <writeonce@midipix.org>2016-11-30 19:59:44 -0500
commitb6ce09976af9f8fe50846806296d4c2b7fccda10 (patch)
treed5af880de408020ee8340823981efc48b2a33dcb /include
parent9fdefdbcf17d60170da462a8c65ad0f863b3f465 (diff)
downloadperk-b6ce09976af9f8fe50846806296d4c2b7fccda10.tar.bz2
perk-b6ce09976af9f8fe50846806296d4c2b7fccda10.tar.xz
struct pe_{raw|meta}_opt_hdr_img: member name normalization.
Diffstat (limited to 'include')
-rw-r--r--include/perk/perk_meta.h10
-rw-r--r--include/perk/perk_structs.h10
2 files changed, 10 insertions, 10 deletions
diff --git a/include/perk/perk_meta.h b/include/perk/perk_meta.h
index 24086d4..4acb5dd 100644
--- a/include/perk/perk_meta.h
+++ b/include/perk/perk_meta.h
@@ -112,11 +112,11 @@ struct pe_meta_opt_hdr_vers {
};
struct pe_meta_opt_hdr_img {
- uint32_t size_of_image;
- uint32_t size_of_headers;
- uint32_t checksum;
- uint16_t subsystem;
- uint16_t dll_characteristics;
+ uint32_t coh_size_of_image;
+ uint32_t coh_size_of_headers;
+ uint32_t coh_checksum;
+ uint16_t coh_subsystem;
+ uint16_t coh_dll_characteristics;
};
struct pe_meta_opt_hdr_ldr {
diff --git a/include/perk/perk_structs.h b/include/perk/perk_structs.h
index c942f47..c520da3 100644
--- a/include/perk/perk_structs.h
+++ b/include/perk/perk_structs.h
@@ -67,11 +67,11 @@ struct pe_raw_opt_hdr_vers {
};
struct pe_raw_opt_hdr_img {
- unsigned char size_of_image [0x04]; /* 0x38 */
- unsigned char size_of_headers [0x04]; /* 0x3c */
- unsigned char checksum [0x04]; /* 0x40 */
- unsigned char subsystem [0x02]; /* 0x44 */
- unsigned char dll_characteristics [0x02]; /* 0x46 */
+ unsigned char coh_size_of_image [0x04]; /* 0x38 */
+ unsigned char coh_size_of_headers [0x04]; /* 0x3c */
+ unsigned char coh_checksum [0x04]; /* 0x40 */
+ unsigned char coh_subsystem [0x02]; /* 0x44 */
+ unsigned char coh_dll_characteristics [0x02]; /* 0x46 */
};
struct pe_raw_opt_hdr_ldr {