From d1e52dbb6e080d5ee8456ed686f5d4026370c7b4 Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 1 Dec 2016 08:13:48 -0500 Subject: struct pe_{raw|meta}_export_hdr: member name normalization. --- include/perk/perk_meta.h | 22 +++++++++++----------- include/perk/perk_structs.h | 22 +++++++++++----------- 2 files changed, 22 insertions(+), 22 deletions(-) (limited to 'include/perk') diff --git a/include/perk/perk_meta.h b/include/perk/perk_meta.h index 9181782..1646bb0 100644 --- a/include/perk/perk_meta.h +++ b/include/perk/perk_meta.h @@ -198,17 +198,17 @@ struct pe_meta_sec_hdr { /* .edata section header*/ struct pe_meta_export_hdr { - uint32_t export_flags; - uint32_t time_date_stamp; - uint16_t major_ver; - uint16_t minor_ver; - uint32_t name_rva; - uint32_t ordinal_base; - uint32_t addr_tbl_entries; - uint32_t num_of_name_ptrs; - uint32_t export_addr_tbl_rva; - uint32_t name_ptr_rva; - uint32_t ordinal_tbl_rva; + uint32_t eh_export_flags; + uint32_t eh_time_date_stamp; + uint16_t eh_major_ver; + uint16_t eh_minor_ver; + uint32_t eh_name_rva; + uint32_t eh_ordinal_base; + uint32_t eh_addr_tbl_entries; + uint32_t eh_num_of_name_ptrs; + uint32_t eh_export_addr_tbl_rva; + uint32_t eh_name_ptr_rva; + uint32_t eh_ordinal_tbl_rva; }; diff --git a/include/perk/perk_structs.h b/include/perk/perk_structs.h index 0256030..7e03d4e 100644 --- a/include/perk/perk_structs.h +++ b/include/perk/perk_structs.h @@ -244,17 +244,17 @@ struct pe_raw_sec_hdr { struct pe_raw_export_hdr { - unsigned char export_flags [0x04]; /* 0x00 */ - unsigned char time_date_stamp [0x04]; /* 0x04 */ - unsigned char major_ver [0x02]; /* 0x08 */ - unsigned char minor_ver [0x02]; /* 0x0a */ - unsigned char name_rva [0x04]; /* 0x0c */ - unsigned char ordinal_base [0x04]; /* 0x10 */ - unsigned char addr_tbl_entries [0x04]; /* 0x14 */ - unsigned char num_of_name_ptrs [0x04]; /* 0x18 */ - unsigned char export_addr_tbl_rva [0x04]; /* 0x1c */ - unsigned char name_ptr_rva [0x04]; /* 0x20 */ - unsigned char ordinal_tbl_rva [0x04]; /* 0x24 */ + unsigned char eh_export_flags [0x04]; /* 0x00 */ + unsigned char eh_time_date_stamp [0x04]; /* 0x04 */ + unsigned char eh_major_ver [0x02]; /* 0x08 */ + unsigned char eh_minor_ver [0x02]; /* 0x0a */ + unsigned char eh_name_rva [0x04]; /* 0x0c */ + unsigned char eh_ordinal_base [0x04]; /* 0x10 */ + unsigned char eh_addr_tbl_entries [0x04]; /* 0x14 */ + unsigned char eh_num_of_name_ptrs [0x04]; /* 0x18 */ + unsigned char eh_export_addr_tbl_rva [0x04]; /* 0x1c */ + unsigned char eh_name_ptr_rva [0x04]; /* 0x20 */ + unsigned char eh_ordinal_tbl_rva [0x04]; /* 0x24 */ }; -- cgit v1.2.3