diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/perk/perk.h | 4 | ||||
-rw-r--r-- | include/perk/perk_structs.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/perk/perk.h b/include/perk/perk.h index dfd932f..a6ef8ec 100644 --- a/include/perk/perk.h +++ b/include/perk/perk.h @@ -102,9 +102,9 @@ struct pe_image_meta { struct pe_raw_coff_file_hdr * acoff; union pe_raw_opt_hdr * aopt; struct pe_raw_sec_hdr * asectbl; + struct pe_raw_export_hdr * aedata; struct pe_meta_export_hdr edata; - struct pe_export_hdr * aedata; struct pe_meta_sec_hdr * hedata; struct pe_meta_import_hdr * idata; @@ -200,7 +200,7 @@ perk_api int pe_read_dos_header (const struct pe_raw_image_dos_hdr *, struct pe perk_api int pe_read_coff_header (const struct pe_raw_coff_file_hdr *, struct pe_meta_coff_file_hdr *); perk_api int pe_read_optional_header (const union pe_raw_opt_hdr *, struct pe_meta_opt_hdr *); perk_api int pe_read_section_header (const struct pe_raw_sec_hdr *, struct pe_meta_sec_hdr *); -perk_api int pe_read_export_header (const struct pe_export_hdr *, struct pe_meta_export_hdr *); +perk_api int pe_read_export_header (const struct pe_raw_export_hdr *, struct pe_meta_export_hdr *); perk_api int pe_read_import_header (const struct pe_import_hdr *, struct pe_meta_import_hdr *); perk_api int pe_read_coff_symbol (const struct pe_coff_symbol *, struct pe_meta_coff_symbol *, diff --git a/include/perk/perk_structs.h b/include/perk/perk_structs.h index a8aa069..64c83b0 100644 --- a/include/perk/perk_structs.h +++ b/include/perk/perk_structs.h @@ -243,7 +243,7 @@ struct pe_raw_sec_hdr { }; -struct pe_export_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 */ @@ -258,7 +258,7 @@ struct pe_export_hdr { }; -union pe_export_addr_tbl { +union pe_raw_export_addr_tbl { unsigned char export_rva [0x04]; /* 0x00 */ unsigned char forwarder_rva [0x04]; /* 0x00 */ }; |