diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/pemagine/pe_structs.h | 2 | ||||
-rw-r--r-- | include/pemagine/pemagine.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/pemagine/pe_structs.h b/include/pemagine/pe_structs.h index a1886b9..f3e1b14 100644 --- a/include/pemagine/pe_structs.h +++ b/include/pemagine/pe_structs.h @@ -243,7 +243,7 @@ struct pe_raw_sec_hdr { }; -struct pe_export_hdr { +struct pe_raw_export_hdr { unsigned char export_flags [0x04]; /* 0x00 */ unsigned char time_date_stamp [0x04]; /* 0x04 */ unsigned char major_ver [0x02]; /* 0x08 */ diff --git a/include/pemagine/pemagine.h b/include/pemagine/pemagine.h index f427bdb..dee22e5 100644 --- a/include/pemagine/pemagine.h +++ b/include/pemagine/pemagine.h @@ -140,7 +140,7 @@ typedef int pe_enum_modules_callback( typedef int pe_enum_image_exports_callback( const void * base, - struct pe_export_hdr * exp_hdr, + struct pe_raw_export_hdr * exp_hdr, struct pe_export_sym * sym, enum pe_callback_reason reason, void * context); @@ -158,7 +158,7 @@ pe_api union pe_raw_opt_hdr * pe_get_image_opt_hdr_addr (const void * base); pe_api struct pe_raw_data_dirs * pe_get_image_data_dirs_addr (const void * base); pe_api struct pe_raw_sec_hdr * pe_get_image_section_tbl_addr (const void * base); pe_api struct pe_raw_sec_hdr * pe_get_image_named_section_addr (const void * base, const char * name); -pe_api struct pe_export_hdr * pe_get_image_export_hdr_addr (const void * base, uint32_t * sec_size); +pe_api struct pe_raw_export_hdr * pe_get_image_export_hdr_addr (const void * base, uint32_t * sec_size); pe_api struct pe_import_hdr * pe_get_image_import_dir_addr (const void * base, uint32_t * sec_size); pe_api void * pe_get_image_special_hdr_addr (const void * base, uint32_t ordinal, uint32_t * sec_size); pe_api void * pe_get_image_entry_point_addr (const void * base); |