summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-01 21:22:49 -0500
committermidipix <writeonce@midipix.org>2016-12-01 21:22:49 -0500
commit982672e537f7dd26e875755f3c20f81e6bf7ba65 (patch)
tree3aaa9e75021029867ade326f72bdf1ef44976afc /include
parentf845bd25e705125bb60762f9ac43fba1aaef1cdc (diff)
downloadperk-982672e537f7dd26e875755f3c20f81e6bf7ba65.tar.bz2
perk-982672e537f7dd26e875755f3c20f81e6bf7ba65.tar.xz
struct pe_{raw|meta}_import_hdr: member name normalization.
Diffstat (limited to 'include')
-rw-r--r--include/perk/perk_meta.h18
-rw-r--r--include/perk/perk_structs.h10
2 files changed, 14 insertions, 14 deletions
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 */
};