summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-01 08:29:34 -0500
committermidipix <writeonce@midipix.org>2016-12-01 08:29:34 -0500
commitf845bd25e705125bb60762f9ac43fba1aaef1cdc (patch)
tree72bfc66d208e6835978bc6357c0a3b9b85ab3a7c /include
parent44d09635402c850ef7174626c119e1200eb7099a (diff)
downloadperk-f845bd25e705125bb60762f9ac43fba1aaef1cdc.tar.bz2
perk-f845bd25e705125bb60762f9ac43fba1aaef1cdc.tar.xz
{union|struct} pe_{raw|meta}_import_lookup: member name normalization.
Diffstat (limited to 'include')
-rw-r--r--include/perk/perk_meta.h14
-rw-r--r--include/perk/perk_structs.h8
2 files changed, 11 insertions, 11 deletions
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 */
};