diff options
author | midipix <writeonce@midipix.org> | 2016-11-19 14:46:50 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-19 14:46:50 -0500 |
commit | 945985cb313ada34d002423fbedfdebebcd22edc (patch) | |
tree | 73c61539e02a74921607c1caef8e83ce74b4b26f /include | |
parent | de5b3010350adbf3c5b9ceb12ddc0a2658a0f5ac (diff) | |
download | pemagine-945985cb313ada34d002423fbedfdebebcd22edc.tar.bz2 pemagine-945985cb313ada34d002423fbedfdebebcd22edc.tar.xz |
PE format: struct pe_coff_file_hdr --> struct pe_raw_coff_file_hdr.
Diffstat (limited to 'include')
-rw-r--r-- | include/pemagine/pe_structs.h | 2 | ||||
-rw-r--r-- | include/pemagine/pemagine.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/pemagine/pe_structs.h b/include/pemagine/pe_structs.h index aa5fd69..9bc8aee 100644 --- a/include/pemagine/pe_structs.h +++ b/include/pemagine/pe_structs.h @@ -28,7 +28,7 @@ struct pe_raw_image_dos_hdr { }; -struct pe_coff_file_hdr { +struct pe_raw_coff_file_hdr { unsigned char signature [0x04]; /* 0x00 */ unsigned char machine [0x02]; /* 0x04 */ unsigned char num_of_sections [0x02]; /* 0x06 */ diff --git a/include/pemagine/pemagine.h b/include/pemagine/pemagine.h index db1023a..bc3e4dc 100644 --- a/include/pemagine/pemagine.h +++ b/include/pemagine/pemagine.h @@ -153,7 +153,7 @@ typedef int pe_enum_image_import_hdrs_callback( /* library functions */ pe_api struct pe_raw_image_dos_hdr * pe_get_image_dos_hdr_addr (const void * base); -pe_api struct pe_coff_file_hdr * pe_get_image_coff_hdr_addr (const void * base); +pe_api struct pe_raw_coff_file_hdr * pe_get_image_coff_hdr_addr (const void * base); pe_api union pe_opt_hdr * pe_get_image_opt_hdr_addr (const void * base); pe_api struct pe_data_dirs * pe_get_image_data_dirs_addr (const void * base); pe_api struct pe_sec_hdr * pe_get_image_section_tbl_addr (const void * base); |