diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/perk/perk_meta.h | 28 |
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]; |