diff options
author | midipix <writeonce@midipix.org> | 2016-12-02 17:34:25 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-12-02 17:34:25 -0500 |
commit | 982a7bd66a56ec4f1e2d9989990228079653a9b8 (patch) | |
tree | 476320844940e0e33a096ebc04cac7bdf9b5e53a | |
parent | 94ea9e1c41db362a313fb24603e5def231ddb252 (diff) | |
download | pemagine-982a7bd66a56ec4f1e2d9989990228079653a9b8.tar.bz2 pemagine-982a7bd66a56ec4f1e2d9989990228079653a9b8.tar.xz |
struct pe_raw_import_hdr: fix logical position within pe_structs.h.
-rw-r--r-- | include/pemagine/pe_structs.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/pemagine/pe_structs.h b/include/pemagine/pe_structs.h index 27a9b6b..df03168 100644 --- a/include/pemagine/pe_structs.h +++ b/include/pemagine/pe_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 */ |