summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-02 17:44:35 -0500
committermidipix <writeonce@midipix.org>2016-12-02 17:44:35 -0500
commit811043abc8617e1946a076f6d3b380530ce9edcf (patch)
treedebd73a60579e6b810729fb6c088cbba10c12789
parentf85420e809f96d08a97dae481da8e2c5f1cbadd1 (diff)
downloadperk-811043abc8617e1946a076f6d3b380530ce9edcf.tar.bz2
perk-811043abc8617e1946a076f6d3b380530ce9edcf.tar.xz
struct pe_meta_import_hdr: fix logical position within perk_structs.h.
-rw-r--r--include/perk/perk_meta.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/include/perk/perk_meta.h b/include/perk/perk_meta.h
index a267a04..eb05897 100644
--- a/include/perk/perk_meta.h
+++ b/include/perk/perk_meta.h
@@ -219,6 +219,20 @@ union pe_meta_export_addr_tbl {
};
+/* image: import directory table entry */
+struct pe_meta_import_hdr {
+ 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;
+};
+
+
/* image: import table entry lookup item */
struct pe_meta_import_lookup {
union {
@@ -234,20 +248,6 @@ struct pe_meta_import_lookup {
};
-/* image: import directory table entry */
-struct pe_meta_import_hdr {
- 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;
-};
-
-
/* coff: symbol table entry */
struct pe_meta_coff_symbol {
char cs_name[24];