summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-19 15:03:17 -0500
committermidipix <writeonce@midipix.org>2016-11-19 15:03:17 -0500
commit149cda727007e6bb7f7d191714c5d2961e5c3766 (patch)
tree06fab34589c5d4a6bfe9b1564b31cd0b844228ce /include
parent9089cb43bd0082e5558374d5297e918a801533c3 (diff)
downloadpemagine-149cda727007e6bb7f7d191714c5d2961e5c3766.tar.bz2
pemagine-149cda727007e6bb7f7d191714c5d2961e5c3766.tar.xz
PE format: struct pe_export_hdr [and friends] --> pe_raw_export_hdr.
Diffstat (limited to 'include')
-rw-r--r--include/pemagine/pe_structs.h2
-rw-r--r--include/pemagine/pemagine.h4
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);