From f845bd25e705125bb60762f9ac43fba1aaef1cdc Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 1 Dec 2016 08:29:34 -0500 Subject: {union|struct} pe_{raw|meta}_import_lookup: member name normalization. --- include/perk/perk_meta.h | 14 +++++++------- include/perk/perk_structs.h | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'include') diff --git a/include/perk/perk_meta.h b/include/perk/perk_meta.h index 26c811e..55d5fc4 100644 --- a/include/perk/perk_meta.h +++ b/include/perk/perk_meta.h @@ -222,15 +222,15 @@ union pe_meta_export_addr_tbl { /* image: import table entry lookup item */ struct pe_meta_import_lookup { union { - uint64_t import_lookup_entry_64; - uint32_t import_lookup_entry_32; - uint32_t hint_name_tbl_rva; - uint16_t ordinal_number; + uint64_t ii_import_lookup_entry_64; + uint32_t ii_import_lookup_entry_32; + uint32_t ii_hint_name_tbl_rva; + uint16_t ii_ordinal_number; } u; - uint32_t flags; - uint16_t hint; - char * name; + uint32_t ii_flags; + uint16_t ii_hint; + char * ii_name; }; diff --git a/include/perk/perk_structs.h b/include/perk/perk_structs.h index 28ac5a7..deb3adb 100644 --- a/include/perk/perk_structs.h +++ b/include/perk/perk_structs.h @@ -265,10 +265,10 @@ union pe_raw_export_addr_tbl { union pe_raw_import_lookup { - unsigned char import_lookup_entry_64 [0x08]; /* 0x00 */ - unsigned char import_lookup_entry_32 [0x04]; /* 0x00 */ - unsigned char hint_name_tbl_rva [0x04]; /* 0x00 */ - unsigned char ordinal_number [0x02]; /* 0x00 */ + unsigned char ii_import_lookup_entry_64 [0x08]; /* 0x00 */ + unsigned char ii_import_lookup_entry_32 [0x04]; /* 0x00 */ + unsigned char ii_hint_name_tbl_rva [0x04]; /* 0x00 */ + unsigned char ii_ordinal_number [0x02]; /* 0x00 */ }; -- cgit v1.2.3