summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-30 19:09:35 -0500
committermidipix <writeonce@midipix.org>2016-11-30 19:09:35 -0500
commitda15f0c6fa6f1feed4951a5415d68e3de2b144a8 (patch)
tree275be2a454851e31e1bd74e0da0a974a19caa10c /include
parent511ffa02175b10bf934f57e95f77e3a410d587fb (diff)
downloadperk-da15f0c6fa6f1feed4951a5415d68e3de2b144a8.tar.bz2
perk-da15f0c6fa6f1feed4951a5415d68e3de2b144a8.tar.xz
struct pe_{raw|meta}_coff_file_hdr: member name normalization.
Diffstat (limited to 'include')
-rw-r--r--include/perk/perk_meta.h20
-rw-r--r--include/perk/perk_structs.h16
2 files changed, 18 insertions, 18 deletions
diff --git a/include/perk/perk_meta.h b/include/perk/perk_meta.h
index b3b5411..1f2c2cf 100644
--- a/include/perk/perk_meta.h
+++ b/include/perk/perk_meta.h
@@ -71,16 +71,16 @@ struct pe_meta_image_dos_hdr {
/* pe/coff file header */
struct pe_meta_coff_file_hdr {
- unsigned char signature[4];
- uint16_t machine;
- uint16_t num_of_sections;
- uint32_t time_date_stamp;
- uint32_t ptr_to_sym_tbl;
- uint32_t num_of_syms;
- uint16_t size_of_opt_hdr;
- uint16_t characteristics;
- uint32_t ptr_to_string_tbl;
- uint32_t size_of_string_tbl;
+ unsigned char cfh_signature[4];
+ uint16_t cfh_machine;
+ uint16_t cfh_num_of_sections;
+ uint32_t cfh_time_date_stamp;
+ uint32_t cfh_ptr_to_sym_tbl;
+ uint32_t cfh_num_of_syms;
+ uint16_t cfh_size_of_opt_hdr;
+ uint16_t cfh_characteristics;
+ uint32_t cfh_ptr_to_str_tbl;
+ uint32_t cfh_size_of_str_tbl;
};
diff --git a/include/perk/perk_structs.h b/include/perk/perk_structs.h
index 2875daa..692c4ab 100644
--- a/include/perk/perk_structs.h
+++ b/include/perk/perk_structs.h
@@ -29,14 +29,14 @@ struct pe_raw_image_dos_hdr {
struct pe_raw_coff_file_hdr {
- unsigned char signature [0x04]; /* 0x00 */
- unsigned char machine [0x02]; /* 0x04 */
- unsigned char num_of_sections [0x02]; /* 0x06 */
- unsigned char time_date_stamp [0x04]; /* 0x08 */
- unsigned char ptr_to_sym_tbl [0x04]; /* 0x0c */
- unsigned char num_of_syms [0x04]; /* 0x10 */
- unsigned char size_of_opt_hdr [0x02]; /* 0x14 */
- unsigned char characteristics [0x02]; /* 0x16 */
+ unsigned char cfh_signature [0x04]; /* 0x00 */
+ unsigned char cfh_machine [0x02]; /* 0x04 */
+ unsigned char cfh_num_of_sections [0x02]; /* 0x06 */
+ unsigned char cfh_time_date_stamp [0x04]; /* 0x08 */
+ unsigned char cfh_ptr_to_sym_tbl [0x04]; /* 0x0c */
+ unsigned char cfh_num_of_syms [0x04]; /* 0x10 */
+ unsigned char cfh_size_of_opt_hdr [0x02]; /* 0x14 */
+ unsigned char cfh_characteristics [0x02]; /* 0x16 */
};