From 982672e537f7dd26e875755f3c20f81e6bf7ba65 Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 1 Dec 2016 21:22:49 -0500 Subject: struct pe_{raw|meta}_import_hdr: member name normalization. --- include/perk/perk_meta.h | 18 +++++++++--------- include/perk/perk_structs.h | 10 +++++----- 2 files changed, 14 insertions(+), 14 deletions(-) (limited to 'include') diff --git a/include/perk/perk_meta.h b/include/perk/perk_meta.h index 55d5fc4..b743196 100644 --- a/include/perk/perk_meta.h +++ b/include/perk/perk_meta.h @@ -236,15 +236,15 @@ struct pe_meta_import_lookup { /* image: import directory table entry */ struct pe_meta_import_hdr { - uint32_t import_lookup_tbl_rva; - uint32_t time_date_stamp; - uint32_t forwarder_chain; - uint32_t name_rva; - uint32_t import_addr_tbl_rva; - uint32_t count; - char * name; - struct pe_meta_import_lookup * items; - union pe_raw_import_lookup * aitems; + uint32_t ih_import_lookup_tbl_rva; + uint32_t ih_time_date_stamp; + uint32_t ih_forwarder_chain; + uint32_t ih_name_rva; + uint32_t ih_import_addr_tbl_rva; + uint32_t ih_count; + char * ih_name; + struct pe_meta_import_lookup * ih_items; + union pe_raw_import_lookup * ih_aitems; }; diff --git a/include/perk/perk_structs.h b/include/perk/perk_structs.h index deb3adb..8835b87 100644 --- a/include/perk/perk_structs.h +++ b/include/perk/perk_structs.h @@ -273,11 +273,11 @@ union pe_raw_import_lookup { struct pe_raw_import_hdr { - unsigned char import_lookup_tbl_rva [0x04]; /* 0x00 */ - unsigned char time_date_stamp [0x04]; /* 0x04 */ - unsigned char forwarder_chain [0x04]; /* 0x08 */ - unsigned char name_rva [0x04]; /* 0x0c */ - unsigned char import_addr_tbl_rva [0x04]; /* 0x10 */ + unsigned char ih_import_lookup_tbl_rva [0x04]; /* 0x00 */ + unsigned char ih_time_date_stamp [0x04]; /* 0x04 */ + unsigned char ih_forwarder_chain [0x04]; /* 0x08 */ + unsigned char ih_name_rva [0x04]; /* 0x0c */ + unsigned char ih_import_addr_tbl_rva [0x04]; /* 0x10 */ }; -- cgit v1.2.3