From 4dc3a41d1a3743c8038277568ea9bc21ae640308 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 2 Dec 2016 17:34:58 -0500 Subject: struct pe_raw_import_hdr: fix logical position within perk_structs.h. --- include/perk/perk_structs.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'include/perk/perk_structs.h') diff --git a/include/perk/perk_structs.h b/include/perk/perk_structs.h index 9cc687e..f7752ff 100644 --- a/include/perk/perk_structs.h +++ b/include/perk/perk_structs.h @@ -264,14 +264,6 @@ union pe_raw_export_addr_tbl { }; -union pe_raw_import_lookup { - 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 */ -}; - - struct pe_raw_import_hdr { unsigned char ih_import_lookup_tbl_rva [0x04]; /* 0x00 */ unsigned char ih_time_date_stamp [0x04]; /* 0x04 */ @@ -281,6 +273,14 @@ struct pe_raw_import_hdr { }; +union pe_raw_import_lookup { + 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 */ +}; + + struct pe_raw_hint_name_entry { unsigned char ii_hint [0x02]; /* 0x00 */ unsigned char ii_name [0x02]; /* 0x02 */ -- cgit v1.2.3