From 811043abc8617e1946a076f6d3b380530ce9edcf Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 2 Dec 2016 17:44:35 -0500 Subject: struct pe_meta_import_hdr: fix logical position within perk_structs.h. --- include/perk/perk_meta.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'include') 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]; -- cgit v1.2.3