summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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 */
};